Skip to main content
Glama

pdf_reorder_pages

Rearrange PDF pages by specifying a custom order with comma-separated numbers. Duplicate pages if needed. Form fields are not preserved in the output.

Instructions

Reorder pages in a PDF. Specify the new page order as a comma-separated string (e.g. '3,1,2'). Duplicates are allowed. Warning: form fields are not preserved.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
filePathYesAbsolute path to the source PDF file
pageOrderYesNew page order as comma-separated 1-indexed numbers, e.g. '3,1,2,4' or '1,1,2' (duplicates allowed)
outputPathYesAbsolute path for the reordered output PDF

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AryanBV/pdf-toolkit-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server