search_components
Search frontend components, pages, hooks, and services by name, keyword, or phrase. Returns ranked summaries with layer and path for quick codebase navigation.
Instructions
Search across the full codebase (components, pages, hooks, services, adapters, stores, DTOs, types) by name, path, description, or keywords. Uses fuzzy matching and multi-token scoring. Returns compact summaries (name, layer, path, _score) ranked by relevance — follow up with get_component_detail / get_component_props for full data.
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_components"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | No | Optional: filter results to a specific architecture layer | |
| limit | No | Maximum results to return (default 20) | |
| query | Yes | Search query - component name, keyword, or multi-word phrase (e.g., "patient card", "handoff button") |