Add page numbers to a PDF
add_page_numbersNumber the pages of your PDFs: at the bottom or top, on one side or in the centre, and from the page and number you choose. Returns a link to download the result (kept about an hour). Credits on paid plans: 5 per file.
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": {
"files": "<files>"
},
"name": "add_page_numbers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language. Language of the texts the tool adds. Values: 'es' = Spanish; 'en' = English | es |
| files | Yes | Input files (.pdf). Each one is a public http(s) URL, or an object with `url`, or with `name` and `content_base64` (small files only: up to 20 MB in total). | |
| first | No | Start numbering on page | |
| start | No | First number | |
| format | No | Format Values: 'n' = 1, 2, 3…; 'n-de-t' = 1 / 10; 'pagina' = Page 1 of 10 | n |
| position | No | Position Values: 'abajo-centro' = Bottom centre; 'abajo-derecha' = Bottom right; 'abajo-izquierda' = Bottom left; 'arriba-centro' = Top centre; 'arriba-derecha' = Top right; 'arriba-izquierda' = Top left | abajo-centro |