web_tools_markdown_pdf
A clean, printable PDF from Markdown: headings, lists, tables, code blocks, quotes and images, set in a readable typeface with page numbers. For reports, specs, invoices and notes an agent has written. Also returns the standalone HTML. Price: $0.03 USDC via x402, charged only on success. Part of Web tools: A real browser for agents: screenshot any page on desktop or phone, read a page as clean Markdown, print a URL or HTML to PDF, draw HTML to an image, make social cards, audit a page for SEO, speed, accessibility and broken links, and compare two versions of a page pixel by pixel..
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"markdown": "<markdown>"
},
"name": "web_tools_markdown_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| css | No | Extra CSS to restyle the document. | |
| title | No | Document title for the PDF metadata. The first heading when omitted. | |
| format | No | A4 | |
| marginMm | No | ||
| markdown | Yes | The document in Markdown: headings, lists, tables, code blocks, images by public URL. | |
| fontSizePt | No | ||
| pageNumbers | No |