add_stroke
Draw a stroke, line or outline from [x, y, pressure] points in board coordinates. Pressure ranges from 0 to 1. Requires an edit link; changes appear live.
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": {
"boardUrl": "<boardUrl>",
"points": "<points>"
},
"name": "add_stroke"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | ||
| color | No | #1f2937 | |
| points | Yes | ||
| boardUrl | Yes | A JotPond /b/<edit-id> or /view/<read-only-id> link. |