Calculate print job cost
calculate_print_job_costCalculate total print job cost, including per-item pricing, shipping, fees and tax, before placing an order. Preview book pricing for one or more line items.
Instructions
Price one or more books, including shipping and tax, without placing an order. Returns per-line-item costs, shipping cost, fees and totals.
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": {
"line_items": "<line_items>",
"shipping_address": "<shipping_address>",
"shipping_option": "<shipping_option>"
},
"name": "calculate_print_job_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line_items | Yes | ||
| shipping_option | Yes | Shipping service level, from slowest/cheapest (MAIL) to fastest (EXPRESS). | |
| shipping_address | Yes |