GTM tag
gtm_get_tagFetch a Google Tag Manager workspace tag in full—type, parameters, triggers, paused status, and fingerprint—to prepare an update.
Instructions
One tag of a workspace in full (type, parameters, triggers, paused) with its fingerprint, which gtm_plan_tag_upsert needs to update it. Read only.
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": {
"tag_id": "<tag_id>",
"workspace_id": "<workspace_id>"
},
"name": "gtm_get_tag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag_id | Yes | Numeric tag id | |
| client_id | No | Client id from clients_list. Required when several clients are registered; empty uses the only client | |
| workspace_id | Yes | Numeric GTM workspace id (gtm_workspace_status lists them); never the Default Workspace for a change |