Create a workspace
create_workspaceCreate an isolated workspace in a Google Tag Manager container to edit tags, triggers, and variables before compiling into a version. Returns the assigned workspace ID.
Instructions
Creates a new workspace in a container — an isolated draft where tags, triggers and variables are edited before being compiled into a version. Returns the created Workspace with its server-assigned workspaceId. Requires the tagmanager.edit.containers scope.
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": {
"account_id": "<account_id>",
"container_id": "<container_id>",
"name": "<name>"
},
"name": "create_workspace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Display name of the new workspace. | |
| account_id | Yes | GTM account id (string). | |
| description | No | Optional description of what this workspace changes. | |
| container_id | Yes | Container id (string). |