Compare commercial offers
compare_offersCompare 2 to 4 offers for one request. Returns technical fit, commercial eligibility, validity at as_of and economics separately: supplier charge components with typed missing reasons, a supplier charge subtotal only when charge_comparability holds (task supplied and matching, complete charges, one currency and tax basis, known minimum commitments, same acceptance units, valid offers), and costs the customer keeps as customer_retained_cost_not_modelled. total_customer_cost is always null and decision_comparability always false in this version. Never a ranking or a winner; unknown is never zero or an exclusion.
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": {
"offers": "<offers>"
},
"name": "compare_offers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | No | Reviewed task id task_<slug>_v<n> the work must match | |
| as_of | No | Date the validity windows are checked against, YYYY-MM-DD; default the snapshot date | |
| offers | Yes | Offer ids (off_...) or offer version ids (ofv_..._v<n>) to compare | |
| robots | No | Robots or systems needed | |
| territory | No | ISO 3166-1 alpha-2 country code | |
| output_unit | No | Unit of output_quantity: accepted_inspection or accepted_output | |
| period_months | No | Period of the comparison in months, 1 to 240 | |
| operating_hours | No | System hours over the period | |
| output_quantity | No | Accepted outputs over the period; needs output_unit |