news
SUPPLEMENTARY news / market briefs (short-horizon event stream) — use only to fill gaps not covered by views, the primary research source. Default fields=compact (title + ai_summary + ~300 chars); full only when needed. Flash news has title: null — read display_title (falls back to the first sentence), or pass has_title=true to drop untitled items. Modes: code (canonical, A-share / HK / US) → news mentioning that security; query (free text, all terms required, newest first); neither → recent feed. A canonical_code passed as query will not match — use code. A+H: pass the A-share canonical.
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": "news"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | History range end (inclusive, China date; defaults to today). Use with from. | |
| _jq | No | JMESPath,对 data 求值(写 items[*].id) | |
| code | No | Filter by security canonical_code (e.g. SSE:600519, HK:00700). Takes precedence over `query`. | |
| from | No | History range start (China date YYYY-MM-DD). Range mode: needs code or query; Pro-only up to 365 days back. | |
| hours | No | Rolling-feed lookback in hours (default 24 — much narrower than views). For longer history use from/to with code or query. The `limit` cap applies after this window, newest first, so a dense feed can shrink the covered span far below what you asked for — read `actual_window` in the response for the range actually returned, and page with `cursor` (from `next_cursor`) if it falls short. | |
| limit | No | Max items per page | |
| query | No | Free-text query (Chinese or English) matched against news content; omit for time-window feed. Terms are AND-ed — a document must contain every term — and results stay in strict reverse-chronological order, so extra terms narrow rather than broaden. Pass 2-3 distinctive terms; for relevance-ranked recall that matches any term, use the `search` tool instead. Chinese needs no spaces, and AND/OR/quotes are treated literally rather than as operators. Do NOT pass canonical_code here — use `code` instead. | |
| _spill | No | true=全量落盘,只回摘要与取数地址 | |
| cursor | No | Opaque snapshot pagination cursor from the previous response's `next_cursor` (freezes time window & sort anchor; preferred over `offset`). | |
| fields | No | Response shape: compact (default — title + ai_summary + first ~300 chars) or full (complete content) | |
| offset | No | Legacy pagination offset (prefer `cursor` from `next_cursor` to avoid duplicates/skips on a live stream). | |
| _fields | No | 逗号分隔的直接字段;有 items 时投影每行,否则投影 data;外层字段或嵌套结构用 _jq | |
| _intent | No | 用户原问题一句话,仅分析用,可留空 | |
| has_title | No | true = only items with a headline. Flash news has none (often ~40% of the feed), so pass this when filtering or summarising by headline; otherwise read `display_title`, which falls back to the first sentence. | |
| _max_bytes | No | 响应字节上限,默认约 50 KB | |
| _max_bytes_mode | No | 正文超限处理,默认 truncate 保留前缀 |