Update Container
update_containerUpdate a Google Tag Manager container's settings by providing new field values such as name or notes. Include a fingerprint to prevent overwriting concurrent changes.
Instructions
Update a container's settings.
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>",
"container": "<container>"
},
"name": "update_container"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| container | Yes | Container resource with the fields to change, e.g. {"name": "example.com (web)", "notes": "Owned by marketing"}. | |
| account_id | Yes | Numeric Tag Manager account ID. | |
| fingerprint | No | Fingerprint from a previous read. When given, the update fails if the container changed in the meantime. | |
| container_id | Yes | Numeric container ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||