word_search_text
Search a Word document for matching text by specifying the file path and query, with optional case-sensitive matching.
Instructions
Search a Word document's paragraphs for matching text
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>",
"query": "<query>"
},
"name": "word_search_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Text to search for | |
| file_path | Yes | Absolute path to the .docx file | |
| case_sensitive | No | Match case exactly (default: false) |