yfinance_get_earnings_dates
Retrieve historical and upcoming earnings dates for a stock ticker, including EPS estimates, reported EPS, and surprise percentages; filter results to future dates only.
Instructions
Get earnings calendar information including historical and upcoming earnings dates with estimates.
Args: ticker: Stock ticker symbol (e.g., 'AAPL', 'MSFT', 'GOOGL') limit: Maximum number of earnings dates to return (default: 12) future_only: If True, return only upcoming earnings dates (default: False) response_format: Output format - 'json' or 'markdown' (default: 'markdown')
Returns: Formatted string containing earnings information including: - Earnings dates (historical and/or upcoming) - EPS estimates - Reported EPS (for historical dates) - Surprise percentage (actual vs estimate)
Example: yfinance_get_earnings_dates("AAPL", "json") yfinance_get_earnings_dates("AAPL", limit=4) # Last 4 quarters yfinance_get_earnings_dates("AAPL", future_only=True) # Only upcoming
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": "yfinance_get_earnings_dates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| ticker | Yes | ||
| future_only | No | ||
| response_format | No | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |