List workspaces
gtm_list_workspacesList all workspaces in a Google Tag Manager container to inspect unpublished drafts before previewing or publishing changes.
Instructions
Workspaces of a container (unpublished drafts; free tier allows 3). Container as public id (GTM-XXXXXXX, or a linked G-/AW- destination id) or API path accounts//containers/.
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": {
"container": "<container>"
},
"name": "gtm_list_workspaces"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| container | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||