scan_document
Scan a document with configurable source, resolution, color, and format. Returns inline images for reading or OCR text, and saves as PDF or image files.
Instructions
Scan a document and return it so Claude can read it.
Args:
scanner_id: Which scanner to use (from list_scanners). If omitted and exactly
one scanner is found, that one is used; if several are found, an error lists them.
source: auto | platen (flatbed glass) | adf (document feeder) |
adf-duplex (feeder, both sides).
resolution: DPI (150 fast, 300 documents, 600 fine). Default 300.
color_mode: color | gray | lineart (1-bit black & white).
output_format: png | jpeg | pdf. PDF is best for multi-page archives;
images let Claude view the page inline.
save_dir: Folder to save the scan in. Defaults to ~/Scans (or $SCANNER_MCP_SAVE_DIR).
return_image: If true and the output is an image, the page images are returned
inline so Claude can read the document directly. Ignored for PDF.
ocr: If true, also OCR each page to text (requires Tesseract + pytesseract).
Returns a summary plus, when applicable, inline page images and/or OCR text.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ocr | No | ||
| source | No | auto | |
| save_dir | No | ||
| color_mode | No | color | |
| resolution | No | ||
| scanner_id | No | ||
| return_image | No | ||
| output_format | No | png |