Draw a line, rectangle, circle or text label on the chart, remove one, or clear them all. Anchors are data coordinates (a timestamp and a value), not screen pixels — call get_stats for exact highs and lows to anchor against. Set the chart's kind and time range BEFORE drawing: switching kind discards annotations, because a shape anchored to price data is meaningless on another scale.
Coinranking source site14 tools on this site
What this tool does
Draw a line, rectangle, circle or text label on the chart, remove one, or clear them all. Anchors are data coordinates (a timestamp and a value), not screen pixels — call get_stats for exact highs and lows to anchor against. Set the chart's kind and time range BEFORE drawing: switching kind discards annotations, because a shape anchored to price data is meaningless on another scale. Use it on Coinranking with an agent. It runs in the browser on the website and needs no package install.
How to install
Open the coinranking.com website and ask your browser agent to use coinranking_prochart_draw
Run with an agent
Use the coinranking_prochart_draw tool on coinranking.com with action: <string>, type: <string>, points: <array>, text: <string>, style: <object>, index: <number>. Return the structured result and cite the source page.
Input contract
actionstringAdd one annotation, remove one by index, or remove all.
typestringFor `add`: the shape to draw.
pointsarrayFor `add`: anchors in DATA coordinates — `time` is a timestamp and `value` is on the chart's own y-scale, not pixels. A line takes 2 endpoints. A rectangle or circle takes 2 opposite corners, or 4 for an exact quad. A text annotation takes 1 anchor, which becomes the centre of a box sized to the text, or 4 to place the box yourself. Get exact values from get_stats (true highs/lows) or get_series.
textstringFor `add` with type `text`: the label's content.
styleobjectFor `add`: optional appearance. Defaults to the chart's own drawing style.
indexnumberFor `remove`: which annotation, by its position in list_drawings.
Verify the live listing at the source before a production call. Fields marked as a starter contract may differ from what the site expects.