document_ingest
Queue high-fidelity background ingest of EPUB and PDF documents. Auto-detect book or paper profile, force re-ingest if needed.
Instructions
Queue high-fidelity background ingest for one EPUB/PDF document. Pass doc_id for an already scanned document, or path for a new local file. Pass root to choose the unified sidecar at /.mcp-ebook-read; omitted root uses the MCP process project root. profile='auto' infers EPUB/PDF and PDF book/paper mode from document metadata; pass profile='paper' when a PDF paper is outside a papers/ path, or profile='book' for PDF books. library_scan marks PDFs under papers/ as paper and all other documents as book. PDF ingest persists pypdfium2 fast preflight, PyMuPDF diagnostics, Docling structure, formulas, images, tables, and figures.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| root | No | ||
| force | No | ||
| doc_id | No | ||
| profile | No | auto |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||