Change a workflow
update_workflowChanges a workflow that already exists: its steps, its name, or when it runs. Pass only what changes. Call get_workflow first when you are changing the steps, since the list you pass replaces the ones that are there. Its run history is kept.
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_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The workflow, by id or by its name. | |
| name | No | ||
| runAt | No | For a one-off: an ISO time. | |
| steps | No | The complete new list of steps, in order. | |
| context | No | ||
| timeOfDay | No | HH:MM in the project timezone. | |
| daysOfWeek | No | 0 is Sunday. |