toggle_automation_rule
Flip an automation rule’s enabled flag to switch it on or off and return the updated rule; read the rule first if the current state matters.
Instructions
Toggle Automation Rule
Flips the enabled flag of a rule (enabled becomes disabled and the reverse) and returns the updated rule. There is no body and no way to set the state explicitly, so read the rule first if the current state matters. Requires the automations:manage permission.
PUT /api/v1/automations/rules/{id}/toggle
Tags: Automations
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": "toggle_automation_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Automation rule ID (path parameter) |