n_up
Place multiple PDF pages on one sheet in reading order to create handouts and save paper. Supports 2-up or 4-up layouts with page selection.
Instructions
Put 2 pages side by side on landscape sheets, or 4 in a 2 x 2 grid, in reading order (handouts, saving paper). Sheets are a paper size (a3, a4, a5, letter, legal, tabloid) or by default the first page's size. pages picks and orders the pages. The result is for printing and reading: only page content is placed, so links, comments, stamps, form fields (and their filled-in values) and visible signatures don't appear; use flatten_pdf first to keep them. Document info is copied, bookmarks are not. Needs the owner password if the PDF forbids changes or document assembly.
Any password argument can be "ask": the user then types it on a local page, so it never passes through the chat.
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": {
"input_path": "<input_path>"
},
"name": "n_up"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | ||
| pages | No | ||
| password | No | ||
| overwrite | No | ||
| per_sheet | No | ||
| input_path | Yes | ||
| output_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output | Yes | ||
| sheets | Yes | ||
| sheet_width | Yes | ||
| pages_placed | Yes | ||
| sheet_height | Yes | ||
| password_protected | Yes | ||
| user_password_changed | Yes | ||
| permissions_restricted | Yes |