pdf_create
Convert text content into PDF files with automatic formatting for A4, Letter, or Legal page sizes. Add document metadata and control layout settings to create professional PDFs.
Instructions
Create a new PDF from text content with automatic line wrapping and page overflow. Supports A4, Letter, and Legal page sizes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| outputPath | Yes | Absolute path for the output PDF file | |
| content | Yes | Text content for the PDF. Use \n for line breaks. | |
| title | No | PDF document title metadata | |
| author | No | PDF document author metadata | |
| pageSize | No | Page size. Defaults to A4. | |
| fontSize | No | Font size in points (6–72). Defaults to 12. | |
| margin | No | Page margin in points (0–500). Defaults to 50. |