create_environment
Creates a WorldEnvironment node with configurable sky, ambient light, fog, and background settings for a Godot scene.
Instructions
Create a WorldEnvironment node with sky, ambient light, fog and other environment settings.
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": {
"projectPath": "<projectPath>",
"scenePath": "<scenePath>"
},
"name": "create_environment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | Path to the Godot project directory | |
| scenePath | Yes | Scene file path | |
| options | No | Options: { background_mode: int, background_color: [r,g,b], ambient_color: [r,g,b], ambient_energy: float, fog: bool, fog_color: [r,g,b] } |