read
Read part of a long document: a range of pages, or one article.
Pass document_id and either page_from (and optionally page_to), as fetch's next
suggests, or article ('15', 'Art. 15', 'primero', 'único') for that article's full text,
however many pages it spans. max_chars is at most 40,000 (the default).
Returns the text verbatim with a [p. N] marker before each page, path (where the window
starts in the document's structure: título, capítulo, artículo), url, and, when the window
did not fit, truncated: true with next for the following call. To find a phrase in a long
document instead of paging through it, use search with its document_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| article | No | ||
| page_to | No | ||
| max_chars | No | ||
| page_from | No | ||
| document_id | Yes |