gtm_get_tag
Fetch one Google Tag Manager tag by ID from a workspace draft to review or verify its settings.
Instructions
Get one tag by ID from a workspace draft.
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": "<account>",
"container": "<container>",
"tagId": "<tagId>"
},
"name": "gtm_get_tag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tagId | Yes | ||
| account | Yes | Name or ID of the GTM account (e.g. 'My Company' or '1234567'). | |
| container | Yes | Name, GTM container ID (publicId, e.g. GTM-XXXX), or internal container ID. | |
| workspace | No | Workspace name or ID. Omit only for reads to use Default Workspace. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No |