Upload Document
upload_documentUpload a document to Paperless-NGX with optional title, tags, correspondent, and custom fields. Returns a task UUID to track processing status via get_task.
Instructions
Upload a document. Returns the task UUID for polling via get_task.
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": {
"filename": "<filename>",
"content_base64": "<content_base64>"
},
"name": "upload_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | ||
| title | No | ||
| created | No | ||
| filename | Yes | ||
| correspondent | No | ||
| custom_fields | No | ||
| document_type | No | ||
| content_base64 | Yes | ||
| archive_serial_number | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes |