Add page numbers to PDF
add_page_numbersAdd page numbers to every page of a PDF. Files are processed on HuntPDF servers and deleted automatically; the download link is temporary.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "add_page_numbers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | n = "1", n-of-m = "1 of 9", page-n = "Page 1", page-n-of-m = "Page 1 of 9" | n |
| file_url | No | Public https:// link to the file (preferred, up to 150 MB). Must be directly downloadable. | |
| filename | No | Original file name, e.g. report.pdf | |
| position | No | bottom-center | |
| start_at | No | First number, default 1 | |
| file_base64 | No | The file content as base64 (only for small files, max 10 MB). Use instead of file_url. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | No | ||
| file_name | Yes | ||
| download_url | Yes | Link to download the result | |
| expires_in_minutes | Yes | The link stops working after this time (or 3 minutes after the first download) |