homestead_add
Import PDF or text documents into an offline library. Uploads, chunks, and indexes files so they become searchable.
Instructions
Import a document into the Homestead Library. Reads the file from disk, uploads it, waits for the library to chunk and index it, and reports the result. PDFs and text both work. The document becomes searchable via homestead_search.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Optional display title; defaults to one derived from the filename. | |
| category | Yes | Category slug to file it under -- see homestead_categories. | |
| file_path | Yes | Absolute path to the file to import. |