variables_get
Retrieve a specific Google Tag Manager variable by account, container, workspace, and variable ID to inspect its configuration.
Instructions
Get a specific GTM variable.
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": {
"accountId": "<accountId>",
"containerId": "<containerId>",
"workspaceId": "<workspaceId>",
"variableId": "<variableId>"
},
"name": "variables_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accountId | Yes | ||
| variableId | Yes | ||
| containerId | Yes | ||
| workspaceId | Yes |