explore_frontier
Find a unit's next unexplored destination by listing revealed frontier plots that border unrevealed tiles, nearest first, with reachability and terrain. Use before moving into fog of war.
Instructions
Where the known map ends for this unit: revealed, passable plots of its domain (sea for a ship, land otherwise) that border unrevealed plots, nearest first. Each has unrevealed_neighbors (how much stepping there reveals), distance (hex distance, not path length), reachable (true when a route exists through the already-revealed map; false = behind land or an unknown strait, listed last), terrain t (a Trireme cannot enter OCEAN), and map_edge=true on the polar rows (mostly ice beyond). move_unit refuses unrevealed targets, so an explorer picks its next stop from here. frontier_total / unrevealed_plots say how much is left; note explains an empty list. limit is how many plots to list (default 12).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| unit_id | Yes |