simulate_attack
Predict attack outcomes without altering game state: returns expected damage, counter-damage, and death status. Optionally simulate from a different tile to evaluate move-then-attack sequences before committing.
Instructions
Read-only. Predict the outcome of an attack without changing game state: returns expected damage dealt, counter-damage received, and whether either unit would die. attacker_id and target_id are unit string identifiers from get_state. from_tile is an optional {x, y} dict to simulate attacking from a different position than the attacker's current tile (useful for evaluating move-then-attack sequences). Use this to compare attack options before committing with the attack tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection_id | Yes | ||
| attacker_id | Yes | ||
| target_id | Yes | ||
| from_tile | No |