preflight
Scans the active document in one pass to flag print issues—missing fonts, broken links, RGB in CMYK, overset text, low-res images, hairlines, no bleed—for fixing before export.
Instructions
Print checks of the active document in one pass. Hidden items and hidden/non-printing layers are skipped (counted in skipped_non_printing) unless include_non_printing. errors: missing_font, broken_link, rgb_in_cmyk (paths, text, RGB images), overset_text, white_overprint · warnings: registration_color (art painted with [Registration]), low_res (< min_dpi, default 300), empty_text, default_text (unnamed 12 pt Myriad leftovers), off_artboard, small_text (< min_text_pt, default 5), hairline (< hairline_pt, default 0.25), no_bleed (art at an artboard edge, document without bleed), low_contrast (text below WCAG AA on what lies under it; RGB documents, any with contrast:true), off_token (colours/fonts/sizes outside tokens {colors, fonts, sizes}) · info: spot_color (real spot inks only — global process swatches are not spots), overprint, transparency, live_text (one count line), empty_group. Also returns inks (process plates, spot inks) and the bleed. ignore: categories to skip; max_items per category (default 20).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "preflight"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ignore | No | ||
| tokens | No | ||
| min_dpi | No | ||
| contrast | No | ||
| max_items | No | ||
| hairline_pt | No | ||
| min_text_pt | No | ||
| include_non_printing | No |