{"name":"html-to-pdf","description":"Render a live webpage as a PDF document. Send a url plus optional page_format, orientation, margins, and a wait_until condition for JS-heavy pages, and it captures the rendered page through CloudConvert and returns a pdf_url with the file size in bytes. Use it as a URL to PDF converter, webpage-to-PDF capture tool, or website screenshot to PDF generator for archiving or reporting pages.","price":"$0.08","method":"POST","input_schema":{"properties":{"url":{"type":"string","description":"URL to render and capture as a PDF. Must be http or https."},"page_format":{"type":"string","description":"Optional. Page size, e.g. 'a4', 'letter', 'legal', 'tabloid', 'a0'-'a6'."},"page_orientation":{"type":"string","enum":["portrait","landscape"],"description":"Optional. 'portrait' or 'landscape'."},"margin_top":{"type":"number","description":"Optional. Top margin in inches, 0-5."},"margin_bottom":{"type":"number","description":"Optional. Bottom margin in inches, 0-5."},"print_background":{"type":"boolean","description":"Optional. Include background graphics. Default false."},"wait_until":{"type":"string","description":"Optional. Load condition before capture: 'load', 'domcontentloaded', 'networkidle0', or 'networkidle2'."}},"required":["url"]},"input_example":{"url":"https://example.com","page_format":"a4"},"output_example":{"pdf_url":"https://...pdf","file_size_bytes":20350},"x402_payment_required":true,"x402_facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}