Buscar resoluciones
search_decisionsSearch Spanish and EU court judgments by legal issue, terms, body, date or source. Filter countries with ES, EU or both. Dates are optional for relevance searches; never invent them. An empty dated search is retried without dates, preserving all other filters. Disclose date_filter_relaxed warnings; omit dates when paginating relaxed results. Optional source_groups accepts only boe_tc, cendoj, tc_hj, curia; omit it to search all judicial sources. The judicial corpus excludes DYCTEA and PETETE. Returns matching decisions with identifiers, metadata, official links, and indexed excerpts. Free-text query defaults to natural hybrid thematic retrieval, requiring vectors and limited to a window of up to 50 decisions. Select search_mode=strict explicitly for textual operators and phrases. query_intent implies strict when search_mode is omitted; do not combine query_intent with explicit natural. The original free-text query is preserved; retrieval does not establish legal interpretation or exhaustive coverage. For a thematic search, send a non-empty query and omit query_intent. For structured textual search, query_intent accepts only required, any_of, phrases and exclude, each an array of non-empty strings. Include at least one term in required, any_of or phrases. For a specific court, use its exact catalog code, such as TS or TC. If unsure, call list_courts first.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "search_decisions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| court | No | ||
| query | No | Use this field alone for free-text searches. | |
| date_to | No | Optional upper date bound. Omit for thematic relevance searches; never invent a date. Empty dated searches retry without dates and disclose the change. | |
| per_page | No | ||
| countries | No | ||
| date_from | No | Optional lower date bound. Omit for thematic relevance searches; never invent a date. Empty dated searches retry without dates and disclose the change. | |
| search_mode | No | Free-text query defaults to natural hybrid exploratory retrieval, requiring vectors and using up to 50 decisions. Select strict explicitly for textual operators and phrases. If query_intent is supplied without search_mode, strict is implied; explicit natural with query_intent is invalid. The original query is preserved; retrieval does not establish legal interpretation or exhaustive coverage. | natural |
| query_intent | No | Optional structured terms. Use at least one term in required, any_of or phrases. | |
| source_groups | No |