search_documents
Search all case documents for lines containing every word of a query to locate names, amounts, or phrases. Returns matching snippets with page and line references for follow-up reading.
Instructions
Find lines containing every word of the query (literal, case-insensitive) in all documents.
Use this to locate where a name, amount or phrase appears. Returns {results: [{doc_id,
snippet, line}], total_matches, truncated}; `line` is like "L12" or "p1 L4" for PDFs. Then
use read_document to see the context.
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": {
"query": "<query>"
},
"name": "search_documents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Words to find; all must match. | |
| max_results | No | Maximum hits to return. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||