Run a batch of actions
playBatch multiple Twine game actions into one call and get a compact log plus final observation; execution stops at the first failure.
Instructions
Run several actions in one call and get one compact log plus the final observation, instead of a full observation per step. Tokens: 3 or "label" (choose), "wait 800", "back", "restart", "goto ", "click ", "fill = ", "# note". Stops at the first failure.
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": {
"steps": "<steps>"
},
"name": "play"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | Yes | Actions in order: 3 / "Label" / "wait 800" / "back" / "goto Hall" / "click SAVES" / "# note". | |
| until | No | Stop early once this text appears in the passage. | |
| format | No | "text" (default) or "json". | |
| game_id | No | Session id from open_game. Omit when a single game is open. | |
| max_steps | No | Cap how many steps run (default 20). |