list_schedules
Lists a coworker scheduled tasks in full:slug, name, body, cron or runAt, timezone, the connection and model of its own when it has one, enabled state and last run.
string
required
upsert_schedule
Creates a scheduled task, or updates it whenslug is given.
string
required
string
Omit to create. Pass an existing slug to update.
string
Required when creating. The slug is derived from it.
string
Required when creating. The instruction sent to the coworker when the task fires, written as if you were talking to it.
string
Standard 5-field cron, for example
0 9 * * 1 for every Monday at 9. Required when creating unless you pass runAt.string
ISO date for a one-off run. The task disables itself after it fires.
string
IANA timezone, for example
Europe/Paris. Without it, the cron is read in the timezone of your machine.string
boolean
string
Run this one on a given AI connection, by its id from
list_ai_connections. Goes with model.string | null
Run this one on a model of its own. Omit it and it runs whatever its coworker runs. Pass
null to go back to that.run_schedule_now
Fires a scheduled task immediately, without waiting for its cron.string
required
string
required
runId. Read the outcome with get_run.
delete_schedule
string
required
string
required
boolean
required
Must be
true.