gtm_delete_tag
Delete a tag from a Google Tag Manager workspace by providing the tag, account, container, and workspace IDs, removing unwanted tags to keep tracking configurations accurate.
Instructions
Deletes a tag from a GTM workspace
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>"
},
"name": "gtm_delete_tag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tagId | Yes | GTM Tag ID to delete | |
| accountId | Yes | GTM Account ID | |
| containerId | Yes | GTM Container ID | |
| workspaceId | Yes | GTM Workspace ID |