replace_blocks
Swap one or more block types for another block or mix within a defined box, leaving all other blocks unchanged; matching uses block type and ignores states.
Instructions
Swap one or more block types for another block or mix inside a box, leaving everything else alone. Matches by block type, states are ignored when matching.
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": {
"from": "<from>",
"to": "<to>",
"find": "<find>",
"replace_with": "<replace_with>"
},
"name": "replace_blocks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| find | Yes | ||
| from | Yes | ||
| undo | No | ||
| dimension | No | overworld | |
| replace_with | Yes |