Validate cover file
validate_cover_fileStart validating a cover PDF against a product and page count, then poll the returned ID until status is NORMALIZED or ERROR. Use it to confirm print-ready cover files before ordering.
Instructions
Start checking a cover PDF against a product and page count. Poll get_cover_validation with the returned id until the status is NORMALIZED or ERROR.
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": {
"source_url": "<source_url>",
"pod_package_id": "<pod_package_id>",
"interior_page_count": "<interior_page_count>"
},
"name": "validate_cover_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_url | Yes | Public URL Lulu downloads the file from. Basic-auth credentials in the URL are allowed. | |
| pod_package_id | Yes | Lulu product SKU (pod_package_id): trim size, ink, quality, binding, paper and finish. Dotted format, e.g. '0600X0900.BW.STD.PB.060UW444.MXX' (6x9in black-and-white standard paperback, matte). Lulu still accepts the older 27-character format without dots until 1 February 2027. Build one with Lulu's pricing calculator: https://developers.lulu.com/price-calculator | |
| interior_page_count | Yes | Number of interior pages. |