web_tools_pdf
PDF from a live URL or from your own HTML, printed by a real browser: paper size, margins, landscape, backgrounds, page numbers. For invoices, reports, resumes and saving articles. 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
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": "web_tools_pdf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public http(s) address of the page. | |
| html | No | HTML to print instead of a URL: an invoice, a report, a resume. May load public images, fonts and stylesheets. | |
| media | No | screen prints the page as it looks in a browser instead of its print stylesheet. | |
| scale | No | ||
| format | No | A4 | |
| waitMs | No | Extra wait after the page has loaded, for animations or late content. | |
| waitFor | No | CSS selector that must be visible before the capture. | |
| marginMm | No | ||
| landscape | No | ||
| background | No | Print background colours and images. | |
| pageNumbers | No | Footer with page number and total. |