search_and_replace
Modify Word documents by finding specific text and replacing it with desired content. Specify file path, search text, replace text, and optional case sensitivity for precise updates.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | ||
| matchCase | No | ||
| replaceText | Yes | ||
| searchText | Yes |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"filePath": {
"type": "string"
},
"matchCase": {
"type": "boolean"
},
"replaceText": {
"type": "string"
},
"searchText": {
"type": "string"
}
},
"required": [
"filePath",
"searchText",
"replaceText"
],
"type": "object"
}