set_world_background
Set a Blender scene’s world background to a solid color or HDRI environment, lighting the scene and giving metals and glass reflections. Choose one source and adjust strength or rotation.
Instructions
Set the world background to a solid colour or an HDRI environment.
An HDRI lights the whole scene and gives metal and glass something to reflect; without one, metals look dull. Give exactly one of color, hdri_path or builtin_hdri.
Args: color: RGB colour [r, g, b] for a plain background. hdri_path: Absolute path to an HDRI image (.hdr, .exr, ...). builtin_hdri: One of the HDRIs that ship with Blender: city, courtyard, forest, interior, night, studio, sunrise, sunset. strength: Background strength, 0 to 1000, default 1.0. rotation: HDRI turn around the vertical axis in radians, to move where the light comes from. -6.283 to 6.283.
Returns: Confirmation dict.
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_background"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | ||
| rotation | No | ||
| strength | No | ||
| hdri_path | No | ||
| builtin_hdri | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||