stock_quote
Get the latest available quote (price, change, day range, volume) for one stock in a single market.
Reads from free public feeds (Tencent for A-share/HK, yfinance for US); no API keys involved. Data is unofficial and may be delayed; where the response has a "timestamp" field it shows when the quote is from. Invalid or unknown symbols return an {"error": ...} object instead of raising.
Use this for ONE symbol. Use stock_quote_batch when the request names multiple symbols — it returns one call's worth of data for up to 20 at once. Use kline instead for historical bars, market_summary for index snapshots. This tool is read-only and safe to call repeatedly. Requires no authentication.
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": {
"symbol": "<symbol>"
},
"name": "stock_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | Stock symbol in CODE.MARKET format — market is one of SH (Shanghai), SZ (Shenzhen), HK (Hong Kong), US (US listings). Examples: "600519.SH", "0700.HK", "NVDA.US". HK codes may omit leading zeros ("0700.HK" == "00700.HK"). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |