remarkable_export
Export a single reMarkable document as a PDF or Markdown file. Choose merged or annotations-only PDF mode, and include OCR text for Markdown exports.
Instructions
Export one reMarkable document as a reusable PDF or Markdown file. Exports a single document without modifying the tablet or its library.
The generated file is written to a server-managed temporary directory and returned as an MCP ResourceLink. The tool response stays small: it never embeds the PDF/Markdown as base64 and never writes to an arbitrary host path. The resource expires after 15 minutes and may be evicted earlier when more than eight exports are retained. Fetch and save the linked resource for durable use.
PDF behavior:
pdf_mode="merged"(default) preserves complete physical pages, combining mapped PDF underlays and reMarkable annotations.pdf_mode="annotations"exports full-page annotation layers only when the transport provides a document archive.Pages remain in physical device order. A render failure produces a labeled placeholder at that ordinal and a partial-export warning; pages are not skipped.
Markdown behavior:
Preserves basic source metadata and fixed source text, typed text, annotation, highlight, and OCR sections.
OCR is opt-in and uses the same configured/cached OCR path as remarkable_read.
Extracted text is kept verbatim; the exporter does not invent headings, lists, links, or page attribution it cannot prove.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document | Yes | ||
| pdf_mode | No | merged | |
| include_ocr | No | ||
| output_format | No |