upload-file
Upload a file to a text namespace for processing and indexing. The file is queued after direct upload to storage.
Instructions
Upload a file to a text namespace using pre-signed URL flow. The tool requests an upload URL, uploads the file directly to storage, then the file is queued for processing and indexing.
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": {
"namespace_name": "<namespace_name>",
"file_path": "<file_path>"
},
"name": "upload-file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| namespace_name | Yes | Name of the text namespace to upload the file to | |
| file_path | Yes | Absolute path to the file to upload. Must be one of: .pdf, .docx, .xlsx, .json, .txt, .csv, .md |