List GTM Workspaces
gtm_list_workspacesList all Google Tag Manager workspaces in a container, returning their IDs, names, and descriptions. Specify account and container IDs to retrieve workspace details.
Instructions
List all workspaces in a container, with their IDs, names, and descriptions.
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_id": "<account_id>",
"container_id": "<container_id>"
},
"name": "gtm_list_workspaces"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | Yes | The GTM account ID | |
| page_token | No | Continuation token from a previous call to fetch the next page of results | |
| container_id | Yes | The GTM container ID |