gtm_tag_create
Create a Google Tag Manager tag by providing account, container, and workspace IDs along with the tag object specifying type and parameters.
Instructions
Tag Manager: create a tag in a workspace. Pass the raw GTM tag object (type + parameters).
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": {
"account_id": "<account_id>",
"container_id": "<container_id>",
"workspace_id": "<workspace_id>",
"tag": "<tag>"
},
"name": "gtm_tag_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | Yes | GTM Tag resource, e.g. {"name":"GA4 Config","type":"googtag","parameter":[{"type":"template","key":"tagId","value":"G-XXXX"}]} | |
| account_id | Yes | ||
| container_id | Yes | ||
| workspace_id | Yes |