Earnings date and surprises
get_earningsNext earnings date + countdown and the last 4 quarters' EPS surprises (with serial-beater/misser consistency) for a ticker. Use for 'when does X report', 'earnings history'.
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": "get_earnings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ticker | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | false on an error; then `error` says what happened and what to do. | |
| card | No | The in-chat InvestIQ card, in English and French. | |
| data | No | The tool's own result fields. | |
| tool | Yes | ||
| as_of | Yes | ISO time the data was computed (a stored analysis: when it was computed). | |
| error | No | ||
| links | No | InvestIQ pages for this result. | |
| degraded | No | true when part of the data was missing. | |
| viz_spec | No | The recommended chart's series (data only). | |
| disclaimer | Yes | ||
| data_quality | No | What was requested, what was used, and why anything was left out. |