get_reachable_tiles
Identify every tile a unit can legally move to with its remaining movement, using the game engine's own calculations for terrain, roads, rivers, and enemy zone of control.
Instructions
List the tiles a unit can legally reach with its remaining movement.
Args:
unit_id: The unit's composite ID (from get_units output)
Uses the engine's own reachable-movement calculation, so terrain and feature
costs, roads and railroads, river crossings, embarking, zone of control and
impassable terrain are all already applied. Prefer this over reasoning about
per-tile movement cost yourself — that omits river/road effects and there is
no impassable flag to read.
Each line: (x,y) terrain [feature] mv:<cost> [occupied by <unit> of player N]
A tile occupied by a hostile unit is an attack target, not a move
destination, so it will not appear here.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |