Configure Header and Footer
add_header_footer_to_documentAdd custom headers and footers to Word documents with Arabic page numbering (صفحة X من Y) for RTL support.
Instructions
Configures document header and footer with custom text and Arabic page numbering (صفحة X من Y).
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": {
"filePath": "<filePath>"
},
"name": "add_header_footer_to_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| isRtl | No | RTL direction | |
| filePath | Yes | Path to .docx file | |
| footerText | No | Footer text | |
| headerText | No | Header text | |
| includePageNumbers | No | Include page numbers |