index_directory
Recursively index all code files in a directory to enable search, returning a job ID for progress tracking. Use force=true to re-index even when the directory is unchanged.
Instructions
Index all code files in a directory (recursive). Returns immediately with a job_id; poll get_index_job to track progress. Set force=true to re-index even if the directory is already indexed and unchanged (otherwise the call no-ops to the prior job).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | ||
| pattern | No | **/* | |
| directory | Yes |