Read a Candor UI docs page
get_component_docsRead one item's docs as Markdown: what it is, its tier and install command, an example with the import paths an app uses, every prop, function, type, and the LocaleProvider string keys.
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": {
"name": "<name>"
},
"name": "get_component_docs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The registry name, e.g. "thread", "approval-request" or "cost-guard-claude". | |
| version | No | A release, e.g. "2.6.2": the page as that release published it, for a project that has that version installed. Default: the version the server's URL passes (`?kit=`, which `npx candor-ui mcp` writes from candor-lock.json), else the current docs. When that release's docs weren't kept, or the page isn't in them, the answer is the current page with a note saying so. |