calendar_upcoming
Scan A-shares whose periodic report is booked for disclosure in the next N days, sorted by booked date — the overnight-risk screen for earnings season. Pass codes (comma-separated) to narrow to a portfolio, report_type to restrict the period. Only names not yet confirmed as disclosed are returned and the window starts today, so awaiting_confirmation names (booked date already passed) are deliberately excluded. Note each period's calendar is published only ~5 days before period end, so scanning well ahead of that returns few or no rows.
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": "calendar_upcoming"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _jq | No | JMESPath,对 data 求值(写 items[*].id) | |
| days | No | Forward window in days (1-90, default 7) | |
| codes | No | Comma-separated canonical codes (max 200) to filter a portfolio; omit to scan the whole market | |
| limit | No | Max rows (1-1000, default 200) | |
| _spill | No | true=全量落盘,只回摘要与取数地址 | |
| _fields | No | 逗号分隔的直接字段;有 items 时投影每行,否则投影 data;外层字段或嵌套结构用 _jq | |
| _intent | No | 用户原问题一句话,仅分析用,可留空 | |
| _max_bytes | No | 响应字节上限,默认约 50 KB | |
| report_type | No | Restrict to one report period type | |
| _max_bytes_mode | No | 正文超限处理,默认 truncate 保留前缀 |