lex_search
Search EUR-Lex using free text, date range, document type, author, and language filters. Returns a paginated list of matching documents with CELEX numbers, titles, and dates.
Instructions
Search EUR-Lex with structured filters (free text, date range, document type, author, language). Returns a paginated list of matching documents with CELEX numbers, titles, and dates. Use this when the user wants to find documents matching a topic or filter; use lex_get_document afterwards to fetch full content of a specific result.
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": "lex_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Free-text search. | |
| textScope | No | Where to apply the query string. | |
| dateFrom | No | ||
| dateTo | No | ||
| year | No | ||
| documentType | No | ||
| author | No | ||
| language | No | en | |
| maxPages | No | Result pages to fetch (clamped by subscription tier). |