replace_hwp_text
Replace specific text in HWPX files. Provide file path, old text, and new text to update content.
Instructions
Find and replace text in an HWPX file. v0.2: only .hwpx is supported as input/output. Args: file_path, old_text, new_text, output_path (optional).
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>",
"old_text": "<old_text>",
"new_text": "<new_text>"
},
"name": "replace_hwp_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| old_text | Yes | ||
| new_text | Yes | ||
| output_path | No |