gtm_create_container
Create a Google Tag Manager web container in an existing account, returning the new GTM-XXXX ID. Prevents duplicate names and defaults to a dry run; confirmation is required before executing changes.
Instructions
⚠️ MUTATING — Create a web container in an existing GTM account. Returns the GTM-XXXX id. Refuses on duplicate name. Does NOT publish anything. Dry-run by default.
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": {
"gtm_account_id": "<gtm_account_id>",
"container_name": "<container_name>"
},
"name": "gtm_create_container"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirmed | No | Must be true to execute. Defaults to false (dry run). | |
| container_name | Yes | ||
| gtm_account_id | Yes | GTM account id (from gtm_list_containers). |