update_trigger
Modify an existing automation trigger in place by replacing its sources, filters, condition, emit settings, cooldown, or project without creating a new trigger.
Instructions
Edit an EXISTING trigger in place: replace its sources, filters, key_field, condition,
emit and cooldown, and move it to another project when given. Create new triggers with
create_trigger(); this only updates one that already exists (renaming isn't supported, so
keep name the same). description left out keeps the current one, "" clears it. See
create_trigger for the shapes.
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": {
"name": "<name>",
"sources": "<sources>",
"condition": "<condition>"
},
"name": "update_trigger"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| emit | No | ||
| name | Yes | ||
| filters | No | ||
| project | No | ||
| sources | Yes | ||
| cooldown | No | 5m | |
| condition | Yes | ||
| key_field | No | ||
| description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |