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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"file_path": "<file_path>",
"category": "<category>"
},
"name": "homestead_add"
}
}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. |