Search the Tag Manager Template Gallery
gtm_template_lookupSearch Tag Manager's own Community Template Gallery (live, the same list as Tag Manager's Search Gallery) for a ready-made template BEFORE writing Custom HTML. Give query (a product name such as 'meta pixel' or 'clarity') or paste a snippet and it finds templates for the vendors in it. Also shows which templates are already imported in the container's Caybl workspace. Prefer the official template, usually owned by the vendor. Then: gtm_import_template, then gtm_upsert_tag kind=template. If nothing matches, propose Custom HTML.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "gtm_template_lookup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | What to add, e.g. 'meta pixel', 'clarity', 'hotjar'. | |
| snippet | No | A pasted code snippet: finds gallery templates for the vendors it loads from. | |
| container | No | Container public id like 'GTM-ABC123', from gtm_list_containers. | |
| workspace | No | Name of an existing workspace to draft into instead of "Caybl changes" (created automatically). |