publishing_spine_width
Book spine and cover size calculator
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": {
"trimWidthIn": "<trimWidthIn>",
"trimHeightIn": "<trimHeightIn>",
"pages": "<pages>",
"thicknessIn": "<thicknessIn>"
},
"name": "publishing_spine_width"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dpi | No | Resolution used to give the cover size in pixels, a whole number from 72 to 1200. Default 300. null is treated as not sent. | |
| pages | Yes | Page count, a whole number from 1 to 2000. Printed books have an even count; an odd number returns a warning. | |
| bleedIn | No | Bleed in inches added on every outer edge, 0 to 1. Default 0.125 for every platform. null is treated as not sent. | |
| platform | No | Printer the result is labelled for: kdp (default), ingramspark or lulu. The formula is the same for all. | |
| thicknessIn | Yes | Paper thickness in inches per page (one sheet is two pages), at least 0.0001 and at most 0.02, for example 0.002252 for KDP black and white on white paper. A value below 0.0001 is a 400. | |
| trimWidthIn | Yes | Trim width of one page in inches, 2 to 14. | |
| trimHeightIn | Yes | Trim height in inches, 2 to 14. | |
| spineAllowanceIn | No | Extra width in inches added to (or, if negative, removed from) the spine, -0.5 to 0.5. Default 0. The final spine (pages x thicknessIn + spineAllowanceIn) must be above 0, otherwise the result is a 400. null is treated as not sent. |