Create GTM Workspace
gtm_create_workspaceCreate a new workspace in a Google Tag Manager container by providing an account ID, container ID, and a name. Use this tool to set up a distinct environment for managing tags, triggers, and variables before publishing changes.
Instructions
Create a new workspace in a container.
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": "gtm_create_workspace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name for the new workspace | |
| account_id | Yes | The GTM account ID | |
| description | No | Optional description for the workspace | |
| container_id | Yes | The GTM container ID |