set_workspace_root
Set or re-index the active project workspace root to enable AST-aware code navigation, symbol renaming, and dependency analysis.
Instructions
Sets or re-indexes the active project workspace root 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": {
"workspaceRoot": "<workspaceRoot>"
},
"name": "set_workspace_root"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspaceRoot | Yes | Absolute path to workspace root. |