generate_storybook_story
Create Storybook stories for component documentation by providing component name, import path, and props to auto-generate argTypes and story examples.
Instructions
Generate Storybook stories for component documentation
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>",
"componentPath": "<componentPath>"
},
"name": "generate_storybook_story"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| props | No | Component props for argTypes | |
| category | No | Storybook category (default: Components) | |
| componentName | Yes | Component name (PascalCase) | |
| componentPath | Yes | Import path for the component |