Get Legal Document Markdown
get_legal_document_markdownRetrieve the full Markdown text of EU or ECHR legislation and court judgments by URL, ECLI, ELI, or official ID, with pagination for long documents.
Instructions
Retrieve full Markdown text of a legislation document or court judgment (HTML or PDF) from European Union & ECHR (EU) by its URL or official identifier.
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": {
"document_id_or_url": "<document_id_or_url>"
},
"name": "get_legal_document_markdown"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (5,000 characters per page). | |
| document_id_or_url | Yes | Document URL (.html or .pdf), ECLI, ELI, or official ID returned by search tools. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||