wps_word_replace
Find and replace text in a WPS Word document. Replace all occurrences by default, or set replace_all to false to replace only the first match.
Instructions
查找替换。replace_all=false 只替换第一处。
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": {
"find_text": "<find_text>",
"replace_text": "<replace_text>"
},
"name": "wps_word_replace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| find_text | Yes | 要查找的文字 | |
| replace_all | No | 是否全部替换,默认 true | |
| replace_text | Yes | 替换为的文字 |