Change world border
set_world_borderUpdate any combination of the main world's border settings in one call; omitted values stay unchanged, and the resulting border is returned.
Instructions
Change any combination of the main world's border settings in one call; omitted settings are left alone. Returns the resulting border.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "set_world_border"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | New diameter in blocks. | |
| grow_by | No | Change the diameter by this much (negative shrinks). | |
| center_x | No | New centre X (with center_z). | |
| center_z | No | New centre Z (with center_x). | |
| damage_per_block | No | Damage per second per block outside the border. | |
| warning_distance | No | Show the warning this many blocks from the border. | |
| transition_seconds | No | Animate the size change over this many seconds. | |
| warning_time_seconds | No | Show the warning this many seconds before it shrinks past. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||