Plan booklet page order
plan_bookletUse this when the user asks which pages go on which sheet for a booklet or a 2-up or 4-up print, how many sheets a booklet needs, or how many blank pages a booklet gets, without a file. Takes a page count from 1 to 1,000, layout booklet, 2up or 4up, and binding left or right, and returns the sheet count, blank pages added, the order per sheet side and a CSV of the full order. Does not make a PDF (use make_booklet with the file for that).
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": "plan_booklet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | Yes | Number of pages in the document, 1 to 1000, e.g. 10. | |
| layout | No | booklet (default: pages in fold order, 2 per sheet side, to fold and staple in the middle), 2up (2 pages per sheet side in reading order) or 4up (4 pages per sheet side). | |
| binding | No | left (default, for left-to-right books) or right (right-to-left books such as Arabic or Hebrew: the first page sits on the right). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | Yes | ||
| pages | Yes | ||
| Yes | |||
| table | Yes | ||
| layout | Yes | ||
| sheets | Yes | ||
| binding | Yes | ||
| downloads | Yes | ||
| slot_names | Yes | ||
| sheet_sides | Yes | ||
| table_count | Yes | ||
| blanks_added | Yes | ||
| layout_label | Yes | ||
| padded_pages | Yes | ||
| sheets_single_sided | Yes |