Draw SVG drawing
draw_svgUpload the SVG you wrote by hand of the picked image onto its drawing artboard, with differences: every difference you still see, however small ([] at shape_misses 0). Auto-traced SVG (potrace, vtracer, colour quantising, any script that turns pixels into paths) is refused. With a shell (Claude Code): curl the .svg to the upload link new_project gave and pass upload_id instead of svg, so the user approves a short call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| svg | No | The whole drawing as SVG markup, viewBox "0 0 <board width> <board height>". | |
| name | No | What the drawing shows; its shapes are named after it. | |
| variant | No | true for the second stage, which every illustration needs before it goes on a screen: the finished exact copy (uploaded with differences []) altered into this design's own, its measured parts turned at their joints and recoloured with one palette. Refused until the exact copy is finished. | |
| artboard | Yes | The drawing artboard, for example "Drawing · warehouse". | |
| upload_id | No | With a shell: instead of svg, the upload_id of the .svg file you sent with curl to the upload link new_project gave (keeps the user's approval box short). | |
| differences | Yes | Every difference you still see between the picked image and your drawing, part by part (outline, pose, angle, colour, background, detail), however small; a watermark, stock logo or caption on the picture is not part of the illustration and is never listed. [] once the comparison reports shape_misses 0. While it lists anything, the drawing is not finished: fix it and send the whole SVG again. With variant: every flaw the change left (a gap at a joint, a loose seam, a patch off its body), [] when there is none. | |
| reference_id | Yes | The reference_id set_reference_image returned for this illustration; the reply shows the drawing beside it. |