Get Historical Prices Tool
get_historical_prices_toolRetrieve historical OHLC price data for any stock ticker across periods from one day to ten years to analyze price trends and performance.
Instructions
Get historical OHLC (Open/High/Low/Close) price data for a ticker.
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_historical_prices_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | One of "1d","5d","1mo","3mo","6mo","1y","2y","5y","10y","ytd","max". Defaults to "1mo". | 1mo |
| ticker | Yes | Exact stock ticker symbol, e.g. "AAPL". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||