primitives_get_component_source
Retrieve the source code for any Radix primitives component, such as accordion or dialog, by specifying its name.
Instructions
Get the source code for a specific Radix primitives 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": {
"componentName": "<componentName>"
},
"name": "primitives_get_component_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| componentName | Yes | Name of the Radix primitives component (e.g., "accordion", "dialog") |