Use held item
use_itemUse the item held in a player's main hand by simulating a right-click action in Minecraft.
Instructions
Right-click with the item in the player's main hand.
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": "use_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| player | No | Online player name (defaults to the first online player) |