Gtm Container
gtm_containerCreate, list, update, or remove Google Tag Manager containers, and perform advanced actions like combining containers, moving tags, looking up by destination ID, or retrieving the install snippet.
Instructions
Manage GTM containers.
Standard CRUD (list/create: parent='accounts/{a}'; get/update/remove: path='accounts/{a}/containers/{c}') plus:
combine: path=, params={containerId,...}, confirm=true. (destructive)
lookup: params={destinationId} -> find container by destination. (read-only; no parent/path needed)
move_tag_id: path=, params={...}, confirm=true. (destructive)
snippet: path= -> GTM install snippet. (read-only)
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": {
"action": "<action>"
},
"name": "gtm_container"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| action | Yes | ||
| config | No | ||
| params | No | ||
| parent | No | ||
| confirm | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||