game_debug_draw
game_debug_drawDraw debug lines, spheres, or boxes in 3D to visualize game logic and spatial data. Use actions like line, sphere, box, or clear with customizable parameters.
Instructions
Draw debug lines, spheres, or boxes in 3D
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_debug_draw"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Line end {x,y,z} | |
| from | No | Line start {x,y,z} | |
| size | No | Box size {x,y,z} | |
| color | No | Draw color {r,g,b,a}. Default: red | |
| action | Yes | Action: line, sphere, box, or clear | |
| center | No | Sphere/box center {x,y,z} | |
| radius | No | Sphere radius. Default: 0.5 | |
| duration | No | Frames to persist (0=permanent) |