capture_screenshot
Take screenshots of TradingView charts or strategy tester regions, optionally waiting for canvas render to avoid stale frames.
Instructions
Take a screenshot of the TradingView chart
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "capture_screenshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | No | Capture method: cdp (Page.captureScreenshot) or api (chartWidgetCollection.takeScreenshot) (default cdp) | |
| region | No | Region to capture: full, chart, strategy_tester (default full) | |
| filename | No | Custom filename (without extension) | |
| wait_for_render | No | Wait for the chart canvas to stabilize before capturing. Use after chart_set_symbol or chart_set_timeframe to avoid stale frames. |