events_timeline
KEY FIELDS (per row in upcoming[] / past[]): event_kind (not kind), title, expected_on + date_precision + window_end, entities[].entity_code, importance, status. One A-share security's dated events as two lists: upcoming (nearest first) and past (most recent first, within the look-back). limit applies to each list separately. ⚠️ Only date_precision = day rows are pinned to a day; for week/month/quarter/half/year rows expected_on is the START of the window (window_end is the far edge) — never render it as the event date. ⚠️ expired does NOT mean it did not happen — the window closed without confirmation reaching us; cancelled means withdrawn. certainty: confirmed on a research-sourced row is not an exchange filing.
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": {
"canonical_code": "<canonical_code>"
},
"name": "events_timeline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _jq | No | JMESPath,对 data 求值(写 items[*].id) | |
| limit | No | Max rows PER LIST (1-500, default 100) — upcoming and past are capped separately | |
| _spill | No | true=全量落盘,只回摘要与取数地址 | |
| _fields | No | 逗号分隔的直接字段;有 items 时投影每行,否则投影 data;外层字段或嵌套结构用 _jq | |
| _intent | No | 用户原问题一句话,仅分析用,可留空 | |
| past_days | No | Look-back window in days (1-365, default 90). The library only retains 90 days of past events, so a longer look-back simply returns nothing extra. | |
| _max_bytes | No | 响应字节上限,默认约 50 KB | |
| upcoming_days | No | Forward window in days (1-365, default 180) | |
| canonical_code | Yes | Canonical A-share code (e.g. SSE:600519) | |
| _max_bytes_mode | No | 正文超限处理,默认 truncate 保留前缀 |