gtm_update_trigger
Update an existing GTM trigger by ID using account, container, workspace, and trigger fields. Modify trigger configuration to change firing rules without recreating it.
Instructions
Update an existing GTM trigger by id.
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>",
"trigger": "<trigger>"
},
"name": "gtm_update_trigger"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trigger | Yes | ||
| account_id | Yes | ||
| trigger_id | Yes | ||
| container_id | Yes | ||
| workspace_id | Yes | ||
| connection_id | No | ||
| session_token | No |