Search GPUI Kit docs
search_docsSearch GPUI Kit documentation by keyword to locate matching guides and component reference pages, returning titles, paths, descriptions, and snippets for follow-up reading.
Instructions
Full-text search across all GPUI Kit documentation (guides, gpui-base primitives, components, gpui-shell). Returns matching pages with title, path, description and a content snippet. Start here, then call get_doc with the returned path.
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": {
"query": "<query>"
},
"name": "search_docs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Documentation language: "all" (default, auto-prefers the query language), "en", or "zh" (zh-CN). | |
| limit | No | Maximum results (default 8, max 25). | |
| query | Yes | Search keywords, e.g. "button loading", "focus trap", "data table", "按钮". | |
| section | No | Restrict to a section: "docs", "base", "component", "shell", or a path prefix such as "base/primitives". |