find_stories_by_source_file
Find Storybook stories for a component by providing its source file path. Resolves which stories correspond to a given file.
Instructions
Reverse lookup: given a component source file path, find matching Storybook stories.
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": {
"sourceFile": "<sourceFile>"
},
"name": "find_stories_by_source_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sourceFile | Yes |