gtag_config_delete
Deletes a GTM gtag config from a workspace, requiring the delete flag enabled and an explicit confirm to prevent accidental removal.
Instructions
[DELETE] Delete a GTM gtag config. Requires GTM_MCP_ENABLE_DELETES=true and confirm=true.
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>",
"gtagConfigId": "<gtagConfigId>",
"confirm": "<confirm>"
},
"name": "gtag_config_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Must be true to confirm this delete operation. | |
| accountId | Yes | The GTM account ID. | |
| containerId | Yes | The GTM container ID. | |
| workspaceId | Yes | The GTM workspace ID. | |
| gtagConfigId | Yes | The gtag configs ID to delete. |