upload_file
Upload a file from disk to the LightRAG knowledge graph for indexing. Verifies existence and supported extension, then returns a track ID for status polling.
Instructions
Upload and index a single file already present on disk. Checks the file exists and its extension is supported before uploading -- call get_supported_file_types first if unsure. Returns a track_id; poll with get_track_status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to the file, as seen INSIDE the Hermes container -- NOT the Windows host path. E.g. a file at D:\Harness\workspace\a.pdf on the host is /opt/data/workspace/a.pdf here. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||