Delete Tag
delete_tagRemove a tag from a Google Tag Manager workspace without affecting the live production version. Use to clean up or reorganize tags before publishing a new container version.
Instructions
Delete a tag from a workspace.
This affects the workspace only. The tag keeps running in production until a version without it is published.
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": "delete_tag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag_id | Yes | Numeric tag ID. | |
| account_id | Yes | Numeric Tag Manager account ID. | |
| container_id | Yes | Numeric container ID. | |
| workspace_id | Yes | Numeric workspace ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||