get_stock_price
Retrieve real-time stock prices and historical data for any ticker, with customizable periods from one day to one year.
Instructions
Retrieve the current real-time stock price and historical data for a given ticker symbol.
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_stock_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | The historical time period to fetch | 1D |
| ticker | Yes | The stock ticker symbol (e.g., AAPL, MSFT) |