Equip an item
equip_itemEquip an item from the player's inventory into a chosen slot, defaulting to the main hand. Fails if the item is not found.
Instructions
Move the first matching stack from the player's inventory into a slot (main hand by default). Fails if the player doesn't have the item.
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": "<item>"
},
"name": "equip_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item | Yes | Item to equip, as a lowercase Bukkit material key (e.g. "diamond_sword", "oak_planks") | |
| slot | No | Target slot name or raw inventory slot index (default main_hand) | |
| player | No | Online player name (defaults to the first online player) |