nexo_index_add_dir
Add a directory to persistent FTS5 search index. Specify path, type (code/md), and file patterns for automatic indexing.
Instructions
Register a new directory for FTS5 search indexing. Survives restarts.
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": {
"path": "<path>"
},
"name": "nexo_index_add_dir"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to directory (supports ~). | |
| notes | No | Description of what this directory contains. | |
| 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 |