set_workspace
Define the active workspace directory by providing an absolute path. This tool configures which directory the MCP server uses for file operations and code execution, enabling targeted interaction with a specific project folder.
Instructions
Set the active workspace directory
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 | Absolute path to workspace directory |