yfinance_get_stock_recommendations
Retrieve analyst recommendations and rating changes for a stock ticker, with configurable result limits and JSON or Markdown output.
Instructions
Get analyst recommendations and rating changes for a stock.
Args: ticker: Stock ticker symbol (e.g., 'AAPL', 'MSFT', 'GOOGL') limit: Maximum number of most recent recommendations to return (default: 20) response_format: Output format - 'json' or 'markdown' (default: 'markdown')
Returns: Formatted string containing analyst recommendations history including: - Date of recommendation - Firm name - Rating change (to grade, from grade) - Action taken
Example: yfinance_get_stock_recommendations("AAPL", "json") yfinance_get_stock_recommendations("AAPL", limit=10) # Only 10 most recent
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_stock_recommendations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| ticker | Yes | ||
| response_format | No | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |