containers_lookup
Find the Google Tag Manager container linked to a destination ID, such as a GA4 measurement ID or tag ID, to identify the correct container for audits or configuration checks.
Instructions
Look up a GTM container by its linked destination ID (e.g. a GA4 measurement ID or tag ID).
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": {
"destinationId": "<destinationId>"
},
"name": "containers_lookup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| destinationId | Yes | The destination/tag ID to look up (e.g. "G-XXXXXXX"). |