index_folder
Index or re-index documents in a folder for semantic search, processing only changed files and storing embeddings in a local vector database.
Instructions
Index or re-index all documents in a folder for semantic search.
Scans the folder for supported document types (.txt, .md, .pdf, .docx, .pptx, .csv), extracts text, splits into chunks, computes embeddings, and stores them in a local vector database. Only processes files that have changed since the last indexing run. Safe to call multiple times — unchanged files are skipped automatically.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| recursive | No | Whether to index subdirectories recursively | |
| file_types | No | File extensions to index, e.g. ['.pdf', '.md']. Defaults to all supported types: .txt, .md, .pdf, .docx, .pptx, .csv | |
| folder_path | Yes | Absolute path to the folder to index |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||