set_active_workspace
Dynamically switch the active workspace to another folder or repository at runtime, so subsequent commands, skills, and rules target the new project without restarting the server.
Instructions
Dynamically switches the active workspace to another folder/repository on the user's machine at runtime. All subsequent commands, skills, and rules will target this new workspace without restarting the server.
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": {
"workspace_path": "<workspace_path>"
},
"name": "set_active_workspace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace_path | Yes | Path to the target workspace folder (e.g. '/home/haider/Desktop/MyGithub/projectB'). |