Decide whether to buy a banana lot, where to sell it, and up to what price
eudr_decide_lotRun the organisation's own buying process on a banana lot from one of its farms: every destination in its library gets GO / GO WITH CONDITIONS / NEEDS A PERSON / NO-GO with the chance the whole chain holds, the margin P10/P50/P90, the most the buyer can pay and keep that outcome, the deal zone against the farmer's ask, and what the farmer is told (never the walk-away price). Every default the lot needed is returned as a stated assumption. Banana only; other crops are refused by name. The run is stored as a decision the organisation can later record an outcome against. Send lot in the shape of lot_example from eudr_procurement_overview. The crop is taken from the farm's own record.
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": {
"farm_id": "<farm_id>",
"lot": "<lot>"
},
"name": "eudr_decide_lot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lot | Yes | The lot: crop, plants, harvestable_share, bunch_kg, maturity, days_since_flowering, expected_daily_mean_c (each a {low, mid, high} range where a range), fingers, chemicals, certificates, offer {farm_gate_price, order_kg, target {margin, max_p_loss}}, farmer_asks, farmer_consents, people. | |
| farm_id | Yes | A farm id from eudr_procurement_overview. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| readouts | No | ||
| decisions | Yes | ||
| assumptions | Yes | ||
| decision_id | Yes | ||
| farmer_view | No | ||
| recommended | No | ||
| rules_in_force | No | ||
| process_version | No |