market_get_index_components
Retrieve constituent stocks for a specified index code, such as CSI 300 or Shanghai Composite, to support index composition analysis and investment research.
Instructions
Get constituent stocks of an index (CSI300, etc).
Note: Simplified - returns basic info from Sina.
Args:
index_code: Index code (e.g., "000300" for CSI 300, "000001" for Shanghai)
Returns:
dict: Index name and current value
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": {
"index_code": "<index_code>"
},
"name": "market_get_index_components"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index_code | Yes |