light_manage
Create and adjust 2D/3D lights, shadows, decals, and reflection probes in Godot. Scaffold nodes, update properties, and inspect lighting settings.
Instructions
2D and 3D Lighting, Shadow Tuning, Decal Projection, and Reflection/GI Probes.
Ops:
scaffold_light_3d(type="DirectionalLight3D", parent_path="", name="Light3D", color=None, energy=1.0, shadows=True, range=5.0, attenuation=1.0, spot_angle=45.0) Scaffold a DirectionalLight3D, OmniLight3D, or SpotLight3D node.
scaffold_light_2d(type="PointLight2D", parent_path="", name="Light2D", color=None, energy=1.0, shadows=False) Scaffold a PointLight2D or DirectionalLight2D node.
scaffold_decal(parent_path="", name="Decal", size=None, texture_albedo="") Scaffold a Decal node with projection volume and albedo texture.
scaffold_probe(type="ReflectionProbe", parent_path="", name="Probe", size=None) Scaffold a ReflectionProbe, LightmapGI, or VoxelGI node.
set_light_properties(light_path, color=None, energy=None, shadows=None, volumetric_fog_energy=None) Update lighting parameters on an existing 2D or 3D light node.
get_light_info(light_path) Inspect light energy, color, and shadow properties.
Canonical call shape: {"op": "<verb>", "params": {...}}. Flat op parameters are accepted as a compatibility alias when the client transmits them; op and session_id remain top-level.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | Yes | ||
| params | No | ||
| session_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||