compare_commodities
Compare crops by percent price change over a chosen period to normalize differing price units and identify relative market movement using futures or fallback farm/global price history.
Instructions
Compare crops by % price change over the same period. Units differ, so raw prices are not comparable, but % change is. Uses each crop's futures history when available, otherwise its monthly farm or global price.
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": {
"commodities": "<commodities>"
},
"name": "compare_commodities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| months | No | Compare % change over this many months. | |
| commodities | Yes | Crop names, e.g. ["corn", "soybeans", "wheat"]. |