stock_quote_batch
Get latest available quotes for up to 20 stocks in one call, in symbol order.
Same data and sources as stock_quote, just batched: each list element is one quote object (or an {"error": ...} object for that symbol — one bad symbol never fails the batch). No API keys involved; data is unofficial and may be delayed.
Use this when a request mentions MORE THAN ONE stock, and stock_quote when it names exactly one — results are identical per symbol, so the batch simply saves round-trips. Requests naming more than 20 symbols are truncated at 20 and the response includes a "note" saying how many were skipped. Read-only and safe to call repeatedly.
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": {
"symbols": "<symbols>"
},
"name": "stock_quote_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbols | Yes | Comma-separated CODE.MARKET symbols, e.g. "600519.SH,0700.HK,AAPL.US". Whitespace around commas is fine. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |