remove_workspace_folder
Stop indexing a directory by removing it from the LSP workspace, reducing resource usage and improving focus on active code.
Instructions
Remove a directory from the LSP workspace. The language server will stop indexing that folder.
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": "remove_workspace_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |