set_workspace
Set the workspace folder for session files, ensuring scratch files, bridge data, and call logs are stored in a specified writable directory.
Instructions
Set the workspace folder this session's files go under (scratch files, the bridge, call logs). path must name an existing, writable folder, absolute or starting with ~/, other than the filesystem root or the home directory itself. Returns the new workspace_info.
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": {
"path": "<path>"
},
"name": "set_workspace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The folder: an absolute path, or one starting with ~/. |