word_read_header_footer
Read text from headers or footers in Word .docx documents. Supports default, first, and even page variants.
Instructions
Read the text of a header or footer (default/first/even variant) via the document's section properties
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": {
"file_path": "<file_path>",
"type": "<type>"
},
"name": "word_read_header_footer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Whether to read a header or a footer | |
| variant | No | Which variant to read (default: 'default') | |
| file_path | Yes | Absolute path to the .docx file |