Eat Food
minecraft_eatEquips a food item and eats it to restore hunger. Handles errors for missing items, non-food items, or full hunger.
Instructions
Equips a food item from inventory and eats it to restore hunger.
Returns: { message: string } Errors: item not found, item isn't food, or the bot can't eat right now (food already full).
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": {
"item_name": "<item_name>"
},
"name": "minecraft_eat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item_name | Yes | e.g. "cooked_beef", "bread", "apple" |