yoto_story_validate
Checks a Yoto story graph for unreachable nodes, dead ends, missing targets, and endless loops, reporting issues without writing any changes.
Instructions
Check a story graph for unreachable nodes, dead ends, missing targets and endless loops. Writes nothing.
A graph: {"start"?: id, "nodes": [{"id", "type": "choice"|"segment"|"end", "title",
"tracks": [{"title", "audio": "yoto:#…" | media | asset name, "icon"?}], "next"?: id|"stop",
"left"?: id, "right"?: id}], "assets"?: {name: media}, "expect"?: [{"presses": ["right", "left"],
"plays": [node ids]}]}. A choice waits for a button; a segment plays on to next; an end stops.
Node order is chapter (dial) order, with the start node first. Full schema: yoto://schema/story-graph.
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": {
"graph": "<graph>"
},
"name": "yoto_story_validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| graph | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||