transformations_create
Create a GTM transformation: pass the full resource as JSON and set confirm=true to execute.
Instructions
[WRITE] Create a new GTM transformation. 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 transformations resource as a JSON string (e.g. {"name":"...","type":"..."}). | |
| confirm | Yes | Must be true to confirm this write operation. |