pdf_generate_report
Create styled PDF reports from structured JSON or external JSON/Markdown files, with cover pages, headers/footers, tables, Q&A cards, images, callouts, code blocks, and Turkish Unicode support.
Instructions
Generate a publication-grade, styled PDF document from structured JSON data or an external JSON/Markdown file ('input_file') with cover page, headers/footers, Q&A cards, tables, images, callouts, code blocks, and full Turkish Unicode support.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| theme | No | Visual color theme for accents, cards, and borders (default: 'navy_blue'). | |
| title | No | Main document title. | |
| category | No | Top-level category banner on cover (e.g. 'DERS RAPORU', 'TEKNİK DOKÜMAN'). | |
| metadata | No | Key-value metadata pairs displayed on cover (e.g. Author, Date, Course). | |
| sections | No | List of document sections. Each section has 'title', optional 'subtitle', and an 'items' array with items of type 'qa', 'paragraph', 'bullet', 'code', 'table', 'callout', or 'image'. | |
| subtitle | No | Document subtitle or descriptive tagline. | |
| input_file | No | Optional path to a .json or .md file on disk containing the document payload. | |
| description | No | Abstract / description text displayed in the cover card. | |
| output_path | Yes | File path where the generated PDF document will be saved. |