Extract pages into a new PDF
pdf_pagesCall this tool to pull selected pages into one new PDF, in the order written: "2,4-6" gives four pages. Asking for a page twice copies it twice. The input is never modified. Free tier: files up to 30 pages.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Name of an uploaded PDF (pdf_upload), or one this server wrote earlier | |
| pages | Yes | 1-based pages and ranges to keep, in output order, e.g. "2,4-6" or "5,1,1" | |
| out_path | Yes | Name for the extracted PDF; it comes back as a download link valid for one hour | |
| overwrite | No | Replace out_path if it exists. Default false |