templates_update
Update an existing Google Tag Manager template by providing the full resource as JSON. Requires confirmed write permission.
Instructions
[WRITE] Update an existing GTM template. 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 |
|---|---|---|---|
| confirm | Yes | Must be true to confirm this write operation. | |
| bodyJson | Yes | Full templates resource as a JSON string. | |
| accountId | Yes | The GTM account ID. | |
| templateId | Yes | The templates ID to update. | |
| containerId | Yes | The GTM container ID. | |
| fingerprint | No | Current fingerprint (for optimistic locking). | |
| workspaceId | Yes | The GTM workspace ID. |