get_a_share_code_list
Get all A-share stock codes (5000+), filterable by market such as Shanghai, Shenzhen, Beijing, STAR, and ChiNext. Optionally return codes without exchange prefixes.
Instructions
获取全部 A 股代码列表(5000+ 只),支持按市场筛选(上证/深证/北证/科创板/创业板)
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": "get_a_share_code_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| market | No | 市场筛选: all=全部(默认), sh=上证, sz=深证, bj=北证, kc=科创板, cy=创业板 | |
| simple | No | 是否返回简单代码(不带交易所前缀),默认 false |