generate_pdf_from_html
Convert HTML content to PDF files with customizable formatting options and automatic saving to specified directories.
Instructions
Generate a PDF from HTML content using Puppeteer
Input Schema
Name | Required | Description | Default |
---|---|---|---|
html_content | Yes | HTML content to convert to PDF | |
options | No | PDF generation options | |
output_dir | No | Output directory (optional, defaults to Downloads) | /root/Downloads |
output_filename | Yes | Name of the output PDF file (without path) |