update_schedule
Replace every field of a schedule.
writesidempotentMCP toolSchedule
Fields left empty are written empty.
Calling it#
curl -X POST http://127.0.0.1:8787/komrad.schedule.v1.ScheduleService/UpdateSchedule \
-H 'Content-Type: application/json' \
-d '{
"id": "<id>",
"name": "<name>",
"cron": "<cron>",
"prompt": "<prompt>",
"workflow_id": "<workflow_id>"
}'komrad rpc update-schedule \
--id '<uuid>' \
--name '<string>' \
--cron '<string>' \
--prompt '<string>' \
--workflow-id '<uuid>'{
"name": "update_schedule",
"arguments": {
"id": "<id>",
"name": "<name>",
"cron": "<cron>",
"prompt": "<prompt>",
"workflow_id": "<workflow_id>"
}
}Offered by the komrad MCP server to orchestrator agents.
Request#
UpdateScheduleRequest#
| Field | Type | Description |
|---|---|---|
id | uuid* | The schedule to update, by id. |
name | string* at most 200 characters must not contain control characters | The schedule's name. |
cron | string* must be five whitespace-separated fields, such as '0 9 * * 1-5' | The schedule's cron expression. |
timezone | string at most 100 characters | The timezone to read the cron expression in. Empty uses the machine's timezone. |
enabled | bool | Whether the schedule is enabled. |
prompt | string* at most 50000 characters | The prompt for later runs. Agents already launched keep theirs. |
| one of* | What later runs do. | |
workflow_id | uuid | The workflow to create a task in, by id. |
orchestrator_agent_id | uuid | The orchestrator to mail the prompt to, by id. |
Response#
Empty#
No fields.