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.
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. |