Turn autopilot on or off
set_autopilotDestructive
Turns Xyla autopilot on or off for this shop. With autopilot on, Xyla makes and schedules posts by itself. mode include (the default) keeps posts already made and adds them to the schedule. mode fresh DELETES every post not yet scheduled, including posts the merchant made by hand, then builds a new schedule: call it first without confirm_delete_count to get the number of posts it deletes, tell the merchant, and only after they agree call again with confirm_delete_count set to that number. Turning autopilot off unschedules upcoming posts and deletes nothing.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| on | Yes | true turns autopilot on, false turns it off. | |
| mode | No | Only when turning on. include keeps existing posts; fresh deletes unscheduled posts first. | include |
| confirm_delete_count | No | Fresh mode only: the number of posts to delete, from the previous set_autopilot reply, after the merchant agreed. |