add_page_numbering
Insert page numbers into document headers and footers using a customizable format string.
Instructions
Insert page numbering into headers/footers
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": {
"doc_id": "<doc_id>"
},
"name": "add_page_numbering"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | ||
| format_string | No | Page {PAGE} of {NUMPAGES} |