gtm_type_reference
Look up exact GTM tag, trigger, and variable type codes and their interface names before creating resources, or identify codes seen in a container and search gallery templates by vendor.
Instructions
The catalogue of GTM TYPE CODES: tag types, trigger types and user-defined variable types, each with the exact string the API expects and the name it carries in the GTM interface. Call this to ANSWER a question about what types exist ("which tag types do you support?", "what triggers can you make?", "can you add Hotjar?"), and to look up the right code BEFORE calling tags_create, triggers_create or variables_create. Read-only, no API call, no container needed. Note that Google publishes an enum for TRIGGER types but not for tag or variable types, so those codes are recorded here rather than discoverable from the API. For built-in variables use built_in_variables_list, which carries the full published enum. For a specific gallery template that is already installed, templates_list returns its exact tagType, which is always more reliable than this list.
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_type_reference"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Narrow the answer to one kind. Defaults to "all". | |
| search | No | Look a Community Gallery template up by product or vendor name, e.g. "hotjar", "clarity", "klaviyo". Returns the template name and its GitHub OWNER, which is the half of an import that cannot be guessed. Use this to answer "can you add X?". | |
| identify | No | Name a tag type code seen in a container, e.g. "baut", "gclidw", "cvt_MRQN8". Use this when AUDITING a container to say what a tag actually is. Returns the human name, or says plainly that the code is unrecognised instead of guessing a vendor. |