search_document
Find text in a document body and return up to 50 matches with surrounding snippets for review.
Instructions
Search the document body for text. Returns up to 50 matches with a text snippet around each hit.
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": {
"text": "<text>"
},
"name": "search_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to find. | |
| matchCase | No | Case-sensitive search. Default false. | |
| documentId | No | Target document ID from list_documents. Optional when only one document is connected. |