earnings
A 股业绩预告与快报。company 按 code 查最近若干报告期(默认 4 期),包括预告修订历史与自愿披露的快报;快报缺失很常见。recent 扫描最近披露的业绩预告(默认 7 天、200 条),支持按方向、报告类型、同比下限或股票组合筛选。预告方向取自预告类型,修订以完整历史为基准。
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": {
"mode": "<mode>"
},
"name": "earnings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _jq | No | JMESPath,对 data 求值(写 items[*].id) | |
| code | No | company 必填,如 SSE:600519 | |
| days | No | recent 回看天数,默认 7 | |
| mode | Yes | company 单股报告期历史;recent 近期业绩预告 | |
| codes | No | Comma-separated canonical codes (max 200) to filter a portfolio | |
| limit | No | recent 返回条数上限,默认 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 | |
| periods | No | company 报告期数,默认 4 | |
| 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 保留前缀 |