Use / Activate Block
minecraft_activate_blockRight-clicks any interactable block at the given coordinates, walking within reach first, to open chests, doors, furnaces, press buttons, pull levers, or access crafting tables.
Instructions
Right-clicks a block at the given coordinates — opens chests/doors/trapdoors/furnaces, presses buttons, pulls levers, opens the crafting-table UI, etc. Walks within reach first.
Returns: { message: string, block: string } Errors: no block there, or unreachable.
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>",
"z": "<z>"
},
"name": "minecraft_activate_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| z | Yes |