Gtm Template
gtm_templateManage custom templates in Google Tag Manager with create, read, update, delete, revert, and import from the Community Template Gallery.
Instructions
Manage GTM custom templates. Standard CRUD+revert plus:
import_from_gallery: parent= (or path="/templates"), confirm=true. Imports a Community Template Gallery template.
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": {
"action": "<action>"
},
"name": "gtm_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| action | Yes | ||
| config | No | ||
| params | No | ||
| parent | No | ||
| confirm | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||