draw
Creates a character, object, or place in the current style’s format, saves it to the library, and optionally adds it to a shot. Use describe first to get the exact format and required fields.
Instructions
Draw a new character, object or place yourself, free, in the current style's own format, and add it to the person's library: a character or object also joins the shot's cast, a place becomes the shot's place (add_to_shot: false only saves it). Use it for simple things 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). action draw (default) sends the drawing; action describe (read-only) returns the exact format for that kind in the current style (or style), with the look the style wants and an example when it has one: read it before drawing. Formats in short: Pixel = {"name","rows":["..##..",...],"colors":{"#":"#535353"}} (up to 28x28, '.' empty; a character also has "eyes":[[col,row]],"mouth":[col,row], faces right and is at least 20 columns wide); Toon character = {"name","skin","shirt","pants","hair":"tuft|bob|ears|antennae|cap|horns|none","hairColor","snout","tail","wide","tall"}, Toon object = {"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"}]} (a character's boxes also have "part":"body|legL|legR|armL|armR", plus "eyes","mouth","faceZ"); other styles have their own format (action describe). Places in every style: {"name","sky","horizon","floor","dark","stars","clouds","orb","items":[{"kind","x","z","size"}]}. Returns the new id. Then use look_at_shot 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": {
"kind": "<kind>"
},
"name": "draw"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | draw, character or object: left to right, about -6 to 6. Empty spaces it automatically. | |
| kind | Yes | What you draw. | |
| shot | No | Shot index from 0 inside that scene (with scene; alone: in the scene on screen). A shot id works here too. | |
| size | No | draw, character or object: 1 is normal. | |
| scene | No | Scene index from 0 (with shot). Used when shot_id isn't given. | |
| style | No | describe: a style id. Default: the project's style. | |
| action | No | draw (default) sends a drawing; describe returns the format to use. | |
| drawing | No | draw: ONE drawing object in the style's format (not an array). | |
| shot_id | No | The shot's id from get_project. Or give scene and shot instead. Left out: the shot on screen. | |
| add_to_shot | No | draw: false only saves it to the library. Default true: a character or object joins the shot's cast, a place becomes the shot's place. |