Read player inventory
get_inventoryRetrieve a Minecraft player's inventory: hotbar, main storage, armor, offhand, and selected hotbar slot.
Instructions
Read the player's inventory: hotbar, main storage, armor, offhand contents and the currently held hotbar slot.
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": "get_inventory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| player | No | Online player name (defaults to the first online player) |