get_component_quick_ref
Retrieve a full quick reference for a web component's API: attributes, methods, events, slots, CSS, and anti-patterns. Use first to prevent errors.
Instructions
Returns a complete quick reference for a web component — all attributes with types and valid enum values, methods, events, slots, CSS custom properties with examples, CSS parts with ::part() selectors, a ready-to-use CSS snippet, Shadow DOM warnings, and antiPatterns (component-specific "don't do this" negative examples using real tag/part/token names). Use this as the FIRST call when working with any web component to get the complete API surface and avoid common mistakes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| libraryId | No | Optional library ID to target a specific loaded library instead of the default. | |
| tagName | Yes | The custom element tag name (e.g. "sl-button"). |