check_component_imports
Scans HTML/JSX/template code for custom element tags and verifies they exist in the component manifest, catching missing or misspelled components.
Instructions
Scans HTML/JSX/template code for all custom element tags and verifies they exist in the loaded CEM. Catches non-existent components and misspelled tag names with fuzzy suggestions. Use this to verify that generated code only references real components.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| libraryId | No | Optional library ID to target a specific loaded library instead of the default. | |
| codeText | Yes | The HTML/JSX/template code to scan for custom element tags. |