Tag Manager: Get Workspace Status
gtm_get_workspace_statusShow the unpublished changes in one Google Tag Manager container: for each workspace, which tags, triggers, variables and other entities were added, changed or deleted since the live version, and whether it has merge conflicts. Use it to tell whether a fix is live yet or sits unpublished, and whether someone left work half done. Reads workspaces.list plus one status per workspace (max_workspaces, default 3). Read-only.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "gtm_get_workspace_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| container | No | The container: its public id (GTM-XXXXXXX), its name, or its API path from gtm_list_containers. May be left out when the connected login reaches exactly one container. | |
| max_workspaces | No | Workspaces to read the status of, in the order Tag Manager lists them. Default 3, at most 10; each costs one API request. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| publicId | No | Public GTM-XXXXXXX id. | |
| workspaces | Yes | One entry per workspace read. | |
| containerName | Yes | Container name. | |
| containerPath | Yes | API path of the container. | |
| workspaceCount | Yes | Workspaces the container has. | |
| workspacesRead | Yes | Workspaces whose status was read. | |
| unpublishedChangeCount | Yes | Changes across the workspaces read. |