get_price_history
Retrieve historical open, high, low, close, and volume data for any stock ticker. Specify a time period and interval to analyze price trends and patterns.
Instructions
Get historical OHLCV price data for a stock.
Args: ticker: Stock ticker symbol, e.g. 'AAPL' period: Time period - '1d','5d','1mo','3mo','6mo','1y','2y','5y','10y','ytd','max' interval: Data interval - '1m','2m','5m','15m','30m','60m','90m','1h','1d','5d','1wk','1mo','3mo'
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": {
"ticker": "<ticker>"
},
"name": "get_price_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | 1y | |
| ticker | Yes | ||
| interval | No | 1d |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |