gtm_list_workspaces
Retrieve all workspaces in a Google Tag Manager container by specifying the account and container IDs to review drafts and published versions.
Instructions
List 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": {
"account_id": "<account_id>",
"container_id": "<container_id>"
},
"name": "gtm_list_workspaces"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | Yes | ||
| container_id | Yes | ||
| connection_id | No | ||
| session_token | No |