Upload a document
upload_documentUpload a local file or public URL to DocuPipe, wait for OCR/parsing, and return the document_id used by other tools.
Instructions
Upload a local file or URL to DocuPipe and wait for it to be read (OCR and parsing). Returns the document_id used by every other tool. Credits: 1/page for PDF, image, Word and HTML; CSV, Excel, JSON, text and XML upload free.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "upload_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public URL of the file, instead of file_path. | |
| wait | No | Wait for parsing to finish (default true). | |
| dataset | No | Optional dataset name to group documents. | |
| metadata | No | Optional metadata stored with the document. | |
| file_path | No | Local file, relative to the working directory. |