Build an animated story page
storyGenerates an animated HTML page from a JSON view-definition file whose views focus, dim, highlight, or reveal parts of one figure, overwriting the specified output page.
Instructions
Present one figure as a story: a story file lists views that focus, dim, highlight and reveal parts of it, and one HTML page animates between them. Writes OUT.html and returns JSON with ok, the path and the views; overwrites an existing page. describe story shows the story file's shape. For a plain figure use render.
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": {
"story": "<story>",
"out": "<out>"
},
"name": "story"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| out | Yes | The page to write, ending .html. | |
| story | Yes | Path of the story file (JSON). |