Office Word MCP Server

by GongRzhe
Verified

search_and_replace

Search for text and replace all occurrences.

Args: filename: Path to the Word document find_text: Text to search for replace_text: Text to replace with

Input Schema

NameRequiredDescriptionDefault
filenameYes
find_textYes
replace_textYes

Input Schema (JSON Schema)

{ "properties": { "filename": { "title": "Filename", "type": "string" }, "find_text": { "title": "Find Text", "type": "string" }, "replace_text": { "title": "Replace Text", "type": "string" } }, "required": [ "filename", "find_text", "replace_text" ], "title": "search_and_replaceArguments", "type": "object" }