Create Workspace
create_workspaceCreate a workspace that hosts pods, storage, tasks, and servings. Preview name validation with confirm=false, then set confirm=true to provision it; poll status until running.
Instructions
Create a workspace, the place pods, storage, tasks and servings live in. An empty workspace costs nothing;
what runs in it is billed as usual. name is optional (at most 63 characters) and must differ from the names of
all the user's workspaces; omit it to get a generated name like my-workspace-ab12.
With confirm=false (default) it only checks the name and creates nothing; call again with confirm=true after the
user agreed. The workspace is set up in the background and its status stays creating until it is running:
poll the workspaces tool, and create nothing in it before then.
Every write requires operation_id. Reuse the ID returned by the preview, or generate a UUID before the first call. Keep it for confirmation and all retries; a new ID means a new operation. After a timeout, check operation_status and resource state before retrying.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_workspace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| confirm | No | ||
| operation_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||