Create schedule version
create_schedule_versionSchedule versioning — add a new version to an EXISTING schedule (by schedule_id) to change its cron, timezone, workflow, or input. Author the new version's definition against the schema from get_schedule_definition_schema. Pass publish=true to activate this version immediately. (For a brand-new schedule, use create_schedule.)
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": {
"schedule_id": "<schedule_id>",
"definition": "<definition>"
},
"name": "create_schedule_version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| publish | No | If true, immediately publish the version this call creates (the common create-then-publish in one step). Defaults to false; omit to leave the version as an unpublished draft. | |
| definition | Yes | The schedule definition, as a JSON object. Fetch the exact JSON Schema it must satisfy with get_schedule_definition_schema and author against it (or copy an existing one with the get_*_version tool). The owning service validates it on submit. | |
| schedule_id | Yes | The schedule id to add a version to. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | ||
| version | Yes | ||
| published | Yes | ||
| schedule_id | Yes |