Update GTM Tag
gtm_update_tagUpdate an existing Google Tag Manager tag by modifying its name, paused status, parameters, or firing/blocking triggers. Provide only the fields to change; arrays replace existing values.
Instructions
Update an existing tag in a workspace. Only the provided fields are changed; provided array fields (parameters, trigger IDs) replace the existing arrays 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>",
"tag_id": "<tag_id>"
},
"name": "gtm_update_tag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New name for the tag | |
| paused | No | Whether to pause the tag | |
| tag_id | Yes | The GTM tag ID to update | |
| account_id | Yes | The GTM account ID | |
| parameters | No | New parameters array (replaces all existing parameters) | |
| container_id | Yes | The GTM container ID | |
| workspace_id | Yes | The GTM workspace ID | |
| firing_trigger_ids | No | New firing trigger IDs (replaces existing) | |
| blocking_trigger_ids | No | New blocking trigger IDs (replaces existing) |