指数数据查询(同花顺问财)
query_index_dataQuery market data for major indices including SSE Composite, CSI 300, ChiNext, Hang Seng, and Nasdaq. Use natural language questions to obtain price changes, volume, and index points.
Instructions
查询上证指数、沪深300、创业板指、恒生指数、纳斯达克指数等指数行情(涨跌幅/成交量/点位)。输入自然语言问句。 数据来源于同花顺问财 (https://www.iwencai.com/unifiedwap/chat)
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": {
"query": "<query>"
},
"name": "query_index_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 分页参数,默认 1 | |
| limit | No | 每页条数,默认 10 | |
| query | Yes | 自然语言查询问句(可被改写为标准金融问句) |