Interact with an entity
interact_entityRight-click an entity in Minecraft to open trades, mount, or trigger interactions. Supply the entity ID from get_nearby_entities.
Instructions
Right-click an entity (e.g. open a villager trade or mount). Use an entity id from get_nearby_entities.
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": {
"entity_id": "<entity_id>"
},
"name": "interact_entity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| player | No | Online player name (defaults to the first online player) | |
| entity_id | Yes | Entity id from get_nearby_entities |