Draw With Me
v0.1.1Draw with the model in your Claude or Codex conversation, on drawings kept as files on your disk.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
open
Opens a drawing file and returns the canvas manual. Relative paths use the configured or server startup folder. Inspect the existing sheet with look() before drawing.
| Parameter | Type | Description |
|---|---|---|
path * | string | A drawing path, such as garden.draw.json or ~/Drawings/garden.draw.json. |
run
Runs JavaScript on the open drawing, or reruns a file in its code folder. Returns printed text, requested pictures and errors after saving the drawing. Calls run one at a time.
| Parameter | Type | Description |
|---|---|---|
code | string | New JavaScript code to draw on the page. |
path | string | An existing file in the drawing's code folder to run again. |
load
Reads a saved drawing. Only the drawing page calls this.
| Parameter | Type | Description |
|---|---|---|
path * | string |
next
Waits for a change to the page's current drawing call, including cancellation or page replacement.
| Parameter | Type | Description |
|---|---|---|
id * | string | |
current | string |
save
Saves the drawing. A completed call's answer is returned to the model after the write succeeds.
| Parameter | Type | Description |
|---|---|---|
id * | string | |
text * | string | |
answer | object |