toggle_trigger
Enable or disable a trigger without deleting its configuration; omit enabled to toggle the current state, then verify the returned is_active value after concurrent calls.
Instructions
Enable or disable a trigger without deleting its configuration. Set enabled for the desired state; omitting it toggles the current state. Concurrent calls can race, so verify the returned is_active value.
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": {
"trigger_id": "<trigger_id>",
"enabled": "<enabled>"
},
"name": "toggle_trigger"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | Yes | true enables the trigger; false disables it | |
| trigger_id | Yes | Trigger UUID |