Get an AI Canvas component (full metadata + source code)
get_componentFetch the complete record for a component, including metadata and full .tsx source code, to inspect the exact implementation before installing it in your project.
Instructions
Return the complete record for a single component: metadata + the entire .tsx source code as a string. Use after the user picks one from a search/list result and wants to see the implementation, or before installing if they want to inspect first. The source is the exact file the CLI install would write into a project.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | The component slug, e.g. "ai-job-cards", "wave-lines", "halo-type". Use exact slugs from list/search results. |