price_history
Retrieve historical price data for any stock ticker over time periods from day to five years.
Instructions
Gets historical price data for a stock.
Args:
symbol: Stock ticker symbol (e.g., "AAPL")
period: Time period ("day", "week", "month", "3month", "year", "5year")
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": "price_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | ||
| period | No | week |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||