transformations_delete
Deletes a GTM transformation from a workspace. Requires deletes enabled and confirm=true to prevent accidental removal.
Instructions
[DELETE] Delete a GTM transformation. 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>",
"transformationId": "<transformationId>",
"confirm": "<confirm>"
},
"name": "transformations_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. | |
| transformationId | Yes | The transformations ID to delete. |