komrad

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>"
}'

Request#

UpdateScheduleRequest#

FieldTypeDescription
iduuid*

The schedule to update, by id.

namestring*

at most 200 characters

must not contain control characters

The schedule's name.

cronstring*

must be five whitespace-separated fields, such as '0 9 * * 1-5'

The schedule's cron expression.

timezonestring

at most 100 characters

The timezone to read the cron expression in. Empty uses the machine's timezone.

enabledbool

Whether the schedule is enabled.

promptstring*

at most 50000 characters

The prompt for later runs. Agents already launched keep theirs.

one of*

What later runs do.

workflow_iduuid

The workflow to create a task in, by id.

orchestrator_agent_iduuid

The orchestrator to mail the prompt to, by id.

Response#

Empty#

No fields.