텍스트 일괄 치환
hwp_replace_textFinds and replaces text across HWP/HWPX document bodies and table cells, with safe write protection via SafeWriter. Use it for bulk text updates while preserving document structure.
Instructions
문서 본문 및 표 셀 내의 텍스트를 찾아 일괄 치환합니다. SafeWriter를 경유합니다. file_path는 절대 경로 권장.
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>",
"find": "<find>",
"replace": "<replace>"
},
"name": "hwp_replace_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| find | Yes | ||
| force | No | ||
| replace | Yes | ||
| password | No | ||
| file_path | Yes | ||
| allow_loss | No | ||
| expected_sha256 | No |