yahoo_stock_history
Fetch historical price and volume data for a stock ticker over a chosen period to support charting, trend analysis, and performance evaluation.
Instructions
Get historical stock data from Yahoo Finance. Returns price and volume data for a specified time period. Useful for charting, trend analysis, and evaluating stock performance over time.
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": "yahoo_stock_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | Time period (1d, 5d, 1mo, 3mo, 6mo, 1y, 2y, 5y, 10y, ytd, max) | 1mo |
| symbol | Yes | Stock ticker symbol (e.g., AAPL, MSFT, TSLA) | |
| interval | No | Data interval (1m, 2m, 5m, 15m, 30m, 60m, 90m, 1h, 1d, 5d, 1wk, 1mo, 3mo) | 1d |