Search a case
search_caseSearch the text taken from a case's files (text files and PDF text layers, and on Team and Enterprise OCR of images and scans and transcription of audio and video where this server has them set up). Each hit names the version and gives short snippets; not_searchable lists versions with no text yet and why. Logged with a keyed hash of the query (an HMAC under a key derived from the case key), never the query itself. Refused when your access is redacted only. Scope: cases:read. REST twin: GET /api/cases/:id/search. Errors: unauthorized, insufficient_scope, not_found, forbidden, consent_required, validation_error, payment_required.
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": {
"case_id": "<case_id>",
"q": "<q>"
},
"name": "search_case"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | The words to find, matched as typed, ignoring case. | |
| case_id | Yes | The case id (cas_...). |