Get Legal Document Markdown
get_legal_document_markdownRetrieves the full Markdown text of an Estonian legislation document or court judgment using its URL, ECLI, ELI, or official identifier.
Instructions
Retrieve full Markdown text of a legislation document or court judgment (HTML or PDF) from Estonia (EE) 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 | |||