Lookup Container
lookup_containerFind a Google Tag Manager container by its public tag ID or linked destination ID.
Instructions
Find a container from its public GTM-XXXXXXX tag ID.
Use this when you have a tag ID from a website's source but no account ID. Pass exactly one of the two arguments.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "lookup_container"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag_id | No | Public tag ID, e.g. GTM-XXXXXXX. | |
| destination_id | No | Linked destination ID, e.g. AW-123456789 or G-ABC123. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||