game_debug_draw
Draw 3D debug lines, spheres, and boxes to visualize game logic. Specify geometry, color, and persistence frames for temporary or permanent markers.
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) |