Change a schedule
update_scheduleChange a schedule; only the fields you pass change. Pause with enabled false, resume with enabled true (a recurring schedule resumes from its next time after now; a one-off needs its run_at still in the future, or pass a new run_at). Passing run_at makes it a one-off and passing cron makes it recurring, so pass at most one of them. spec replaces the whole launch: send every field again, env values included (they are write-only), and keep max_runtime_minutes set. Recurring runs must be at least 15 minutes apart. Changing spec or timing (run_at, cron, timezone), or overlap, or resuming, makes the schedule run as you through this sign-in from then on; pausing or renaming does not.
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": {
"id": "<id>"
},
"name": "update_schedule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Schedule ID | |
| cron | No | New 5-field cron (makes the schedule recurring) | |
| name | No | New schedule name, 1 to 63 characters | |
| spec | No | Replaces the whole launch; resend env values. The launch, with the API field names. kind job: command, gpu_type and max_runtime_minutes are required. kind instance: name and max_runtime_minutes are required, plus gpu_type or instance_type_id. | |
| run_at | No | New one-off time, ISO 8601 with an offset (makes the schedule a one-off) | |
| enabled | No | false pauses, true resumes | |
| overlap | No | Recurring only: skip or allow a run while the previous run is still live | |
| timezone | No | IANA timezone for cron, e.g. Europe/London | |
| workspace | No | Workspace ID (optional: defaults to the authenticated workspace) | |
| environment | No | Environment name (optional: defaults to the environment this session acts in) |