eul:get_document
Retrieve EU legislation from EUR-Lex using a CELEX number, with optional section extraction or file saving.
Instructions
Retrieve EU legislation from EUR-Lex by CELEX number (e.g., "32016R0679" for GDPR, "32001L0029" for InfoSoc). Returns full text in Markdown. Use section for partial content: "Art. 5", "Artikel 5", or "lines:100-200". Use save_path to save to file instead of returning content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| celex | Yes | CELEX number (e.g., "32016R0679", "32001L0029", "12016E267") | |
| section | No | Extract section: "Art. 5", "Artikel 5-10", "Kapitel III", or "lines:100-200" | |
| language | Yes | Language code (default: DE) | DE |
| save_path | No | Save full document to this file path instead of returning content |