Move through the story (back / restart / goto)
navigateControl passage flow in a Twine game: undo the last passage, restart with an optional seed, or jump to a named passage for QA testing.
Instructions
back: undo one passage (SugarCube/Harlowe). restart: start over, optionally reseeded. goto: jump straight to a named passage — QA only, it skips the path there.
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": {
"action": "<action>"
},
"name": "navigate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | New SugarCube PRNG seed for action:"restart". | |
| action | Yes | What to do. | |
| format | No | "text" (default) or "json". | |
| target | No | Passage name for action:"goto". | |
| game_id | No | Session id from open_game. Omit when a single game is open. |