getHistoricalData
Retrieve historical stock data for a symbol. Specify interval and output size to get daily, weekly, or monthly prices.
Instructions
Get historical data for a stock.
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": "getHistoricalData"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | The stock symbol (e.g., AAPL) | |
| interval | No | The time interval for the data (daily, weekly, or monthly) | daily |
| outputsize | No | The size of the output (compact or full) | compact |