update_automation
Modify an existing automation rule's name, trigger event, conditions, or actions. Re-enable a rule that was auto-disabled after repeated failures by setting active to true.
Instructions
Update an automation rule (admin only). Only supplied fields change; setting active true re-enables a rule that was auto-disabled after repeated failures. Hosted API only.
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": {
"automation_id": "<automation_id>"
},
"name": "update_automation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New rule name | |
| event | No | New trigger event | |
| active | No | Enable or disable the rule | |
| actions | No | Replacement actions (full replacement, not a merge) | |
| conditions | No | Replacement conditions (full replacement, not a merge) | |
| automation_id | Yes | Automation rule ID to update |