Update Gtag Config
update_gtag_configUpdate a Google tag configuration by replacing the stored config with your edited full resource. Read current config first, apply changes, and send it back to avoid overwriting.
Instructions
Update a Google tag configuration.
The config you send replaces the stored one, so read it with get_gtag_config first and send the whole thing back with your edits applied.
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>",
"workspace_id": "<workspace_id>",
"gtag_config_id": "<gtag_config_id>",
"gtag_config": "<gtag_config>"
},
"name": "update_gtag_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | Yes | Numeric Tag Manager account ID. | |
| fingerprint | No | Fingerprint from a previous read. When given, the update fails if the config changed in the meantime. | |
| gtag_config | Yes | Complete GtagConfig resource. | |
| container_id | Yes | Numeric container ID. | |
| workspace_id | Yes | Numeric workspace ID. | |
| gtag_config_id | Yes | Numeric Google tag config ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||