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; finish with chart_link, or analysis_prepare for a sharing draft that needs human review.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | ||
| fill | No | Palette fill colour, or “none”. | |
| mode | No | ||
| text | No | Required for text/note/callout: concise words, with for short lines. For emoji: one Unicode emoji, e.g. 👀 or ⚠️. Max 500 characters. | |
| 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 | Size 9–160px, normally 12–16 for readable text. Emoji render at twice this size. | |
| textBold | No | ||
| wrapText | No | Default true: wrap long annotation lines for readability. False only for an explicitly requested single-line label. | |
| lineStyle | No | ||
| showStats | No | ||
| textColor | No | ||
| arrowStart | No | ||
| extendLeft | No | ||
| showLabels | No | ||
| showPrices | No | ||
| showRatios | No | ||
| extendRight | No | ||
| fillOpacity | No | Shape fill opacity from 0 to 1. | |
| ratioFormat | No | ||
| labelPosition | No | ||
| labelVertical | No |