Dokumentabschnitt
ris_dokument_abschnittFetch a single section from a document already open in the RIS viewer for widget display; use ris_dokument instead for full-text retrieval.
Instructions
Return one section of a document already open in the RIS document viewer. Intended for the viewer widget, not for direct use — for the full text of a document use ris_dokument.
Rechtsverbindlich sind nur die authentischen Kundmachungen im RIS; diese Ergebnisse sind keine Rechtsberatung.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ris_dokument_abschnitt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Direct URL of the open document, for documents opened by URL rather than by number | |
| offset | No | Character offset into the document text; 0 returns the first section and the outline | |
| dokumentnummer | No | RIS document number of the open document - from the ris_dokument call that opened it |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The requested section of the document text | |
| outline | No | Jump targets of the document. Only returned for offset 0; empty when the document has no headings | |
| source_url | No | RIS URL the document text was rendered from | |
| attribution | No | Quellenangabe nach CC BY 4.0 | |
| next_offset | Yes | Offset to request for the following section, or null at the end of the document | |
| total_length | Yes | Length of the complete document text — compare across calls to detect that the document was re-fetched and offsets shifted | |
| dokumentnummer | No | RIS document number of the document this section belongs to |