setActiveWorkspaceFolder
Sets the active workspace folder for file operations. Use to switch focus in multi-root workspaces.
Instructions
Set active workspace folder for file ops. Useful in multi-root workspaces.
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": "setActiveWorkspaceFolder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to the workspace folder to activate |