gtm_create_workspace
Create a sandbox workspace for a batch of changes. If you need to abandon edits, delete the workspace to discard everything at once, avoiding manual cleanup.
Instructions
Create a workspace to hold a batch of changes.
Do this before any set of edits you might want to abandon. Deleting a workspace discards everything in it, which is far cleaner than unpicking edits made directly in the Default Workspace.
GTM allows a limited number of concurrent workspaces per container (3 on the free tier), so delete them once merged.
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": {
"name": "<name>"
},
"name": "gtm_create_workspace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| confirm | No | ||
| account_id | No | ||
| description | No | ||
| container_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |