opa_compare_prices
Compare current prices between two to five commodities side by side, including 24-hour changes and spread for same-currency pairs.
Instructions
Compare current prices between 2-5 commodities side by side. Use when the user asks to compare commodities (e.g., 'Brent vs WTI', 'US gas vs EU gas'). Returns each commodity's price with 24h changes, plus the spread if comparing two same-currency commodities. Accepts natural language or codes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commodities | Yes | List of 2-5 commodity names or codes to compare (e.g., ['brent', 'wti'] or ['NATURAL_GAS_USD', 'DUTCH_TTF_EUR']) |