ingest_document
Add documents to a Locus dataspace for semantic search by providing a local file path or direct text input. Reads files locally to keep content out of context.
Instructions
Ingest a document into a Locus dataspace. Provide either file_path (preferred, reads file locally without loading content into context) or text.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Text content to ingest (use file_path instead when possible) | |
| space | Yes | Name of the dataspace | |
| filename | No | Filename label (defaults to basename of file_path if provided) | |
| file_path | No | Absolute path to a local file to ingest (preferred — avoids loading content into context) |