get_all_stock
Search A-share stocks by name to retrieve matching codes, names, and trading status. Supports substring search and optional date.
Instructions
Search stocks by name. Returns matching code, code_name, and tradeStatus.
Args: query: Search keyword matched against code_name (substring, case-insensitive). An empty string matches every row and returns the full market (~5000+ stocks, ~1 MB). date: Date 'YYYY-MM-DD'. Defaults to the latest trading date.
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": "get_all_stock"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ||
| query | Yes |