Extract text of a filing document (AT)
get_document_textBeispiel: „Was steht im Lagebericht des letzten Jahresabschlusses?“
Extracted text of ONE Austrian filing document, by its document key. Returns a WINDOW of the text, pageable via offset. Read-only.
Parameters:
- doc_key (required): the document_ref from list_documents (an Austrian filing key).
- max_chars (optional, default 40000, clamped 1000-120000): size of ONE window.
- offset (optional, default 0): character position the window starts at. To read a long
filing, call again with offset = the previous response's ``next_offset`` until
``has_more`` is false; ``chars`` is the document's total length. Without offset the tail
of a filing -- where the Anhang sits -- is unreachable at any cap.
Returns {doc_key, text, chars, offset, returned_chars, next_offset, has_more, ...} with
the filing's Stichtag for citation. ``attachments`` lists the documents embedded in the
filing (Anhang, Lagebericht, Bestaetigungsvermerk) with their page count and whether their
text could be extracted -- a scanned Anhang says so instead of answering empty, and when
nothing can be extracted ``note`` explains why. Austria only today. Use list_documents to
discover the key, get_document for the original artifact.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": {
"doc_key": "<doc_key>"
},
"name": "get_document_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offset | No | ||
| doc_key | Yes | ||
| max_chars | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||