gtm_list_workspaces
Retrieve a complete list of Google Tag Manager workspaces for any container, simplifying management and enabling precise selection.
Instructions
Lists all workspaces in a GTM container
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>"
},
"name": "gtm_list_workspaces"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accountId | Yes | GTM Account ID | |
| pageToken | No | ||
| containerId | Yes | GTM Container ID |