Get a DIYA component
get_componentEverything needed to use one DIYA component or pattern correctly: import, props with types and defaults, content slots, controlled and uncontrolled state, the types its props use, accessibility, and a complete .tsx file that type-checks.
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 | Export name, title or catalog id: "Switch", "Side Navigation", "text-input" | |
| include | No | Sections to return; props, accessibility and example if left out |