Read captured source text
get_source_textFetch captured statute, regulation, or opinion text by document ID. Filter sections by query, outline structure, or cap returned characters for targeted legal reading.
Instructions
The captured text of a statute, regulation, court rule, or opinion. Document ids come from get_case (capturedSources) or a search_library source hit. It does not have to arrive whole: outline lists the sections and their sizes, query returns only the sections matching it, maxChars caps how much text comes back, and offset pages through sections. Follow readText for exact complete text or each section's readMore for its clipped tail; nextOffset alone does not cover clipped text. Query uses the same phrase, shorthand, and word-form rules as search_library. Use matchedPassage.readMatch to read around a late match. Stored text does not require a manual download.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max sections, default 50. | |
| query | No | Return only the sections that match these words, most matching first. Use it for "the part about X" instead of reading the whole document. | |
| offset | No | First section to return, default 0. | |
| outline | No | Structure only: every section's index, label, heading, and length, with no text. The cheapest way to find the part worth reading. | |
| maxChars | No | Cap the text returned across all sections; the last one is clipped and says so. An excerpt, rather than all-or-nothing. | |
| documentId | Yes |