check
Free preflight: checks a PDF against a product's print requirements and returns previews with issues marked. Creates no order and needs no address or payment; the file is stored for the check.
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": {
"pdf": "<pdf>",
"product": "<product>"
},
"name": "check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | The print-ready PDF, as an https URL it can be downloaded from (at most 32 MB), or the id (fil_…) of a file sent before. | ||
| fold | No | Filter by fold. | |
| size | No | Filter by size. | |
| sides | No | Filter by sides. | |
| stock | No | Filter by stock. | |
| finish | No | Filter by finish. | |
| option | No | Filter by any option, as key=value. Repeatable. | |
| product | Yes | Product id or alias, e.g. flyer. | |
| all_issues | No | Return every issue instead of up to 3 per code. | |
| orientation | No | Filter by orientation. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No | ||
| summary | No | ||
| warnings | No | ||
| next_actions | Yes |