update_routine
Modify an existing scheduled routine by changing only the fields you provide, such as schedule, prompt, model, or enabled state.
Instructions
Change a routine; only the fields given change.
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_routine"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The routine's id, such as weekly-report. | |
| name | No | A title for people; the id when left out. | |
| model | No | A model the harness's CLI lists; null for its default. | |
| skill | No | A project skill in .claude/skills/<skill>/SKILL.md; writes the usual prompt that runs it. | |
| effort | No | Reasoning effort, such as low, medium or high; null for the model's default. | |
| prompt | No | What the agent is asked each run, or the command for shell. | |
| enabled | No | Whether it runs on its schedule. New routines are on unless this is false. | |
| harness | No | Where it runs: claude (Claude Code), codex, grok (Grok Build), antigravity (agy) or shell (a zsh command). | |
| repeats | No | False for one time (scheduledAt required); true for cron repetition. | |
| runLimit | No | End repetition after this many scheduled attempts in total; null is unlimited. Manual runs and skipped slots do not count. Changing scheduling fields resets the count. | |
| schedule | No | Five-field cron in the Mac's local time, such as "0 9 * * 1-5" for weekdays at 9:00. | |
| scheduledAt | No | ISO 8601 date and time with Z or an offset. Without schedule, runs once. With a repeating schedule, this is its earliest start; null clears that bound. | |
| timeLimitMinutes | No | Stop a run after this many minutes; null (the default) lets it take as long as it needs. | |
| workingDirectory | No | The project folder the routine runs in, an absolute path. |