View Nearby Blocks
minecraft_get_nearby_blocksScan the Minecraft world for visible non-air blocks within a configurable radius, filtering by exact block IDs to locate terrain, structures, or resources before building or navigating.
Instructions
Scans the world around the bot and lists non-air blocks it can see, closest first. This is the bot's "eyes" for terrain/structures — use it before building or navigating.
Args:
radius (number, 1-32): how far to scan, in blocks (default 8)
block_names (string[], optional): only return blocks matching these exact Minecraft block ids (e.g. ["oak_log", "stone", "chest"]). Omit to return all non-air blocks.
Returns: { count: number, blocks: [{ x, y, z, name }] } capped at 400 results.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| radius | No | ||
| block_names | No | Exact block id filter, e.g. ['diamond_ore'] |