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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "document_ingest"
}
}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 | |||