update_schedule
Replace a schedule's name, cron expression, timezone, prompt, workflow, and whether the agents it launches start hidden from the panel.
SchedulewritesidempotentMCP tool
Every field is written, so read the schedule first and send back the ones you are not changing. Agents already launched are untouched, including their own hidden flag.
Calling it#
curl -X POST http://127.0.0.1:8787/schedule.v1.ScheduleService/UpdateSchedule \
-H 'Content-Type: application/json' \
-d '{
"id": "<id>",
"name": "<name>",
"cron": "<cron>",
"prompt": "<prompt>",
"workflowId": "<workflowId>"
}'komrad rpc update-schedule \
--id <string> \
--name <string> \
--cron <string> \
--prompt <string> \
--workflow-id <string>{
"name": "update_schedule",
"arguments": {
"id": "<id>",
"name": "<name>",
"cron": "<cron>",
"prompt": "<prompt>",
"workflowId": "<workflowId>"
}
}Offered by the komrad MCP server to orchestrator agents.
Request#
UpdateScheduleRequest#
| Field | Type | Description |
|---|---|---|
id | string | Which schedule to rewrite. required |
name | string | Every field here is written, so send back the ones you are not changing. required, at most 200 characters |
cron | string | When it fires from now on. required |
timezone | string | Which clock that is read against. at most 100 characters |
enabled | bool | Whether it stays armed. |
prompt | string | The prompt later launches are given, leaving agents already launched alone. required, at most 50000 characters |
workflowId | string | Which workflow later launches go into. required |
hideAgents | bool | Whether later launches stay out of the sidebar, leaving existing agents alone. |
Response#
Empty#
No fields.