Get Block
getBlockRetrieve a block at specified coordinates in a dimension, including its properties and block states; unmodified coordinates return air.
Instructions
Get the block at the given coordinates in the given dimension, including its properties (name, hardness, light level, etc.) and its block states (for example facing=south). Each dimension has its own persisted world state; unmodified coordinates return air (minecraft:air).
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": "getBlock"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | X coordinate (-30000000 to 30000000) | |
| y | Yes | Y coordinate, within the dimension height range | |
| z | Yes | Z coordinate (-30000000 to 30000000) | |
| dimension | No | Dimension: "overworld" (default), "the_nether" or "the_end" | overworld |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| z | Yes | ||
| block | Yes | ||
| states | Yes | ||
| dimension | Yes |