knowledge_index_directory
Index or update a knowledge directory to enable semantic search across markdown, Python, and Jupyter notebook files. Specify the directory path and optionally control recursion and reindexing.
Instructions
Index or update knowledge directory for semantic search.
Supports: .md (markdown), .py (Python), .ipynb (Jupyter notebooks)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directory | Yes | Knowledge base name (from knowledges.yaml) or absolute path to knowledge directory | |
| recursive | No | Recursively index subdirectories (default: True) | |
| force_reindex | No | Force full reindex (default: False) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |