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
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"params": "<params>"
},
"name": "illustrator_preflight_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |