Download document
download_documentSave a Paperless document's file to server disk and return the local path. Supports original or OCR'd archive version to avoid embedding large files in context.
Instructions
Save a document's file to disk on the machine running this MCP server and return the path. Files are written to PAPERLESS_DOWNLOAD_DIR (defaults to the system temp directory). The bytes are deliberately not returned inline — a PDF as base64 would consume the entire context.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| version | No | 'archive' is the OCR'd PDF/A Paperless generated; 'original' is the file as it was consumed. | archive |
| filename | No | Override the filename. Relative names are resolved inside the download directory. |