upload_and_index
Uploads a local file to the LightRAG server and triggers indexing, handling file transfer for remote servers.
Instructions
Upload a file to the LightRAG server's input directory and trigger indexing. Handles file transfer if the server is remote.
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>"
},
"name": "upload_and_index"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Local path to the file to upload and index |