upload_document
Upload a local PDF or image to Paperless-ngx for OCR and asynchronous processing. Provide file path, optional metadata, and get a task ID.
Instructions
Upload a file to Paperless.
file_path Local path to PDF/image on this machine created Document date YYYY-MM-DD Returns task ID — processing and OCR run asynchronously in the background.
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_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | ||
| title | No | ||
| created | No | ||
| file_path | Yes | ||
| correspondent | No | ||
| document_type | No | ||
| create_missing | No |