create_pdf: Create a PDF
Turn Markdown or HTML you write into a well-set PDF: a report, invoice, letter, resume or plain document. Tables, headings, lists, images by URL and page breaks work; header, footer and page numbers are optional. For an invoice, resume or letter, prefer data (the fields, with template set to match): it is laid out properly, and an invoice is added up for you (leave out amounts, subtotal, tax or total to have them worked out; give them and they are checked). extract_data's invoice result can be passed as data as it is. Use it whenever the person wants a document they can download, print or send.
A tool of the FynePDF MCP server (https://api.fynepdf.com/mcp). Makes a new file; the original is kept.
Ask for it
- "Make an invoice for Acme: 3 hours at $120, 10% tax."
- "Turn my notes into a one-page report PDF."
Inputs
| Input | Type | Required | What it does |
|---|---|---|---|
markdown | string | ||
html | string | ||
data | object or object or object | Instead of markdown/html: the fields of an invoice, resume or letter (set template to match). We lay it out; for an invoice we also add up the lines, tax and total and report anything that doesn't add up. | |
template | "plain" · "report" · "invoice" · "letter" · "resume" | ||
style | "quiet" · "classic" | quiet (default): modern sans, gray labels. classic: serif, fine rules, centered heads; suits letters and traditional CVs. | |
title | string | Also the file name. | |
page_size | "A4" · "Letter" | ||
margin | "none" · "small" · "normal" · "wide" | ||
header | string | ||
footer | string | ||
page_numbers | boolean |
The same over HTTP
From your own code, call Generate PDF API.
Connect it
Claude · ChatGPT · Cursor · VS Code · Claude Code