Compile and render a VDP job
fullbleed_compile_vdpCompile inline HTML/CSS and columnar variable records into one PDF, returning its path, counts, SHA-256, and compile/render metrics.
Instructions
Compile inline HTML/CSS and render columnar variable records into one PDF, returning its path, counts, SHA-256, and compile/render metrics. Releases the temporary handle after rendering. Use fullbleed_compile plus fullbleed_render_compiled when reusing a template across calls.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| css | No | Optional inline print CSS; defaults to an empty stylesheet. Use @page for page size and margins. Compilation tools do not accept css_paths. | |
| html | Yes | Nonempty inline static HTML. For variable records use {{slot_name}} placeholders and supply a bindings column for every slot. Compilation tools accept markup, not html_path. | |
| mode | Yes | fixed_bindings substitutes text while preserving compiled geometry; reflow_bindings recalculates layout and page count for variable-length content. Check pdf_profile_catalog.fixed_bindings_supported before combining fixed bindings with a PDF profile. | |
| bindings | Yes | Columnar records, for example {"name": ["Ada", "Lin"]}. Keys must match the compiled {{slot_name}} set exactly. Every column must be a nonempty string array of equal length; values at the same index form one record. Required for fixed_bindings and reflow_bindings; ignored in static mode. | |
| 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. | |
| 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. | |
| compression | No | Compression strategy for reflow_bindings only; defaults to throughput. Use compact for smaller output at additional compression cost. Ignored in static and fixed_bindings modes. | |
| output_path | Yes | Destination PDF under the MCP workspace root, relative to the server's --root. Parent directories are created; an existing file is replaced. | |
| 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. | |
| 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 | |||