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.
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). |