# `MishkaChelekom.MCP.Tools.GenerateComponent`
[🔗](https://github.com/mishka-group/mishka_chelekom/blob/v0.0.9/lib/mishka_chelekom/mcp/tools/generate_component.ex#L1)

Generate a Mishka Chelekom component with specific customization options.

Returns the mix command to run for creating the component in a Phoenix project.
The component will be generated in the project's components directory.

## Usage

Call this tool with a component name and optional customization parameters.
Use the list_components resource to discover available components.
Use list_colors, list_variants, and list_sizes resources for valid option values.

## Example

Generate a button component with primary color and outline variant:

    generate_component(name: "button", color: "primary", variant: "outline")

Returns:
    mix mishka.ui.gen.component button --color "primary" --variant outline

# `get_schema`

# `mcp_schema`

# `mcp_schema!`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
