gtm_create_trigger
Create a Google Tag Manager trigger by providing the full trigger resource as JSON, along with account, container, and workspace IDs to specify the target.
Instructions
Create a trigger from a full GTM Trigger resource (JSON string).
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>",
"trigger_json": "<trigger_json>"
},
"name": "gtm_create_trigger"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | Yes | ||
| container_id | Yes | ||
| trigger_json | Yes | ||
| workspace_id | Yes |