Get Legal Document Markdown
get_legal_document_markdownRetrieve full Markdown text of legislation or court judgments by jurisdiction using a URL, ECLI, ELI, or official identifier, with paginated results and warnings when access is blocked.
Instructions
Retrieve full Markdown text of a legislation document or court judgment (HTML or PDF) for a specified jurisdiction using its URL, ECLI, ELI, or official identifier. Supports 5,000-character pagination and surfaces transparent warnings if blocked.
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": {
"jurisdiction": "<jurisdiction>",
"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). | |
| jurisdiction | Yes | Target jurisdiction ISO code or country name (e.g. 'uk', 'ch', 'eu', 'us'). | |
| document_id_or_url | Yes | Document URL (.html or .pdf), ECLI, ELI, U.S.C. citation, or ID returned by search tools. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||