Get trigger
gtm_get_triggerRetrieve a Google Tag Manager trigger's full configuration, including filter conditions and fingerprint, using its container and trigger ID; optionally specify a workspace.
Instructions
Full trigger with all filter conditions and fingerprint. Container as public id (GTM-XXXXXXX, or a linked G-/AW- destination id) or API path accounts//containers/. Workspace id (numeric). Omit to use the 'Default Workspace' (looked up once and cached).
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": {
"container": "<container>",
"trigger_id": "<trigger_id>"
},
"name": "gtm_get_trigger"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| container | Yes | ||
| trigger_id | Yes | ||
| workspace_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||