Search legislation and court decisions
searchFind passages of legislation and court decisions. Answers with the passages themselves (an article, a paragraph of a judgment), each with its document, date, id and url. A query that names a text ("art. 6:162 BW", "§ 823 BGB", "ECLI:NL:HR:2019:2006", "32016R0679 art 17") is answered with that text first. Write the query in the language of the documents; set jurisdiction when you know it.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Only laws, only court decisions, or only treaties. | |
| lang | No | Two-letter language to match and answer in (texts that exist in several languages). Default: the query's language. | |
| mode | No | hybrid (default) matches words and meaning; text only words; meaning only meaning. | |
| cites | No | Only passages that cite this document or article: an id, id#element, or a citation. | |
| court | No | Words from the court's name, e.g. "Hoge Raad", "Bundesgerichtshof", "Grand Chamber". | |
| limit | No | Passages to return, 1–20. Default 5. | |
| query | Yes | Words, a question, or a citation. Put a phrase in double quotes to require it literally. | |
| source | No | Source ids from list_sources, comma-separated. | |
| within | No | Only passages of this document: an id or a citation. | |
| date_to | No | Latest document date, YYYY-MM-DD. | |
| doc_type | No | A document type as shown in results, e.g. regulation, directive, act, judgment, opinion. | |
| date_from | No | Earliest document date, YYYY-MM-DD. | |
| max_tokens | No | Size of the answer in tokens, 200–8000. Default 1500. | |
| jurisdiction | No | One or more of: eu, coe (European Court of Human Rights), nl, fr, de, at, ch, lu, gb. Comma-separated. |