workspace_create
Create a remote HTTP/OAuth workspace alias by creating a local folder or git repo under an allowed root. Requires admin and OAuth workspace:admin scope for secure remote provider access.
Instructions
Create a remote HTTP/OAuth workspace alias by creating a new local folder or git repo under a configured allowed root. Not for stdio/local provider path access. Requires LLM_GATEWAY_WORKSPACE_ADMIN=1 and OAuth scope workspace:admin.
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": {
"alias": "<alias>",
"root": "<root>",
"slug": "<slug>"
},
"name": "workspace_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | git | |
| root | Yes | Allowed-root alias from workspace_list. | |
| slug | Yes | Safe relative path under the allowed root. | |
| alias | Yes | Registered workspace alias for remote HTTP/OAuth provider calls. Stdio/local callers should not use workspace_* tools to fix provider path access; pass local workingDir/addDir/includeDirs directly. | |
| setDefault | No |