pdf_add_page_numbers
Add page numbers to any PDF with customizable position, format, starting number, and font size.
Instructions
Add page numbers to a PDF. Supports configurable position, format, starting number, and font size.
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": {
"filePath": "<filePath>",
"outputPath": "<outputPath>"
},
"name": "pdf_add_page_numbers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Absolute path to the source PDF file | |
| outputPath | Yes | Absolute path for the output PDF | |
| position | No | Position of page numbers. Defaults to bottom-center. | |
| format | No | Number format. Defaults to "Page X of Y". | |
| startFrom | No | Starting page number. Defaults to 1. | |
| fontSize | No | Font size for page numbers (6–24). Defaults to 10. |