gtag_config_update
Update an existing GTM gtag config. Provide the full resource as JSON and confirm the write to apply changes.
Instructions
[WRITE] Update an existing GTM gtag config. Requires GTM_MCP_ENABLE_WRITES=true and confirm=true. Pass the full resource as a JSON string in bodyJson.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accountId | Yes | The GTM account ID. | |
| containerId | Yes | The GTM container ID. | |
| workspaceId | Yes | The GTM workspace ID. | |
| gtagConfigId | Yes | The gtag configs ID to update. | |
| bodyJson | Yes | Full gtag configs resource as a JSON string. | |
| fingerprint | No | Current fingerprint (for optimistic locking). | |
| confirm | Yes | Must be true to confirm this write operation. |