searchCompanyInfo
searchCompanyInfoSearch listed companies by name or stock code. Resolves a company to stockCode and market.
<critical_rules>
market is REQUIRED: 'CN-A' | 'HK'. Query one market per call.
Stock code format (also applied to numeric/ticker queries):
CN-A: 6 digits (e.g. 000001)
HK: 5 digits (e.g. 00700)
Returns JSON array: stockCode, stockName, market, listingDate. </critical_rules>
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>",
"market": "<market>"
},
"name": "searchCompanyInfo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Result size, max 100, default 5 | |
| query | Yes | Company name or stock code | |
| market | Yes | Market: 'CN-A' | 'HK'. Required. |