docs_read
Read a specific documentation page by source ID and page path, or list all pages in a source when page path is omitted.
Instructions
Read a specific documentation page. Provide sourceId and pagePath to read the full content. If pagePath is omitted, lists all pages in the source.
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": {
"sourceId": "<sourceId>"
},
"name": "docs_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pagePath | No | The page path within the source (e.g., "hooks/useEffect"). If not provided, lists all pages in the source. | |
| sourceId | Yes | The source ID (e.g., "react", "nextjs") |