workspaces_create
Create a new Google Tag Manager workspace under a specified account and container; requires confirmation and write access enabled.
Instructions
[WRITE] Create a new workspace. Requires GTM_MCP_ENABLE_WRITES=true.
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": {
"accountId": "<accountId>",
"containerId": "<containerId>",
"name": "<name>",
"confirm": "<confirm>"
},
"name": "workspaces_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Workspace name. | |
| confirm | Yes | Must be true to confirm this write operation. | |
| accountId | Yes | The GTM account ID. | |
| containerId | Yes | The GTM container ID. | |
| description | No | Workspace description. |