Open a story
open_storyLoad a Storybook story by ID in a headless browser and start capturing all custom events it dispatches, clearing old captures and returning the cursor before interactions.
Instructions
Load a story by id in a real (headless) browser and start capturing every custom event it dispatches, including any dispatched while the story itself is rendering (e.g. from connectedCallback). Clears any previously captured events, and reports the sinceSeq cursor to use from here on. Call this before click, dispatch_event, or get_events.
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": {
"storyId": "<storyId>"
},
"name": "open_story"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| storyId | Yes | A story id from list_stories, e.g. 'demo--buttons'. |