get_component_detail
Retrieve detailed metadata for any frontend item by name, including props, hooks, and data flow. Resolves ambiguous names by suggesting file paths.
Instructions
Get detailed information about a specific component, page, hook, service, adapter, or store by name. Returns full metadata including props, hooks, state, child components, event handlers, data fetching pattern, test ids, form-field selectors, accessibility, API endpoints, and architecture layer. If the name matches multiple items, returns ambiguous with candidates — re-call with file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Optional file path to disambiguate if multiple items have the same name | |
| name | Yes | Item name (e.g., "Button", "PatientDetail", "useHandoffState", "patientAdapter") |