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.
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). |