add_page_numbers
Add page numbers to document headers or footers with customizable position, alignment, and format.
Instructions
Add page numbers to header or footer.
Args: position: "header" or "footer" alignment: "left", "center", or "right" format_string: Format - use {page} for page number section_index: Section to add to
Returns: Success message or error
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 |
|---|---|---|---|
| position | No | footer | |
| alignment | No | center | |
| format_string | No | Page {page} | |
| section_index | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |