data_get_ohlcv
Retrieves OHLCV bar data from TradingView charts, with optional summary mode for compact high/low/open/close/volume statistics to reduce context usage.
Instructions
Get OHLCV bar data from the chart. Use summary=true for compact stats instead of all bars (saves context).
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": "data_get_ohlcv"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of bars to retrieve (max 500, default 100) | |
| summary | No | Return summary stats (high, low, open, close, avg volume, range) instead of all bars — much smaller output |