Create workspace
create_workspaceSet up an isolated temporary directory for testing, optionally pre-populating files, and receive a workspace ID to reference it in subsequent tool calls.
Instructions
Creates an isolated temporary directory and returns its id. Optionally seeds it with files. Every other tool addresses a workspace by this id; paths are always relative to it. Call destroy_workspace when finished.
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 |
|---|---|---|---|
| files | No | Map of workspace-relative path to file contents, e.g. {"src/index.js": "..."} |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspaceId | Yes | ||
| filesWritten | Yes |