set_header
Set page header text in a HWPX file. Specify the text and page type (BOTH, EVEN, or ODD) to create a new file with the updated header.
Instructions
Set the page header text (page_type: BOTH/EVEN/ODD as accepted by python-hwpx) to a NEW file.
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": {
"path": "<path>",
"text": "<text>",
"out_path": "<out_path>"
},
"name": "set_header"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| text | Yes | ||
| out_path | Yes | ||
| page_type | No | BOTH |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |