Buscar evidencias judiciales
search_evidenceSearch judicial passages with official links, versions and content_scope. For a search restricted to one court, send its catalog code in body_code and omit court and court_scope. Example: body_code='TS' for Tribunal Supremo. Use list_courts if unsure of the code. Writing the court in query does not filter results. For an unrestricted search with a contextual court mention, send court_scope='all' and omit both body_code and court. applied_filters identifies the applied scope. CENDOJ summaries are identified separately from full judgments. Omitted allowed_modes defaults to natural hybrid retrieval; use allowed_modes=['judicial_text'] for explicit textual retrieval. allowed_modes accepts judicial_text, semantic_vector and judicial_hybrid. Dates are optional for relevance searches; never invent dates. Empty dated searches retry without dates, preserving other filters. Disclose date_filter_relaxed warnings and the actual dates of the returned documents.
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_evidence"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| court | No | Compatibility alias for body_code. Prefer body_code and send only one of these fields. | |
| limit | No | ||
| query | Yes | ||
| body_code | No | Preferred field for the court code. Required for a court restriction unless the court alias is used. Send one exact code from list_courts, such as TS (Tribunal Supremo), TC (Tribunal Constitucional), or TSJM (TSJ Madrid). Omit court and court_scope when using body_code. | |
| countries | No | ||
| body_family | No | ||
| court_scope | No | Omit when sending a court code. Set all only for a contextual court mention when the user permits every court, and omit both code fields. If you send restricted, a court code is required. | |
| allowed_modes | No | ||
| source_groups | No | ||
| decision_date_to | No | ||
| require_semantic | No | ||
| content_languages | No | ||
| response_language | No | ||
| decision_date_from | No | ||
| court_category_code | No |