get_index_history
Retrieve historical data for any NSE index by providing index name and optional date range in DD-MM-YYYY format.
Instructions
Get historical data for an NSE index. Dates in DD-MM-YYYY format. Example: get_index_history("NIFTY 50", "01-01-2025", "01-06-2025")
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": {
"index": "<index>"
},
"name": "get_index_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | ||
| to_date | No | ||
| from_date | No |