click-window-slot
Clicks a slot in the open Minecraft window to select, pick up, or move items in an inventory or container. Specify the slot index, click mode, and left or right mouse button.
Instructions
Click a slot in the currently open Minecraft window
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": {
"slot": "<slot>"
},
"name": "click-window-slot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Mineflayer click mode; defaults to 0 normal click | |
| slot | Yes | Window slot index | |
| mouseButton | No | 0 = left click, 1 = right click |