Render a PDF and page previews
fullbleed_render_previewRender a PDF plus PNG page previews to visually inspect document changes, returning artifact paths for review.
Instructions
Render a PDF plus PNG page previews for visual inspection after document changes; returns their artifact paths. Supply exactly one of html or html_path. Use fullbleed_render for PDF-only output and fullbleed_verify for explicit failure checks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| css | No | Optional inline CSS, applied before css_paths. Use @page for print page size and margins. | |
| html | No | Inline static HTML or SVG markup. Supply exactly one of html and html_path; JavaScript is not executed. | |
| pdf_name | No | Single PDF filename within output_dir, without directory components; defaults to preview.pdf. | preview.pdf |
| css_paths | No | Existing UTF-8 CSS files under the MCP workspace root, read in array order after inline css. Relative paths are resolved from the server's --root. | |
| html_path | No | Existing UTF-8 HTML or SVG file under the MCP workspace root. Relative to the server's --root. Supply exactly one of html and html_path. | |
| image_dpi | No | PNG preview resolution in dots per inch; defaults to 144. Higher values increase image dimensions and rendering cost without changing PDF page geometry. | |
| font_paths | No | Existing embeddable font files under the MCP workspace root. Register these fonts before rendering; do not rely on system fonts. Relative paths are resolved from the server's --root. | |
| output_dir | Yes | Destination directory under the MCP workspace root. Writes pdf_name here and per-page PNGs in its pages subdirectory; directories are created as needed and matching files replaced. | |
| pdf_vt_job | No | Optional Job/Record/Document hierarchy and private Fullbleed DPM for pdf_profile='pdfvt1'. Omit records to generate one record and document per input, compiled copy, or binding row. | |
| pdf_profile | No | PDF export profile; omitted means ordinary PDF. Read fullbleed_capabilities.pdf_profile_catalog for names and font, ICC, title, and timestamp requirements. This is separate from the render tool's dev/preflight/prod preset. | |
| document_lang | No | Document language for PDF metadata, as a BCP-47 tag such as 'en-US'. | |
| document_title | No | Human-readable title stored in PDF metadata. Required for pdfx4 and pdfvt1 output. | |
| allow_fallbacks | No | Allow missing-glyph and font-substitution signals without failing those selected fail_on checks. Does not enable a browser fallback or fetch fonts. | |
| document_timestamp | No | PDF write date: UTC YYYY-MM-DDTHH:MM:SSZ, 'current', or 'source-date-epoch' (reads SOURCE_DATE_EPOCH). Required for pdfx4 and pdfvt1. Resolved once per engine; use an explicit value for repeatable output. | |
| output_intent_info | No | Optional human-readable description of the output condition. Requires output_intent_icc_path. | |
| output_intent_icc_path | No | Existing ICC profile file under the MCP workspace root, used as the PDF output intent. Required by PDF/A, PDF/X, and PDF/VT profiles. | |
| output_intent_components | No | ICC color-component count: 1 for gray, 3 for RGB, 4 for CMYK. Defaults to 3 and must match the profile supplied by output_intent_icc_path. | |
| output_intent_identifier | No | Nonblank output-condition identifier for the ICC output intent; defaults to 'Custom'. Requires output_intent_icc_path. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||