Get component documentation
get_componentReturns full component documentation—import statement, props with allowed values and defaults, and a usage example. Use before coding to ensure correct usage.
Instructions
Returns the full documentation of a component: import statement, props with their allowed values and defaults, and a usage example. Use it before writing code with the 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_component"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Component name, e.g. Button |