sketchy

v0.3.0
@ddkbs/sketchy Checked 17 hours ago Published 2 days ago

Lets your AI assistant draw while it explains: hand-drawn, interactive diagrams, circuits and labeled photos in the Claude chat, Claude Code, Cursor and VS…

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

sketch Sketch a scene

Draw a whole scene and show it. One element per line: title <text> | subtitle <text> | dir right|down | theme paper|whiteboard|blueprint|chalk (only when the user asks for that look; the default paper suits every subject, processes too) | pack <name> (its layout rules) group <id> <label> [in <parent>] <id> <label> [@icon] [(cylinder|person|note|circle|rounded|text)] [in <group>] [!accent|!muted] [file=<absolute path>] [~ hover text] <a> -> <b> [label] [!accent|!muted] (--> dashed, <-> both ends) label <id>[.<pin>] <text> (photo region with spaces: label <image>.<region>: <text>) image <…

ParameterTypeDescription
scene *stringThe scene, one element per line

edit_sketch Change the current drawing

Change the drawing from the last sketch call without resending it. Same line syntax as sketch; prefer this tool for follow-up changes. A line for an id that exists replaces that element; a new id adds one. Arrows are matched by their two ends. Give the whole element line. remove <id> | remove <a> -> <b> | remove <drawing>[<shape name or number, counted from 1>] | remove steps Inside "draw <id>" lines, named shapes are replaced, an unnamed text with the same words is moved, others are added. Any step line replaces all steps. Other figures are replaced whole.

ParameterTypeDescription
changes *stringThe changes, one per line

search_parts

Search the part library (boards, sensors, displays, LEDs, …). With an exact type it lists the part's pins.

ParameterTypeDescription
query *stringType or keywords, e.g. 'arduino-uno', 'distance sensor', 'oled'

find_image Find a photo

Search freely licensed photos (Wikimedia Commons, Openverse; CC0, public domain, CC BY, CC BY-SA). Returns candidates with ids and thumbnails. Prefer clear, frontal photos of a single object.

ParameterTypeDescription
query *stringWhat the photo should show, e.g. 'Arduino Uno board'
min_widthintegerMinimum width in pixels (default 800)

locate Locate parts in a photo

Find named regions in a photo with the local vision model, e.g. ['USB port', 'reset button', 'A0']. Printed text is matched exactly; describe other parts visually ('silver USB connector'). Returns a preview with the boxes drawn so you can check them: rephrase queries that missed, skip wrong boxes, and if a box marks a different part than asked, you may still use its region name with corrected label text.

ParameterTypeDescription
image *stringImage id from find_image
queries *arrayNames of the regions to find

choose_model Choose photo-labeling model

Show the user a picker to choose and download the local vision model used by locate (one-time setup, can be changed later).

download_model Download model

Start downloading a photo-labeling model. Used by the model picker.

ParameterTypeDescription
tier *string

model_status Model status

Report the state of the photo-labeling model. Used by the model picker.

get_view Get viewer data

Returns the data behind a Sketchy view. Used by the viewer.

ParameterTypeDescription
view *string

save_export Save export

Saves an SVG, PNG or Excalidraw export of the drawing. Used by the viewer.

ParameterTypeDescription
name *string
base64string
textstring