templates_create
Create a new GTM template by passing the full template resource as a JSON string. Requires confirmation and write access to proceed.
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 |
|---|---|---|---|
| confirm | Yes | Must be true to confirm this write operation. | |
| bodyJson | Yes | Full templates resource as a JSON string (e.g. {"name":"...","type":"..."}). | |
| accountId | Yes | The GTM account ID. | |
| containerId | Yes | The GTM container ID. | |
| workspaceId | Yes | The GTM workspace ID. |