chartimg_v2_layout_chart_image
Generate a chart image from a TradingView shared layout ID, with optional symbol, interval, and dimension overrides. Returns base64 data.
Instructions
CHART-IMG v2: POST shared layout chart image as base64 (POST /v2/tradingview/layout-chart/{layoutId}). Prefer storage variant. Width/height in body are auto-clamped.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Optional overrides: symbol, interval, width, height, format, etc. Width/height are auto-clamped like other v2 chart tools. | |
| layoutId | Yes | TradingView shared layout id from the chart URL. | |
| tradingviewSessionId | No | Optional TradingView cookie `sessionid` for subscription data (v2). | |
| tradingviewSessionIdSign | No | Optional TradingView cookie `sessionid_sign` — use with tradingviewSessionId. |