market_status
Current A-share session state. session ∈ pre_open (09:00-09:14) / auction (09:15-09:29) / open / break (lunch) / closed, same enum as quote. Read session, not is_market_open / is_premarket — both are false at lunch AND after the close. trade_date is today's China calendar date, not the trading day — qualify with is_trading_day; next_trading_day null = calendar not populated (unknown). is_holiday marks shut weekdays only (weekends read false). Free — call before quote / bars to choose pre-market vs intraday vs after-close behaviour.
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": "market_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _jq | No | JMESPath,对 data 求值(写 items[*].id) | |
| _spill | No | true=全量落盘,只回摘要与取数地址 | |
| _fields | No | 逗号分隔的直接字段;有 items 时投影每行,否则投影 data;外层字段或嵌套结构用 _jq | |
| _intent | No | 用户原问题一句话,仅分析用,可留空 | |
| _max_bytes | No | 响应字节上限,默认约 50 KB | |
| _max_bytes_mode | No | 正文超限处理,默认 truncate 保留前缀 |