gtm_update_tag
Update an existing Google Tag Manager tag by providing account, container, workspace, and tag IDs with the current fingerprint to safely modify its configuration and triggers.
Instructions
Updates an existing tag in GTM
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": {
"accountId": "<accountId>",
"containerId": "<containerId>",
"workspaceId": "<workspaceId>",
"tagId": "<tagId>",
"fingerprint": "<fingerprint>",
"tag": "<tag>"
},
"name": "gtm_update_tag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | Yes | ||
| tagId | Yes | GTM Tag ID | |
| accountId | Yes | GTM Account ID | |
| containerId | Yes | GTM Container ID | |
| fingerprint | Yes | Tag fingerprint for optimistic locking | |
| workspaceId | Yes | GTM Workspace ID |