This command can be used only in Flight Plans.
Remember: Python code is executed on the Tower server, not on the remote one.