Create a workspace
create_workspaceCreate a new isolated workspace to edit tags, triggers, and variables before compiling into a version. Provide account_id, container_id, and name to receive the new 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). |