draw_path
Draw single or multiple mouse-drag strokes on a desktop or browser canvas, auto-detecting canvas bounds when omitted.
Instructions
Draw on a canvas by dragging the left mouse button. Accepts a single polyline [[x,y],...] or multiple strokes [[[x,y],...],...] (lifts the brush between strokes). Auto-detects the Paint/browser canvas sheet if canvas_bounds is omitted.
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": {
"points": "<points>"
},
"name": "draw_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | desktop | |
| points | Yes | ||
| duration | No | ||
| canvas_bounds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||