chart_draw
Add a drawing to the user's Deskr chart. kind: trend, ray, arrow, rect, ellipse, fib, hline, vline, text, path, channel, pitchfork, fibext, long, short, prange, drange, callout, avwap, frvp. points: [{time, price}] — time as ISO string or unix seconds; 1 point for hline/vline/text, 3 for channel/pitchfork/fibext/long/short (entry, stop, target), else 2. Optional alert: cross/touch on lines, break/enter on rect/prange/channel, touch on long/short (target or stop).
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": {
"sym": "<sym>",
"kind": "<kind>",
"points": "<points>"
},
"name": "chart_draw"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sym | Yes | Coin symbol, e.g. BTC | |
| kind | Yes | ||
| text | No | ||
| alert | No | ||
| color | No | ||
| points | Yes |