game_light_2d
Create and configure 2D point lights, directional lights, and light occluders in Godot scenes by specifying color, range, energy, and node paths.
Instructions
Create/configure 2D lights and light occluders
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": {
"action": "<action>"
},
"name": "game_light_2d"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Node name | |
| color | No | Light color {r,g,b,a} | |
| range | No | Light texture range | |
| action | Yes | Action: create_point, create_directional, create_occluder | |
| energy | No | Light energy | |
| nodePath | No | Node path (for configure) | |
| parentPath | No | Parent node path |