Latest Prices for Several Instruments
price.bundleThe latest observation for up to 20 instruments in ONE call. A separate tool from price.latest rather than an optional argument on it, because the two are priced differently and nothing binds a payment to a request body — one multiplexed entry point would let a caller quote the single price and send the bundle. Use this instead of looping price.latest: it is one settlement and one round trip. Codes that do not resolve come back with an error field rather than being dropped, and codes past the cap are listed in dropped_codes. Paid; charged only if at least one code resolves.
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": {
"codes": "<codes>"
},
"name": "price.bundle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| codes | Yes | Instrument codes, up to 20. Example: ["CL", "BZ", "HG"]. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| observations | Yes | ||
| dropped_codes | No |