Read a GPUI Kit doc page
get_docRead GPUI Kit documentation pages as Markdown by path, title, or slug, and return only the requested section to keep context small.
Instructions
Read a GPUI Kit documentation page as Markdown. Accepts a path from search_docs (for example /component/button.md) or a page title/slug such as "Button". Use section to return only one heading's content on long pages. When a title matches several pages, the available paths are returned so you can choose.
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": {
"path": "<path>"
},
"name": "get_doc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Documentation language: "all" (default, auto-prefers the query language), "en", or "zh" (zh-CN). | |
| path | Yes | Page path ("/component/button.md"), URL, or title/slug ("Button"). | |
| section | No | Return only the section whose heading contains this text, e.g. "Usage" or "Variants". | |
| maxChars | No | Maximum characters of page body to return (default 24000). |