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

Request#

UpdateScheduleRequest#

FieldTypeDescription
idstring

Which schedule to rewrite.

required

namestring

Every field here is written, so send back the ones you are not changing.

required, at most 200 characters

cronstring

When it fires from now on.

required

timezonestring

Which clock that is read against.

at most 100 characters

enabledbool

Whether it stays armed.

promptstring

The prompt later launches are given, leaving agents already launched alone.

required, at most 50000 characters

workflowIdstring

Which workflow later launches go into.

required

hideAgentsbool

Whether later launches stay out of the sidebar, leaving existing agents alone.

Response#

Empty#

No fields.