Update GTM Trigger
gtm_update_triggerUpdate an existing Google Tag Manager trigger by changing only specified fields; provide new filter arrays to replace current conditions.
Instructions
Update an existing trigger in a workspace. Only the provided fields are changed; provided filter arrays replace the existing ones wholesale.
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": {
"account_id": "<account_id>",
"container_id": "<container_id>",
"workspace_id": "<workspace_id>",
"trigger_id": "<trigger_id>"
},
"name": "gtm_update_trigger"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New name for the trigger | |
| filter | No | New general filter conditions (replaces existing) | |
| account_id | Yes | The GTM account ID | |
| trigger_id | Yes | The GTM trigger ID to update | |
| container_id | Yes | The GTM container ID | |
| workspace_id | Yes | The GTM workspace ID | |
| custom_event_filter | No | New custom event filter conditions (replaces existing) |