Set weather
set_weatherChanges the Minecraft main world's weather to clear, rain, or thunder, with an optional duration for how long the condition lasts.
Instructions
Change the weather in the main world to clear, rain or thunder, optionally for a set duration.
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": {
"condition": "<condition>"
},
"name": "set_weather"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| condition | Yes | New weather. | |
| duration_seconds | No | How long it lasts; default: the server decides. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||