Schedule a workflow
set_scheduleRun a deployed workflow on a schedule (pass workflow_id), or change a schedule (pass schedule_id). Deploy the workflow first with deploy_workflow. A new repeating schedule starts off, runs once straight away as a test, and switches on by itself when the test succeeds. Scheduled runs cost money, so call it first without approved to get the times and the cost per run, tell the person, and call again with approved: true only after they say yes. No cron: use recurrence.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "set_schedule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| approved | No | true only after the person has agreed to the schedule and its cost. | |
| timezone | No | IANA name, e.g. Europe/London. Default: the account's timezone. | |
| recurrence | No | unit day: interval, time_of_day. week: interval, time_of_day, weekdays. month: interval, time_of_day, day_of_month (1-31 or "last"). hour or minute (at least 5): interval, time_of_day (the start). once: run_at. | |
| schedule_id | No | The schedule to change (from list_schedules). | |
| workflow_id | No | The deployed workflow to schedule (for a new schedule). | |
| input_values | No | Start input values for every scheduled run, keyed by input name. |