Play a step
stepAdvance the game: slide toward an x position and hold fire for a number of ticks (20 ticks = 1 second). Returns what happened, a sky view and every alien, shot, UFO and loot pod.
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": {
"game_id": "<game_id>"
},
"name": "step"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fire | No | Hold fire during this step. Default true. | |
| ticks | No | Ticks to advance. Default 4. | |
| game_id | Yes | The game_id returned by new_game. | |
| move_to | No | x position to slide toward at full speed (26 per second). Leave out to stay where you are. |