---
title: "Get info about a specific hex coordinate (terrain, neighbours, distance)"
method: POST
path: "/api/tools/hex_get_info"
---

# Get info about a specific hex coordinate (terrain, neighbours, distance)

`POST /api/tools/hex_get_info`

## Request

- Base URL: `https://tools.moddable.games`
- URL: `https://tools.moddable.games/api/tools/hex_get_info`
- Auth: none declared

## Request body

- object
  - `q` number, required: Hex Q coordinate (column)
  - `r` number, required: Hex R coordinate (row)
  - `game` string: Game context for terrain lookup
  - `seed` string: Map seed (to look up terrain from a generated map)

## Response `200`

Tool result

---

[API](https://skmtc.dev/moddable/apis/moddable-games-tools.md) · [All operations](https://skmtc.dev/moddable/apis/moddable-games-tools/llms.txt) · [OpenAPI document](https://skmtc.dev/moddable/apis/moddable-games-tools/revisions/637a0b62cb9a?raw)
