get_primitive
Get full metadata for a Radix primitive: parts, props, accessibility contract, and minimal example. Reference before writing or editing any Radix component.
Instructions
Get full metadata for a Radix primitive: composable parts, props by part, the accessibility contract, and a correct minimal example. Use before writing or editing any Radix component.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>"
},
"name": "get_primitive"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Primitive name, e.g. "Tooltip", "Dialog", "Select" (case-insensitive). |