get_earnings
Retrieve quarterly or annual earnings data for a specified stock symbol to analyze company financial performance.
Instructions
Get quarterly or annual earnings data.
Args:
symbol: Stock symbol to get earnings for (e.g., AAPL, MSFT)
period: 'quarterly' or 'annual' (default: quarterly)
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": {
"symbol": "<symbol>"
},
"name": "get_earnings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | ||
| period | No | quarterly |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | ||
| success | Yes | ||
| timestamp | No |