Turn a trigger on or off
trigger_updateTurn a trigger on (on true) or off (on false), by its id. Off, it starts nothing, and its starts still waiting are dropped (dropReason trigger_off); turning it on again does not bring them back. A schedule turned on starts from now: no due time while it was off starts anything. Turning it to what it is changes nothing and writes nothing. A trigger's when and its definition never change, and nothing deletes one. Only the workspace's owner or a member of the team that owns it turns one on or off (directWork): a guest of any role is refused GUEST_FORBIDDEN, and a retry changes nothing. A trigger you cannot read is UNAVAILABLE. Returns the trigger whole, as trigger_create does.
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>",
"on": "<on>"
},
"name": "trigger_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The trigger, by its id (trigger_create and trigger_list return it). | |
| on | Yes | true turns it on; false turns it off and drops its starts still waiting. Turning it to what it is changes nothing. | |
| why | No | Required for workspace items: one sentence on the goal this change serves, not a description of this edit. Every edit to workspace files, rows, folders and settings takes one (task operations need none); sessions and summaries record themselves from it. At most 300 characters. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trigger | Yes |