gtag_config_create
Create a Google Tag Manager gtag configuration using a JSON resource. Requires write flag and confirmation for safe execution.
Instructions
[WRITE] Create a new 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 |
|---|---|---|---|
| confirm | Yes | Must be true to confirm this write operation. | |
| bodyJson | Yes | Full gtag configs 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. |