Read a documentation page
get_doc_pageRead one documentation section of a control as Markdown — installation steps, canvas or model-driven configuration, examples, limitations. Use list_doc_sections first for the sections that control publishes; use get_component instead for the structured property reference. Passing a version returns the documentation pinned to that release rather than the current page. A section the control does not document returns an error pointing at list_doc_sections, and the Markdown comes back without the frontmatter the site keeps.
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": {
"slug": "<slug>",
"section": "<section>"
},
"name": "get_doc_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | The control's slug, e.g. "pcf-tag-list". | |
| section | Yes | Which section to read. | |
| version | No | Documentation pinned to a specific release. Defaults to the current documentation. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Absolute URL of the page, for citing. | |
| title | Yes | ||
| section | Yes | ||
| version | No | The release this documentation describes. | |
| contentMd | Yes | The page as Markdown, with its frontmatter removed. Empty when the page has no content. | |
| sourceUrl | No | The file in the author's repository this was compiled from. | |
| updatedAt | No | ISO 8601. | |
| description | No | ||
| componentName | Yes | ||
| componentSlug | Yes | ||
| isVersionPinned | Yes | True when a version was asked for, rather than the current documentation being returned. |