get_chart_data
Fetches chart candle data for a stock symbol, using Upstox for intraday and Yahoo Finance for longer time ranges.
Instructions
Fetch chart candle data for a given symbol. Checks Upstox first (intraday only) and falls back to Yahoo Finance.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"symbol": "<symbol>"
},
"name": "get_chart_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | No | Data range: 1d, 5d, 1mo, 1y | 1d |
| symbol | Yes | Stock symbol (e.g. RELIANCE, TCS, or INFY.NS) | |
| interval | No | Interval of candles: 1m, 5m, 15m, 1d | 5m |