chartimg_v2_layout_chart_storage
Render a shared TradingView layout to storage using its layout ID. Provide optional session cookies to access subscription data and capture the chart snapshot.
Instructions
CHART-IMG v2: render a shared TradingView layout to storage (POST /v2/tradingview/layout-chart/storage/{layoutId}). Layout must be shared unless session cookies are provided. 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. |