read_page
Retrieves the full content of an indexed documentation page by library and URL or path, returning long pages in chunks with continuation details.
Instructions
Read the full content of an indexed documentation page, for example a URL returned by search_docs or list_pages. Long pages are returned in parts; the response says how to continue.
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": {
"library": "<library>",
"pathOrUrl": "<pathOrUrl>"
},
"name": "read_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| library | Yes | Library name. | |
| version | No | Library version (exact or X-Range, optional). | |
| maxChars | No | Maximum characters to return (default 30000). Only whole chunks are returned, so a single longer chunk is returned on its own. | |
| pathOrUrl | Yes | Page URL, or a path matching the end of one page URL (e.g. 'https://react.dev/reference/react' or '/reference/react'). | |
| startChunk | No | Chunk to start from, as given by a previous response (default 0). |