generate_pdf_from_text
Convert plain text content into PDF documents with customizable formatting options including fonts, margins, and file naming.
Instructions
Generate a PDF from plain text using PDFKit
Input Schema
Name | Required | Description | Default |
---|---|---|---|
options | No | PDF formatting options | |
output_dir | No | Output directory (optional, defaults to Downloads) | /root/Downloads |
output_filename | Yes | Name of the output PDF file (without path) | |
text_content | Yes | Text content to convert to PDF |