upload_document
Upload a document to a store for question answering with cited sources. Supports PDF, DOCX, TXT, HTML, CSV, and more.
Instructions
Upload a document to a store. Supports PDF, DOCX, TXT, HTML, CSV, and more. Waits for processing to complete before returning.
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": {
"store_name": "<store_name>",
"file_path": "<file_path>"
},
"name": "upload_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Absolute path to the file on disk | |
| store_name | Yes | Store resource name (from create_store) | |
| display_name | No | Display name for the document (defaults to filename) |