search_document
Search .docx files for specific text and retrieve matching lines with line numbers and context. Case-insensitive.
Instructions
Searches for text within a .docx file and returns matching lines with line numbers and context. Case-insensitive. Use for finding specific content within a document.
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>",
"query": "<query>"
},
"name": "search_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute or relative path to a .docx file | |
| query | Yes | Text to search for (case-insensitive) |