Sketch a scene
sketchRenders a hand-drawn, interactive diagram from a line-based scene spec so you can illustrate code architecture, wiring, or step-by-step walkthroughs in chat.
Instructions
Draw a whole scene and show it. One element per line: title | subtitle | dir right|down group [in ] [@icon] [(cylinder|person|note|circle|rounded|text)] [in ] [!accent|!muted] [file=] [~ hover text] -> [label] [!accent|!muted] (--> dashed, <-> both ends) label [.] (photo region with spaces: label .: ) image step : | <ids to highlight; edges as a->b> part [key=value] [caption] (types and pins: search_parts) wire <part.pin> -> <part.pin> [red|black|blue|green|yellow|orange|purple|gray|white] Icons: @globe, @database, @server (Lucide) or @simple-icons:react. Ids: letters, digits, _ or -.
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": {
"scene": "<scene>"
},
"name": "sketch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scene | Yes | The scene, one element per line |