digest
One-shot research digest for one security: views (PRIMARY), quote, valuation snapshot, market sentiment, supplementary news, ownership_events (30-day insider trades + buybacks, next-30-day lockups) and margin (~7 trading days). Margin is T+1 — judge direction by financing_net_buy_cny, never gross financing_buy_cny. Separate buckets, not ranked against each other; partial failures go to meta.partial_failures[]. First call for 'what's going on with '. A-share returns all buckets; HK/US return only views + news. A+H: pass the A-share canonical.
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": {
"code": "<code>"
},
"name": "digest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _jq | No | JMESPath,对 data 求值(写 items[*].id) | |
| code | Yes | Canonical code: A-share SSE:600519 | HK HK:00700 | US US:BABA. HK/US return only views+news. Use `lookup` first if you only have a name. | |
| _spill | No | true=全量落盘,只回摘要与取数地址 | |
| _fields | No | 逗号分隔的直接字段;有 items 时投影每行,否则投影 data;外层字段或嵌套结构用 _jq | |
| _intent | No | 用户原问题一句话,仅分析用,可留空 | |
| _max_bytes | No | 响应字节上限,默认约 50 KB | |
| news_hours | No | Lookback for news bucket (hours, default 24 — event horizon) | |
| _max_bytes_mode | No | 正文超限处理,默认 truncate 保留前缀 | |
| limit_per_bucket | No | Per-bucket item cap (views/news). Quote/snapshot/sentiment aren't paginated here. | |
| views_since_days | No | Lookback for views bucket (days, 1-30; views feed caps at 30d). For longer research history use the `views` verb's from/to. |