nexo_index_add_dir
Register directories for full-text search indexing in NEXO Brain's cognitive memory system. Specify path, content type (code or markdown), and patterns to enable persistent search capabilities.
Instructions
Register a new directory for FTS5 search indexing. Survives restarts.
Args: path: Absolute path to directory (supports ~). dir_type: 'code' for source files, 'md' for markdown docs. patterns: Comma-separated glob patterns (only for code type). notes: Description of what this directory contains.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| dir_type | No | code | |
| patterns | No | *.php,*.js,*.json,*.py,*.ts,*.tsx | |
| notes | No |