Delete a tag, trigger or variable
delete_entityDelete a Google Tag Manager tag, trigger, or variable by API path. Provide the path exactly as returned in the resource's path field; success returns an empty response.
Instructions
Deletes a tag, trigger or variable by its API path. The response is empty on success. Requires the tagmanager.edit.containers scope.
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": {
"path": "<path>"
},
"name": "delete_entity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | API-relative resource path as returned in the resource's own "path" field, e.g. "accounts/1/containers/2/workspaces/3/variables/7". |