lex_get_document
Fetch the full parsed content of an EU document by CELEX number, including metadata and structured body with articles, sections, and tables.
Instructions
Fetch the full parsed content of a single EU document by CELEX number. Returns metadata (title, type, dates, author, ECLI/ELI, keywords) plus structured body (articles, sections, tables, annexes). Articles are individually addressable with id, number, title, and content. Use this when the user has a specific CELEX or wants the body of a known document.
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": {
"celexNumber": "<celexNumber>"
},
"name": "lex_get_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| celexNumber | Yes | CELEX identifier, e.g. 32016R0679 for the GDPR. | |
| bypassCorpus | No | Force a fresh live fetch instead of the cached copy. |