preview_batch_replace
Preview multiple find-and-replace pairs in HWP/HWPX documents as a single edit session without saving changes, allowing safe review before applying.
Instructions
Preview multiple find->replace pairs as one edit session without writing output.
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>",
"replacements": "<replacements>"
},
"name": "preview_batch_replace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| replacements | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |