get_component_usage
Generate copy-paste-ready import and JSX code for any component from Storybook argTypes and preset args, so you can integrate components without writing boilerplate.
Instructions
Get copy-paste-ready component usage code (import + JSX) built from story argTypes and preset args.
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": "get_component_usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | ||
| variant | No | ||
| componentName | Yes |