docketbird_get_document_text
Extract plain text from court filings for reading, summarizing, or quoting content. Supports pagination through long documents with offset and max_chars parameters.
Instructions
Get the extracted plain text of a court filing.
Returns what the document says (for summarizing, quoting, comparing) rather
than its metadata or PDF — those come from docketbird_get_document /
docketbird_download_document.
Availability varies: some documents aren't downloaded yet, some are scans
with no text layer, some docket entries are text-only stubs with no
document. When no text is available this returns a clear message — the PDF
may still be retrievable via docketbird_get_document.
When to use:
- Reading, summarizing, or quoting a filing's contents
- Pulling the complaint's text after docketbird_get_case points to it
Args:
document_id: DocketBird document ID (e.g., 'txwd-1:2022-cv-00398-00177')
offset: Character offset into the text to start from (for paging
through long documents; default 0).
max_chars: Maximum characters to return (default 50000, max 200000).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offset | No | ||
| max_chars | No | ||
| document_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |