get_stock_prices
Historical daily closing prices for up to 5 stocks or ETFs.
Per ticker: {ticker, period, series:[{date, price}], summary} with
summary fields first_price, last_price, change_pct, high, low,
trading_days. Series is downsampled to ~250 evenly-spaced points
(latest point always retained) so the payload stays small for charting.
`period` must be one of: 1m, 3m, 6m, ytd, 1y, 2y, 3y, 5y, all.
Args:
tickers: Comma-separated tickers, up to 5 (e.g. 'AAPL,MSFT').
period: Lookback window (default 'ytd').
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": {
"tickers": "<tickers>"
},
"name": "get_stock_prices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | ytd | |
| tickers | Yes |