get_historical
Retrieve historical OHLCV price data for Indian NSE stocks. Specify symbol, start date, end date, and optional interval (daily, weekly, monthly).
Instructions
Get OHLCV historical price data for a stock. Returns date, open, high, low, close, volume.
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>",
"from": "<from>",
"to": "<to>"
},
"name": "get_historical"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | End date in YYYY-MM-DD format | |
| from | Yes | Start date in YYYY-MM-DD format | |
| symbol | Yes | NSE stock symbol e.g. RELIANCE, TCS | |
| interval | No | Data interval: 1d (daily), 1wk (weekly), 1mo (monthly) | 1d |