Change a rule
update_automationChange a rule from the version you read: a new name, a whole definition, or edit operations addressed by card id. An edit the catalog refuses comes back with its reason. Changing the wording of an On rule moves it back to rehearsing. note is your one-line summary for the rule's history. When the rule is on and its conditions or steps change, it acts only with the human's agreement: called without confirm it returns confirmation_required and a summary of what it would do, and called with confirm: true it acts.
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>",
"expectedVersion": "<expectedVersion>"
},
"name": "update_automation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The rule's id. | |
| name | No | ||
| note | No | ||
| edits | No | ||
| confirm | No | ||
| definition | No | ||
| expectedVersion | Yes | The rule version your change starts from (get_automation's version). A stale one is refused with version_conflict and the current version. |