score_options
Score and rank disrupted-flight recovery options using transparent cost math—cash paid, refunds, credits, and arrival delay—so you can identify the lowest-cost choice that meets the deadline.
Instructions
Score and rank options with the traveler's objective. Do the math here, not in your head.
total_cost = cash_paid - cash_refunded - credit x credit_value_factor + hours_late x value_of_time.
It is a COST, so lower is better; say that whenever you show it to the traveler.
Options missing the deadline or over the spend cap can't be the pick. Every amount and time
must cite the call_id it came from; numbers that don't appear there are rejected.
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": {
"options": "<options>",
"original_arrival_local": "<original_arrival_local>",
"original_arrival_call_id": "<original_arrival_call_id>",
"deadline_local": "<deadline_local>"
},
"name": "score_options"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| options | Yes | ||
| deadline_local | Yes | ||
| original_arrival_local | Yes | ||
| original_arrival_call_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||