gtm_get
Retrieve the complete JSON definition of any Google Tag Manager entity (tag, trigger, variable, or version) by providing its path from a gtm_list result.
Instructions
Fetch one GTM entity's complete JSON by its path (tag, trigger, variable, version, ...).
Note: fetching a version returns the entire published container (large).
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": {
"path": "<path>"
},
"name": "gtm_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Full GTM entity path from a gtm_list result, e.g. 'accounts/123/containers/456/workspaces/7/tags/8' or 'accounts/123/containers/456/versions/42'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||