selectAction
Process a user's selected action from the UI to advance the game narrative. Call after presenting options to reflect the player's choice.
Instructions
Process the user's selected action from the UI and continue the game flow. This tool should be called after promptUserActions when the user makes a selection. Use updateGame next to reflect the result of the action.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gameId | Yes | ID of the game | |
| selectedOption | Yes | The option text user selected | |
| selectedIndex | Yes | Index of selected option (0-based) |