nexo_index_add_dir
Add a directory to the FTS5 search index with configurable file patterns and type, persisting across server restarts.
Instructions
Register a new directory for FTS5 search indexing. Survives restarts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to directory (supports ~). | |
| dir_type | No | 'code' for source files, 'md' for markdown docs. | code |
| patterns | No | Comma-separated glob patterns (only for code type). | *.php,*.js,*.json,*.py,*.ts,*.tsx |
| notes | No | Description of what this directory contains. |