gtm_create_entity
Creates a Google Tag Manager tag, trigger, or variable in a workspace after explicit user confirmation, so approved GTM changes are applied safely.
Instructions
Create a GTM tag, trigger, or variable in a workspace. Requires explicit user confirmation.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"workspace_path": "<workspace_path>",
"entity_type": "<entity_type>",
"entity": "<entity>",
"change_summary": "<change_summary>",
"user_confirmed": "<user_confirmed>"
},
"name": "gtm_create_entity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity | Yes | GTM API Tag, Trigger, or Variable body. | |
| entity_type | Yes | ||
| change_summary | Yes | Concise exact change the user approved in the current request. | |
| user_confirmed | Yes | Must be true only after explicit action-time user confirmation. | |
| workspace_path | Yes |