Add page labels
pdf_add_page_labelsAdd page numbers or custom footers to PDF pages, using {page} and {total} placeholders. Save the labeled copy to a new file without overwriting the original.
Instructions
Add page numbers or a footer. Use {page} and {total} in the text.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | {page} / {total} | |
| input | Yes | Path to a PDF inside an allowed folder (absolute, or relative to the first allowed folder). | |
| pages | No | Page numbers or ranges, such as "1, 3-5". Omit for every page. | |
| output | Yes | Path for the new PDF, inside an allowed folder. Must not exist yet; superPDF never overwrites files. | |
| position | No | Where on the page the label goes. | bottom |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bytes | Yes | ||
| pages | Yes | ||
| output | Yes |