Delete GTM Tag
gtm_delete_tagDelete a specified Google Tag Manager tag from a workspace by providing account, container, workspace, and tag IDs. Use this to remove unwanted tags and keep your container organized.
Instructions
Delete a tag from a 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": {
"account_id": "<account_id>",
"container_id": "<container_id>",
"workspace_id": "<workspace_id>",
"tag_id": "<tag_id>"
},
"name": "gtm_delete_tag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag_id | Yes | The GTM tag ID to delete | |
| account_id | Yes | The GTM account ID | |
| container_id | Yes | The GTM container ID | |
| workspace_id | Yes | The GTM workspace ID |