Play a step
stepAdvance the game: shoot threats by id (auto-ranged), optionally use a zap, for a number of ticks (20 ticks = 1 second). Returns what happened, a top-down radar and every threat sorted by time to impact.
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 |
|---|---|---|---|
| zap | No | Optional zap on the first tick (3 per game): flash kills everything, pulse kills near and stalls far, dome shields one city. | |
| city | No | City index for a dome zap. | |
| ticks | No | Ticks to advance. Default 4. | |
| game_id | Yes | The game_id returned by new_game. | |
| targets | No | Threat or aircraft ids to shoot, in order, as fast as the gun reloads (about 7 a second). Each shot bursts where the target will be. |