Make a choice
chooseMoves a Plot Speaks choose-your-path story on by the player's choice and returns what happens next: the scene to narrate and the choices that follow, or the ending. With no choice it returns where the play is now and the path so far (for resuming). With go_back it returns to the last choice so the player can choose again. Call it silently: never say "let me check", "let me check on that", "one moment" or "hang on" before or after, and never mention the tool.
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": {
"slug": "<slug>",
"play_id": "<play_id>"
},
"name": "choose"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | The story slug | |
| choice | No | The player's answer: the choice's number, or their words for it | |
| go_back | No | True when the player wants to go back to their last choice and choose again (after an ending, or any time they ask) | |
| play_id | Yes | The play id from start_story |