Click a choice
chooseClicks a passage option by 1-based number or partial label from the last observation; optional expected text guards against wrong links or dialog buttons.
Instructions
Click a passage choice by 1-based number from the last observation, or by (partial) label. Numbered choices include dialog buttons (tagged [dialog]). Pass expected to guard against clicking the wrong link.
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": {
"choice": "<choice>"
},
"name": "choose"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| choice | Yes | 1-based number from the last observation, or label text (case-insensitive, may be partial). | |
| format | No | "text" (default) or "json". | |
| game_id | No | Session id from open_game. Omit when a single game is open. | |
| expected | No | Substring the clicked label must contain; fails safely if it does not match. | |
| allow_external | No | Allow links that leave the game (default false, they are blocked). |