Add page numbers
add_page_numbersAdd page numbers to a PDF.
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": {
"file": "<file>"
},
"name": "add_page_numbers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | The PDF to number. | |
| position | No | "bottom-center" (default), "bottom-left", "bottom-right", "top-center", "top-left" or "top-right". | bottom-center |
| start_number | No | Number printed on the first page. Default 1. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||