gtm_tag
Manage Google Tag Manager tags by getting, listing, creating, updating, or deleting them within a specified account, container, and workspace.
Instructions
Performs tag operations: get, list, create, update, delete.
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": {
"action": "<action>",
"accountId": "<accountId>",
"containerId": "<containerId>",
"workspaceId": "<workspaceId>"
},
"name": "gtm_tag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tagId | No | The unique ID of the GTM Tag (required for get, update, delete). | |
| action | Yes | The tag operation to perform. | |
| config | No | Configuration for create/update actions. | |
| accountId | Yes | The unique ID of the GTM Account. | |
| containerId | Yes | The unique ID of the GTM Container. | |
| workspaceId | Yes | The unique ID of the GTM Workspace. |