Farm-Gate Prices for Several Crops
producer.prices.bundleFAOSTAT farm-gate producer prices by country for up to 20 crops in ONE call. A separate tool from producer.prices, for the same pricing reason as price.bundle. This is what a grower was paid at the farm gate — NOT an export unit value and NOT the benchmark price.latest returns; all three are correct and differ. Paid; charged only if at least one crop 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": "producer.prices.bundle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | No | Year to summarise. Defaults to the latest stored. | |
| codes | Yes | Crop instrument codes, up to 20. Example: ["CC", "KC"]. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| commodities | Yes | ||
| dropped_codes | No |