draw_object
Create custom simple objects in the current style's format, then add them to the library or a shot when the style lacks the object you need.
Instructions
Draw a new object yourself, free, in the current style's format, and add it to the person's library and into a shot. Use it for simple objects the style doesn't have; for a photo-like picture use generate_picture (paid). No Claude usage or credits are spent: you send the drawing as plain data and Dinoctor checks it (bad fields are dropped; a drawing that fails is refused with the reason). Call describe_drawing first for the exact format. Formats in short: Pixel = {"name","rows":["..##..",...],"colors":{"#":"#535353"}} (up to 28x28, '.' empty); Toon = {"name","w","h","shapes":[{"type":"rect|ellipse|poly","x","y","w","h","color","points"}]} (y up is negative, stands on y 0); Voxel = {"name","boxes":[{"at":[x,y,z],"size":[w,h,d],"color"}]}; other styles have their own format (describe_drawing). Places in every style: {"name","sky","horizon","floor","dark","stars","clouds","orb","items":[{"kind","x","z","size"}]}. Returns the new id. Then use look to check it.
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": {
"drawing": "<drawing>"
},
"name": "draw_object"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | Left to right, about -6 to 6. Empty spaces it automatically. | |
| shot | No | Shot index from 0 in that scene. | |
| size | No | 1 is normal. | |
| scene | No | Scene index from 0. With no shotId/scene, the shot on screen is used. | |
| shotId | No | The shot's id (from get_project). | |
| drawing | Yes | ONE drawing object in the style's format (not an array). | |
| addToShot | No | false only saves it to the library. Default true: it joins the shot's cast. |