get_terrain_grid
Sample the navigation graph into one terrain grid covering walkability, water, roads, building interiors, and bridge candidates. Replace repeated point queries with one capped grid call for faster mapping.
Instructions
Sample the game's navigation graph into a terrain grid in one call: walkability, water, roads, building interiors, bridge candidates and optional ground heights. Much faster than repeated get_navigation_point calls (needs plugin 0.2).
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": {
"session_id": "<session_id>"
},
"name": "get_terrain_grid"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| step | No | Grid step in world units (default 50) | |
| max_x | No | ||
| max_z | No | ||
| min_x | No | ||
| min_z | No | ||
| max_cells | No | Safety cap for cols*rows (default 20000) | |
| session_id | Yes | Current session_id from get_state | |
| include_heights | No | Also return per-cell ground height rows |