Atparl Get Document
atparl_get_documentRead eligible Austrian parliamentary HTML documents as Markdown or confirm that a PDF exists. For long documents, choose a section from the returned outline or use a Randnummer (RN) anchor to read a plenary protocol section.
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": {
"url": "<url>"
},
"name": "atparl_get_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Official Parliament document URL or /dokument/ path from another tool. An HTML plenary protocol may include an RN anchor such as #130. | |
| section | No | Section ID from outline or next_section. If url has an RN anchor, the supplied section must match it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Canonical document URL without a selector. | |
| error | No | Present when the call failed. Absent on success. | |
| found | No | Whether the document exists and is eligible, including PDF-only documents. | |
| notice | No | How to read an outlined document. | |
| reason | No | Why Markdown is unavailable. format_unavailable means the source is PDF-only. | |
| source | No | Parliament source attribution. | |
| outline | No | Ordered section selectors for a body over 40,000 bytes. | |
| section | No | Details of the selected section. | |
| markdown | No | Complete Markdown body or selected section. | |
| size_bytes | No | Full converted body size in UTF-8 bytes. | |
| next_section | No | Selector for the following section, or null at the end. |