Update tag (🟡 write)
gtm_update_tagUpdate selected fields of an existing Google Tag Manager tag—rename, pause/unpause, swap triggers, or set parameters—with fingerprint-safe edits and a dry-run before/after diff.
Instructions
Change selected fields of an existing tag (pause/unpause, rename, swap triggers, set parameters). parameters
merges by key — pass null for a key to remove it. The tag is read first and updated with its fingerprint (safe
against concurrent edits). dry_run=true (default) shows a before/after diff only.
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>",
"tag_id": "<tag_id>"
},
"name": "gtm_update_tag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| notes | No | ||
| paused | No | ||
| tag_id | Yes | ||
| dry_run | No | ||
| container | Yes | ||
| parameters | No | ||
| workspace_id | No | ||
| firing_trigger_ids | No | ||
| blocking_trigger_ids | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||