add_object
Adds a box, sphere, cylinder, cone, or torus to a three.js scene with position, color, and scale controls, up to 50 objects.
Instructions
Add a primitive to the scene. At most 50 objects.
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": {
"shape": "<shape>"
},
"name": "add_object"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| color | No | Hex color like #ff8800. Convert color names to hex yourself. | |
| scale | No | 0.1–10, default 1 | |
| shape | Yes | ||
| position | No | [x, y, z]; each value within ±50. y is up. |