Search the documentation
search_docsSearch Perfect UI 1.0.0 documentation sections by keywords, with typo tolerance. Returns matching sections with snippets and scores to help coding agents find relevant UI components and instructions.
Instructions
Full-text search over the sections of every Perfect UI 1.0.0 document (prefix and typo tolerant). Returns the document slug (for get_component), the section heading (empty for the opening section), a snippet and a score, best first.
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 |
|---|---|---|---|
| limit | No | how many sections to return, 1 to 10 (default 5) | |
| query | Yes | words to look for, for example 'modal backdrop' or 'dark mode' |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| results | Yes |