f_set_workspace
Change the current workspace path at runtime to update search directory and cache, with optional full reindex for multi-project workflows.
Instructions
Changes the current workspace path at runtime. This updates the search directory and cache, and optionally triggers a full reindex. Useful for multi-project workflows.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspacePath | Yes | Absolute path to the new workspace directory | |
| reindex | No | Whether to trigger a full reindex after switching (default: true) |