Get a container
get_containerRetrieve a Google Tag Manager container by supplying account and container IDs to access its public GTM-XXXXXX snippet ID, usage context, and fingerprint.
Instructions
Gets one container by account id + container id. Returns the Container resource including publicId (the GTM-XXXXXX snippet id), usageContext and fingerprint.
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": {
"account_id": "<account_id>",
"container_id": "<container_id>"
},
"name": "get_container"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | Yes | GTM account id (string). | |
| container_id | Yes | Container id (string), e.g. from list_containers. |