illustrator_preflight_check
Validate active Illustrator documents before export or after edits by checking for items outside artboards, zero-size items, empty text frames, and locked layers without modifying the file.
Instructions
Perform observational validation on the active document.
CONTRACT: readOnly=True, destructive=False, idempotent=True, openWorld=False
WHEN TO USE:
Before export to catch common issues
Validating document state after a series of modifications
KEY CONCEPTS: Checks for: items outside artboard bounds, zero-size items, empty text frames, locked layers/items. Does NOT modify the document.
NOTES:
Returns ok=true if all checks pass, with warnings for issues found
Bounds policy: 'warn' (default) emits warnings; 'error' sets ok=false
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |