carrel_index
Build or refresh a full-text file index under a chosen root, with optional OCR, pruning, and targeted path updates. Returns indexed, skipped, and pruned counts.
Instructions
Build or refresh the desk full-text index under root (default: the whole root). Returns indexed/skipped/pruned counts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ocr | No | OCR images and scanned PDFs (needs tesseract / ocrmypdf). | |
| root | No | Desk root (default: server --root / cwd). | |
| paths | No | Files or directories to index (default: root). | |
| prune | No | Drop index rows whose files are gone. | |
| update | No | Treat paths as individual files; no walking. |