trigger_update
Modify an existing event trigger's probe settings, policy, action, or target; changes apply immediately and firing rules restart. Use it to retune live triggers without recreating them.
Instructions
Change an existing trigger: probe.params, probe.interval, probe.timeout, probe.access, probe.permissions, for, policy, action, target (kind, cwd), notify, name or intent. The change takes effect at once and the firing rules start over. To change the probe code or the mode, use trigger_draft with replace=true instead.
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>",
"changes": "<changes>"
},
"name": "trigger_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| changes | Yes | The fields to change, shaped like the definition, for example {"probe": {"params": {"threshold": 210}}}. null removes a field. | |
| trigger_id | Yes | The trigger id, as shown by trigger_list. |