Validate interior file
validate_interior_fileStarts validation of an interior PDF, optionally against a Lulu product SKU, and returns a record to poll for VALIDATED, NORMALIZED, or ERROR status.
Instructions
Start checking an interior PDF. Returns a validation record; poll get_interior_validation with its id until the status is VALIDATED, NORMALIZED or ERROR. With pod_package_id, Lulu also checks the file fits that product.
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>"
},
"name": "validate_interior_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 | No | 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 |