fetch_stock_data
Retrieve comprehensive stock data including general info and historical market data for any ticker symbol over a specified period.
Instructions
Fetches comprehensive stock data for a given symbol.
Args: stock_symbol: The stock ticker symbol (e.g., 'TSLA'). period: The period to analyze (e.g., '1mo', '3mo', '1y').
Returns: A dictionary combining general stock info and historical market data.
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": {
"stock_symbol": "<stock_symbol>"
},
"name": "fetch_stock_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | 1mo | |
| stock_symbol | Yes |