gtm_delete
Deletes a tag, trigger, or variable from a Google Tag Manager workspace; changes are not live until published, so confirm with the user first.
Instructions
Delete a tag, trigger or variable from a workspace (not live until published). Confirm with the user first.
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": {
"workspace": "<workspace>",
"entity": "<entity>",
"id": "<id>"
},
"name": "gtm_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| entity | Yes | ||
| workspace | Yes | Workspace path (accounts/…/containers/…/workspaces/…), or a container public ID like GTM-XXXX (uses its Default Workspace) |