lexml_search
Search the LexML legislative SRU repository using CQL queries or structured filters to retrieve legal documents.
Instructions
Search the LexML SRU acervo.
Args: query: CQL query string (e.g. 'dc.title any "constituição"') start_record: First record position (default 1) maximum_records: Max records to return (default 10, max 100) record_schema: Record schema (default 'dc', allowed: dc, oai_dc) filters: Structured filters {title, terms[], document_type, authority, date_from, date_to}. Mutually exclusive with query. When provided, generates safe CQL.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | ||
| filters | No | ||
| start_record | No | ||
| record_schema | No | dc | |
| maximum_records | No |