get_primitive
Fetch a Radix UI primitive's API, accessibility contract, composition pattern, and known caveats by name to integrate accessible components correctly.
Instructions
Returns the primitive API, accessibility contract, composition pattern, and known caveats for a Radix UI primitive.
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 | The primitive name (e.g. Dialog, Select, Tooltip) |