earnings_recent
Scan A-share earnings pre-announcements filed in the last N days, newest first then YoY floor desc — the first-hand material for attributing a move to results rather than news flow. Filter by direction (positive|negative|uncertain), report_type, min_pct (YoY floor in percentage points), or codes to narrow to a portfolio. revision is computed against each name's FULL history, not just rows inside the window, so a downgrade filed today reads as revised_down even when its first version predates the window. Note min_pct also drops rows that have no percentage data.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "earnings_recent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _jq | No | JMESPath,对 data 求值(写 items[*].id) | |
| days | No | Lookback window in days (1-90, default 7) | |
| codes | No | Comma-separated canonical codes (max 200) to filter a portfolio | |
| limit | No | Max rows (1-1000, default 200) | |
| _spill | No | true=全量落盘,只回摘要与取数地址 | |
| _fields | No | 逗号分隔的直接字段;有 items 时投影每行,否则投影 data;外层字段或嵌套结构用 _jq | |
| _intent | No | 用户原问题一句话,仅分析用,可留空 | |
| min_pct | No | Minimum YoY net-profit change (percentage points); also drops rows lacking percentage data | |
| direction | No | Filter by forecast direction (derived from type, not from the percentage) | |
| _max_bytes | No | 响应字节上限,默认约 50 KB | |
| report_type | No | Restrict to one report period type | |
| _max_bytes_mode | No | 正文超限处理,默认 truncate 保留前缀 |