docx.text_find_locations
Searches a DOCX document for specified text and returns the exact coordinates of every match. Pinpoint where content resides so you can target edits with precision.
Instructions
Find text and return exact coordinates of all occurrences - LLM can see where to edit
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": {
"docId": "<docId>",
"searchText": "<searchText>"
},
"name": "docx.text_find_locations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| docId | Yes | Document ID | |
| searchText | Yes | Text to search for | |
| caseSensitive | No | Case sensitive search (default: false) |