Create print job (place an order)
create_print_jobPlace a real print-and-ship order for books from interior and cover PDF URLs, left unpaid until you pay or cancel it in Lulu's portal. Validate files and check costs first.
Instructions
Place an order to print and ship books from interior and cover PDF URLs. In production this is a real order: it stays UNPAID until paid in Lulu's developer portal, or is charged automatically if a card is on file. Check the price with calculate_print_job_cost and the files with validate_interior_file / validate_cover_file first. Set production_delay to leave time to cancel.
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": {
"contact_email": "<contact_email>",
"shipping_level": "<shipping_level>",
"shipping_address": "<shipping_address>",
"line_items": "<line_items>"
},
"name": "create_print_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line_items | Yes | ||
| external_id | No | Your own order number or reference. | |
| contact_email | Yes | Email Lulu uses for questions about this Print-Job. | |
| shipping_level | Yes | Shipping service level, from slowest/cheapest (MAIL) to fastest (EXPRESS). | |
| production_delay | No | Minutes (60 to 2880) to wait before production starts, leaving time to cancel. | |
| shipping_address | Yes |