mc_click
Clicks at scaled GUI coordinates on the current Minecraft screen, with optional left or right mouse button, to interact with in-game menus and controls.
Instructions
Click at scaled GUI coordinates on the current screen (see mc_status scaledWidth/Height).
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": {
"x": "<x>",
"y": "<y>"
},
"name": "mc_click"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | X in scaled GUI coordinates | |
| y | Yes | Y in scaled GUI coordinates | |
| button | No | Mouse button, 0=left (default), 1=right |