templates_create
Create a new Google Tag Manager template by providing the full template resource as a JSON string. Requires write permission enabled and confirmation flag set to true.
Instructions
[WRITE] Create a new 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 |
|---|---|---|---|
| accountId | Yes | The GTM account ID. | |
| containerId | Yes | The GTM container ID. | |
| workspaceId | Yes | The GTM workspace ID. | |
| bodyJson | Yes | Full templates resource as a JSON string (e.g. {"name":"...","type":"..."}). | |
| confirm | Yes | Must be true to confirm this write operation. |