GTM: update trigger (staged, never published)
gtm_update_triggerUpdate a trigger IN the managed AdCopilot workspace by trigger id (staged, never published).
Only the fields passed change; the rest of the trigger is kept, and a
trigger edited by someone else in between is refused rather than
overwritten. Each `parameter` entry replaces the parameter with the same
key; a filter list replaces the trigger's list.
This overwrites the trigger's current settings in the AdCopilot
workspace, including one that is live on the site today. The live site
changes only when a person publishes that workspace in Tag Manager, which
AdCopilot cannot do.Tools revision: d80f65c0.
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": {
"container": "<container>",
"trigger_id": "<trigger_id>"
},
"name": "gtm_update_trigger"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| type | No | ||
| filter | No | ||
| container | Yes | ||
| parameter | No | ||
| event_name | No | ||
| trigger_id | Yes | ||
| auto_event_filter | No | ||
| custom_event_filter | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |