Read Law
read_lawWHEN a law is known and text is needed, read by forgiving selector strings such as 'pasal 27', 'pasal 27-30', 'pasal 13-16, pasal 27-37, pasal 40-41', 'bab III', 'menimbang', 'lampiran', or 'all'. For parsed-text gaps, 'source find Pasal 65' locates standalone headings in the canonical archived PDF (up to 100 physical pages per scan); 'source pages 29' reads up to 5 physical PDF pages. Stored node page hints are unverified. Budget: max_chars default 30000, hard cap 100000, cursor pagination. law.source has the official link; if source.verified is false, say quoted text is unverified.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| law | Yes | Canonical law_id or citation string accepted by resolve_law. | |
| versi | No | asli (default) = naskah asli yang diindeks; terkini = versi konsolidasi tidak resmi, hanya jika law.consolidation.available. | asli |
| cursor | No | Cursor from a prior truncated response. | |
| selector | Yes | Selector string: all, pasal 27, pasal 27-30, pasal 13-16, pasal 27-37, pasal 40-41 (multi-range), bab III, menimbang, mengingat, penjelasan umum, penjelasan pasal 5, lampiran; source find Pasal 65, source find penjelasan Pasal 65, source pages 29 (1-based physical PDF pages, at most 5). | |
| max_chars | No | Maximum aggregate characters. Default 30000, minimum 1000, hard cap 100000. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||