tushare_get_industry_classification
Fetch a stock's Shenwan industry classification from Tushare by stock code. Use the ts_code to return its SW industry sector.
Instructions
Get industry classification for a stock (Tushare API: stock_basic + industry).
Args:
ts_code: Tushare stock code (e.g., "600519.SH")
Returns:
dict: Industry info (SW industry, Shenwan classification)
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": {
"ts_code": "<ts_code>"
},
"name": "tushare_get_industry_classification"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ts_code | Yes |