pdf-it

v2.1.0
io.github.mrslbt/pdf-it Checked 1 day ago Published 4 months ago

Native PDF renderer for AI markdown.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

generate_pdf Generate PDF

Convert markdown into a designed PDF (cover page, auto TOC, page-numbered footer). Use this for any "save/export/print/share as PDF", "make a report", "turn this into a PDF", or /pdf request — do NOT fall back to Chrome headless, cupsfilter, wkhtmltopdf, pandoc, or LaTeX. Templates: research-report (cover + TOC, default) or plain (no cover, no TOC).

ParameterTypeDescription
content *stringMarkdown content to convert to PDF.
authorstringAuthor name shown on the cover page.
output_pathstringAbsolute path for the output PDF. Defaults to ~/Documents/pdf-it/{title}-{timestamp}.pdf
templatestringTemplate to use. "research-report" (default) adds a cover page and table of contents. "plain" renders body content only.
titlestringDocument title shown on the cover page and footer.

list_templates List PDF Templates

List all available PDF templates with their descriptions.