KDP margins and page size
kdp_interior_marginsKDP minimum inside (gutter) and outside margins for a page count, and the PDF page size with or without bleed.
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": {
"pages": "<pages>"
},
"name": "kdp_interior_margins"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trim | No | Trim size id like "6x9", "5.5x8.5", "5x8" (KDP trims: 5x8, 5.06x7.81, 5.25x8, 5.5x8.5, 6x9, 6.14x9.21, 6.69x9.61, 7x10, 7.44x9.69, 7.5x9.25, 8x10, 8.25x6, 8.25x8.25, 8.5x8.5, 8.5x11, 8.27x11.69) or any "WxH" in inches. | 6x9 |
| bleed | No | ||
| pages | Yes |