Capture TradingView chart
capture_chartScreenshot a TradingView chart for a futures symbol over a selected trading-day window, with timeframe and layout options.
Instructions
Screenshot of the TradingView chart framed on exactly the trading-day window. Takes 20-40 seconds.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Trading days in the window | |
| mode | No | Chart to capture on: 'anonymous' (TradingView's public chart) or 'session' (the user's saved layout, e.g. when they say 'on my layout'). Omit for the server default. | |
| symbol | No | Futures symbol, e.g. 'GC1!' (aliases: GC, GOLD) | GC1! |
| end_date | No | Last trading day of the window, YYYY-MM-DD. Omit for the current one. | |
| timeframe | No | Bar timeframe | H1 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | anonymous (default chart) or session (your saved layout) | |
| path | Yes | Where the PNG was saved on the server machine | |
| warnings | Yes | ||
| window_utc | Yes |