get_component
Look up a component by name or ID to retrieve its implementation details for reuse. Resolves ambiguity with contextual path scope and returns JSON or actionable guidance.
Instructions
Look up a component by name or id. Read-only, no side effects. Pass context (your current working file or directory) so same-name components resolve by path scope. Returns the component JSON (with its id) when the lookup resolves to exactly one component, or an error listing available names if not found. When several components share the name and neither governance nor scope decides, returns { ambiguous, matches, instruction } — follow the instruction: match each candidate's rationale.when against the user's intent, and if that doesn't decide, ask the user; never pick arbitrarily. Use this when you need implementation details for a known component to reuse it rather than recreate it. For a list of all components, use get_design_context with category 'components' instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| context | No |