page_number
Add page numbers to PDF pages. Customize start number, format (e.g., 'page-total'), and position, then save to a specified output path.
Instructions
Add page numbers to each page of a PDF.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Absolute path to the PDF file | |
| start | No | Starting page number (default 1) | |
| format | No | "number" = "1", "page-total" = "1/5" | |
| position | No | Position (default: bottom-center) | |
| output_name | No | Output file path (defaults to same dir with suffix) |