templates_update
Update a GTM template by supplying its complete resource as a JSON string. Confirmation and write flag required.
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. |