Fullbleed PDF Engine
v0.1.1Create, preview, inspect, verify, and compile deterministic PDF documents with Fullbleed.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
fullbleed_capabilities Fullbleed capabilities
Read the installed runtime's compact feature map and PDF profile requirements before choosing features. Use fullbleed_agent_contract for command schemas, workflow examples, and detailed limitations.
fullbleed_agent_contract Fullbleed agent contract
Read the canonical installed contract: version, commands, schemas, capabilities, profiles, examples, limitations, and recommendation boundary.
fullbleed_create_project Create a Fullbleed project
Create an agent-ready project or document scaffold in an absent or empty workspace directory; returns generated artifacts and next actions. Use this when starting a project, then render its source with fullbleed_render or fullbleed_render_preview.
| Parameter | Type | Description |
|---|---|---|
target_path | string | Destination directory under the MCP workspace root. Defaults to that root and must be absent or empty; use a new subdirectory in an existing project. |
template | Scaffold to create: init supplies the general agent-ready project; invoice, statement, accessible, and reference select the corresponding document starter. |
fullbleed_render Render a print document
Render static HTML/CSS to a PDF and return output paths and render diagnostics. Supply exactly one of html or html_path. Use fullbleed_render_preview for visual iteration, fullbleed_verify for delivery checks, or fullbleed_compile_vdp for variable records. Does not capture live websites.
| Parameter | Type | Description |
|---|---|---|
output_path * | string | Destination PDF under the MCP workspace root, relative to the server's --root. Parent directories are created; an existing file is replaced. |
allow_fallbacks | boolean | Allow missing-glyph and font-substitution signals without failing those selected fail_on checks. Does not enable a browser fallback or fetch fonts. |
css | string | Optional inline CSS, applied before css_paths. Use @page for print page size and margins. |
css_paths | array | 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. |
document_lang | string | Document language for PDF metadata, as a BCP-47 tag such as 'en-US'. |
document_timestamp | string | 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 out… |
document_title | string | Human-readable title stored in PDF metadata. Required for pdfx4 and pdfvt1 output. |
emit_image_dir | string | Optional directory under the MCP workspace root for per-page PNG previews. Omit for PDF-only output; fullbleed_render_preview chooses the PDF and PNG paths together. |
font_paths | array | 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. |
html | string | Inline static HTML or SVG markup. Supply exactly one of html and html_path; JavaScript is not executed. |
html_path | string | 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 | integer | PNG preview resolution in dots per inch; defaults to 150. Used only when emit_image_dir is supplied; does not change PDF page geometry. |
output_intent_components | 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_icc_path | string | 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_identifier | string | Nonblank output-condition identifier for the ICC output intent; defaults to 'Custom'. Requires output_intent_icc_path. |
output_intent_info | string | Optional human-readable description of the output condition. Requires output_intent_icc_path. |
pdf_profile | string | 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/… |
pdf_vt_job | object | 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. |
profile | Optional render preset: dev enables JIT planning without XObject reuse; preflight enables planning and reuse; prod enables reuse with JIT off. Omit to use engine defaults. Select PDF standards separat… |
fullbleed_render_preview Render a PDF and page previews
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.
| Parameter | Type | Description |
|---|---|---|
output_dir * | string | 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. |
allow_fallbacks | boolean | Allow missing-glyph and font-substitution signals without failing those selected fail_on checks. Does not enable a browser fallback or fetch fonts. |
css | string | Optional inline CSS, applied before css_paths. Use @page for print page size and margins. |
css_paths | array | 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. |
document_lang | string | Document language for PDF metadata, as a BCP-47 tag such as 'en-US'. |
document_timestamp | string | 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 out… |
document_title | string | Human-readable title stored in PDF metadata. Required for pdfx4 and pdfvt1 output. |
font_paths | array | 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. |
html | string | Inline static HTML or SVG markup. Supply exactly one of html and html_path; JavaScript is not executed. |
html_path | string | 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 | integer | PNG preview resolution in dots per inch; defaults to 144. Higher values increase image dimensions and rendering cost without changing PDF page geometry. |
output_intent_components | 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_icc_path | string | 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_identifier | string | Nonblank output-condition identifier for the ICC output intent; defaults to 'Custom'. Requires output_intent_icc_path. |
output_intent_info | string | Optional human-readable description of the output condition. Requires output_intent_icc_path. |
pdf_name | string | Single PDF filename within output_dir, without directory components; defaults to preview.pdf. |
pdf_profile | string | 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/… |
pdf_vt_job | object | 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. |
fullbleed_verify Verify a print document
Render HTML/CSS through Fullbleed's validation path and return structured diagnostics and failures before delivery. Supply exactly one of html or html_path and select fail_on checks explicitly. Use fullbleed_inspect for an existing PDF. Internal checks do not establish independent standards conformance.
| Parameter | Type | Description |
|---|---|---|
allow_fallbacks | boolean | Allow missing-glyph and font-substitution signals without failing those selected fail_on checks. Does not enable a browser fallback or fetch fonts. |
css | string | Optional inline CSS, applied before css_paths. Use @page for print page size and margins. |
css_paths | array | 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. |
document_lang | string | Document language for PDF metadata, as a BCP-47 tag such as 'en-US'. |
document_timestamp | string | 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 out… |
document_title | string | Human-readable title stored in PDF metadata. Required for pdfx4 and pdfvt1 output. |
emit_pdf_path | string | Optional destination PDF under the MCP workspace root; creates parent directories and replaces an existing file. Omit to return diagnostics without saving the PDF. |
fail_on | array | Failure checks to run: overflow, missing-glyphs, or font-subst. Defaults to none. The budget value requires budget limits available through the CLI, which this tool does not expose. |
font_paths | array | 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. |
html | string | Inline static HTML or SVG markup. Supply exactly one of html and html_path; JavaScript is not executed. |
html_path | string | 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. |
output_intent_components | 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_icc_path | string | 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_identifier | string | Nonblank output-condition identifier for the ICC output intent; defaults to 'Custom'. Requires output_intent_icc_path. |
output_intent_info | string | Optional human-readable description of the output condition. Requires output_intent_icc_path. |
pdf_profile | string | 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/… |
pdf_vt_job | object | 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. |
fullbleed_inspect Inspect a PDF
Read an existing PDF's version, page count, profile claims, warnings, and template-composition compatibility without changing it. Use fullbleed_verify to render and check HTML/CSS source, or fullbleed_assets with action='verify' to check asset package integrity.
| Parameter | Type | Description |
|---|---|---|
path * | string | Existing PDF file under the MCP workspace root, relative to the server's --root; this is a PDF path, not HTML source. |
fullbleed_assets Manage Fullbleed assets
Manage font, CSS, and icon packages with list, info, install, verify, or lock. Returns package details or operation results. Install writes workspace assets and may download supported remote packages. Use fullbleed_inspect for PDFs and fullbleed_verify for document validation.
| Parameter | Type | Description |
|---|---|---|
action * | list shows built-in and cached packages; info describes one package; install vendors it; verify checks package presence/hashes and optional lock constraints; lock creates or updates a lock file using… | |
add | array | For lock only: built-in package references to add/update, for example ["@noto-sans", "@bootstrap"]. Omit to preserve existing entries or create an empty lock file; this does not scan arbitrary project… |
available | boolean | For list only: include the catalog of supported remote packages in addition to built-in and cached packages. Defaults to false. |
lock_path | string | Lock file under the MCP workspace root. For verify it must exist; omission skips lock comparison. For lock it is created or updated and defaults to 'assets.lock.json'. |
package | string | Package name/reference, such as 'noto-sans' or '@bootstrap'. Required for info, install, and verify; ignored for list and lock. Use list to discover supported names. |
strict | boolean | For verify only: report a lock mismatch as a tool error. Defaults to false, which returns the verification result with ok=false and violations instead. |
vendor_path | string | For install only: destination directory under the MCP workspace root, default 'vendor'. Existing matching asset files may be replaced. |
fullbleed_compile Compile a document family
Compile inline HTML/CSS and return compile_id plus template statistics for repeated calls to fullbleed_render_compiled. Handles belong to this server process; restart or eviction after 64 retained handles requires recompiling. Use fullbleed_compile_vdp for a single variable-data job without retaining a handle.
| Parameter | Type | Description |
|---|---|---|
html * | string | 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. |
css | string | Optional inline print CSS; defaults to an empty stylesheet. Use @page for page size and margins. Compilation tools do not accept css_paths. |
document_lang | string | Document language for PDF metadata, as a BCP-47 tag such as 'en-US'. |
document_timestamp | string | 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 out… |
document_title | string | Human-readable title stored in PDF metadata. Required for pdfx4 and pdfvt1 output. |
font_paths | array | 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_intent_components | 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_icc_path | string | 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_identifier | string | Nonblank output-condition identifier for the ICC output intent; defaults to 'Custom'. Requires output_intent_icc_path. |
output_intent_info | string | Optional human-readable description of the output condition. Requires output_intent_icc_path. |
pdf_profile | string | 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/… |
pdf_vt_job | object | 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. |
fullbleed_render_compiled Render a compiled document
Write a PDF from compile_id returned by fullbleed_compile in this server session. Choose static copies, fixed geometry, or content reflow; returns the output path, page/record counts, and SHA-256. Use fullbleed_compile_vdp to compile and render a variable-data job in one call.
| Parameter | Type | Description |
|---|---|---|
compile_id * | string | Opaque handle returned by fullbleed_compile in this same server process. Recompile if the process restarted or the handle was evicted; it is not a filename or serialized artifact. |
mode * | static repeats the compiled document using copies; fixed_bindings substitutes columnar text without changing geometry; reflow_bindings lays out variable-length records and repaginates. The binding mod… | |
output_path * | string | Destination PDF under the MCP workspace root, relative to the server's --root. Parent directories are created; an existing file is replaced. |
bindings | object | 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 f… |
compression | 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. | |
copies | integer | Number of identical document copies in static mode; defaults to 1. Ignored for binding modes, whose record count is the binding-column length. |
fullbleed_compile_vdp Compile and render a VDP job
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.
| Parameter | Type | Description |
|---|---|---|
bindings * | object | 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 f… |
html * | string | 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 * | 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 b… | |
output_path * | string | Destination PDF under the MCP workspace root, relative to the server's --root. Parent directories are created; an existing file is replaced. |
compression | 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. | |
css | string | Optional inline print CSS; defaults to an empty stylesheet. Use @page for page size and margins. Compilation tools do not accept css_paths. |
document_lang | string | Document language for PDF metadata, as a BCP-47 tag such as 'en-US'. |
document_timestamp | string | 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 out… |
document_title | string | Human-readable title stored in PDF metadata. Required for pdfx4 and pdfvt1 output. |
font_paths | array | 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_intent_components | 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_icc_path | string | 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_identifier | string | Nonblank output-condition identifier for the ICC output intent; defaults to 'Custom'. Requires output_intent_icc_path. |
output_intent_info | string | Optional human-readable description of the output condition. Requires output_intent_icc_path. |
pdf_profile | string | 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/… |
pdf_vt_job | object | 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. |