set_weather
Apply weather conditions to a CARLA simulation world, with presets like clear, rain, fog, and night, and control intensity from 0 to 1.
Instructions
Apply a weather condition to the world without spawning agents.
Args:
condition (str): One of clear, rain, fog, night,
rain_night.
intensity (float): Severity from 0.0 (minimal) to 1.0 (maximum).
Returns: dict: The execution result.
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>",
"intensity": "<intensity>"
},
"name": "set_weather"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| condition | Yes | ||
| intensity | Yes |