Create Container
create_containerCreate a new container in a Google Tag Manager account by providing the numeric account ID and container configuration including name and usage context (web, android, ios, amp, server).
Instructions
Create a container in a Tag Manager account.
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": "<container>"
},
"name": "create_container"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| container | Yes | Container resource. Requires name and usageContext, e.g. {"name": "example.com", "usageContext": ["web"]}. usageContext is one of web, android, ios, amp or server. | |
| account_id | Yes | Numeric Tag Manager account ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||