Read a JSONPad docs page
read_docRead a documentation page as markdown, or one section of it. Give a page slug ("indexing"), a /docs path, a jsonpad.io URL (with or without .md, and with an optional #anchor), "sdk/jsonpad-sdk", "sdk/jsonpad-realtime-sdk", "cli/reference" or "cli/readme". Long pages are cut at a section boundary; read on with the returned nextSection.
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": {
"page": "<page>"
},
"name": "read_doc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | The page: a slug, path or URL | |
| section | No | A heading anchor ("filtering-items") or heading text; overrides a #anchor in page | |
| maxChars | No | The most characters of markdown to return |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| title | Yes | ||
| markdown | Yes | ||
| truncated | Yes |