Switch Autopilot on or off
set_autopilotSwitches a channel's Autopilot on or off and sets its schedule: the weekdays, the hour and time zone it makes a video, and the credit floor below which it pauses itself. With Autopilot on, ClipFlux makes a video on each scheduled day and spends that video's credits (and posts it, if the channel posts somewhere). Before switching it ON, tell the user the channel, the days and time, what one video usually costs (quote_video) and that it runs until they switch it off, and switch it on only after their yes in their own message. Switching off or changing the schedule needs no extra yes.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"channelId": "<channelId>"
},
"name": "set_autopilot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| on | No | true switches it on (only after the user's yes), false switches it off. Leave out to change only the schedule. | |
| days | No | Weekdays it makes a video, for example ["Monday", "Thursday"]. | |
| hour | No | Hour of the day, 0 to 23, in the time zone. | |
| timezone | No | An IANA time zone, for example "Europe/Stockholm". | |
| channelId | Yes | From list_channels or create_channel. | |
| pauseBelowCredits | No | Pause before a run would leave fewer credits than this; null for no floor. |