fetch_stock_data
Retrieve historical OHLCV price data for any stock. Specify ticker and optional date range to get open, high, low, close, volume data.
Instructions
Fetch historical OHLCV price data for a stock.
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": "fetch_stock_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ticker | Yes | Stock ticker symbol | |
| start_date | No | Start date (YYYY-MM-DD format, optional) | |
| end_date | No | End date (YYYY-MM-DD format, optional) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||