drawing_freehand
Create one or more precise freehand strokes as a single undoable composition. A stroke accepts arbitrary chart points; line accepts two endpoints; ellipse and rectangle accept two opposite corners and are generated smoothly. Use highlighter for translucent emphasis and brush for circles, paths and marks. Changes the chart you are building; call chart_link when you are done so the person can open it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | ||
| fill | No | Palette fill colour, or “none”. | |
| mode | No | ||
| text | No | Text for annotation tools. | |
| color | No | A palette name. “up” and “down” are the reserved green and red — they assert a bullish or bearish claim, so use them for position zones and not for a measurement. | |
| width | No | Stroke width in pixels, 1 to 6. | |
| symbol | No | ||
| opacity | No | Strength of the whole drawing, 0.1 to 1. Fade a level that is context rather than the decision. | |
| strokes | Yes | ||
| arrowEnd | No | ||
| fontSize | No | Label/text size from 8 to 28. | |
| lineStyle | No | ||
| showStats | No | ||
| arrowStart | No | ||
| extendLeft | No | ||
| showLabels | No | ||
| extendRight | No | ||
| fillOpacity | No | Shape fill opacity from 0 to 1. |