get_prop_constraints
Retrieve a structured constraint table for a web component attribute, showing valid values and descriptions for union types, or simple type info for others.
Instructions
Returns a structured constraint table for a component attribute. Union type attributes include all valid values with descriptions. Non-union types return simple type info.
Input Schema
TableJSON 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"). | |
| attributeName | Yes | The attribute or property name to inspect (e.g. "variant"). |