get_stock_history
Retrieve OHLCV price history for NSE/BSE stocks and indices by symbol, with selectable period and interval, capped to recent rows for analysis.
Instructions
Price history (OHLCV) for an NSE/BSE stock or index ticker like '^NSEI'.
period: 1d, 5d, 1mo, 3mo, 6mo, 1y, 2y, 5y, 10y, ytd, max.
interval: 1d, 5d, 1wk, 1mo. Returns at most max_points recent rows.
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_stock_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | 1y | |
| symbol | Yes | ||
| exchange | No | NSE | |
| interval | No | 1d | |
| max_points | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||