View Nearby Entities
minecraft_get_nearby_entitiesDiscover entities around the Minecraft bot, sorted by distance. Filter by player, hostile, or mob within a configurable radius.
Instructions
Lists players, mobs, and other entities near the bot, closest first — the bot's awareness of who/what is around it.
Args:
radius (number, 1-64): search radius in blocks (default 16)
type_filter (string, optional): one of "player", "hostile", "mob" (non-hostile mobs/animals), "all" (default "all")
Returns: { count: number, entities: [{ id, type, name, username?, x, y, z, distance }] }
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "minecraft_get_nearby_entities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| radius | No | ||
| type_filter | No | all |