validate_component_usage
Validate a TSX/JSX snippet against real @marmoui/ui prop signatures. Returns {valid, issues[]}. Prefer review_generated_code for post-generation review (it also auto-fixes namespace patterns and suggests related patterns). Use this tool when validating user-provided or existing code rather than newly generated code.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | TSX/JSX code snippet to validate against @marmoui/ui | |
| iconLibrary | No | Optional: icon library the code must import icons from. Default: "phosphor". When set, imports from any other icon library are reported as errors. Supported: phosphor, material, lucide, tabler, heroicons, feather. |