normalize_stock_code
Convert A-share stock codes into Baostock-compatible format so queries return the correct market data without code mismatch errors.
Instructions
Normalize a stock code to Baostock format.
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": {
"code": "<code>"
},
"name": "normalize_stock_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes |