set_project_root
Set active project root for semantic code navigation. Register new path or switch to existing one without reindexing, unless force update is required.
Instructions
Register a new project root and switch to it. If the path is already registered, this becomes a cheap active-root switch (no reindex) unless force=true is set.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to the project root directory. | |
| force | No | Rebuild the index even if the project is already registered. |