gtm_workspace
List, create, or check Google Tag Manager workspaces to isolate change sets and review pending changes before publishing.
Instructions
List, create or check workspaces. Create a dedicated workspace for each change set (e.g. 'Claude – GA4 ecommerce') so it can be reviewed and published separately. 'status' lists pending changes.
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>",
"action": "<action>"
},
"name": "gtm_workspace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| action | Yes | ||
| container | Yes | GTM-XXXX or container path (for list/create) or workspace path (for status) | |
| description | No |