fill_form
Fill labeled fields in HWPX form documents and save a byte-preserving copy with original formatting intact.
Instructions
Fill detected named/label fields and write a NEW byte-preserving HWPX copy (file mode).
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>",
"values": "<values>",
"out_path": "<out_path>"
},
"name": "fill_form"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| backup | No | ||
| values | Yes | ||
| dry_run | No | ||
| auto_fit | No | ||
| mask_pii | No | ||
| out_path | Yes | ||
| respect_bullets | No | ||
| normalize_spacing | No | ||
| checkbox_exclusive | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |