Tool tree
gradeNot graded
get_tripAnswer
Read the current TripRescue sandbox booking, the simulated airline schedule change, and any staged recovery. Does not change the booking.
View tool JSON
{
"name": "get_trip",
"kind": "answer",
"impl": "imperative",
"description": "Read the current TripRescue sandbox booking, the simulated airline schedule change, and any staged recovery. Does not change the booking.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
}
}find_recovery_optionsAnswer
Find and rank change options for the current disrupted sandbox trip using optional arrival deadline, max extra cost, and max stops. Creates a temporary search; does not change the booked itinerary.
View tool JSON
{
"name": "find_recovery_options",
"kind": "answer",
"impl": "imperative",
"description": "Find and rank change options for the current disrupted sandbox trip using optional arrival deadline, max extra cost, and max stops. Creates a temporary search; does not change the booked itinerary.",
"inputSchema": {
"type": "object",
"properties": {
"arriveBy": {
"type": "string",
"description": "Latest acceptable arrival, ISO 8601 with UTC offset, e.g. 2026-10-17T18:00:00+01:00."
},
"maxExtraAmount": {
"type": "string",
"description": "Maximum additional cost in the trip currency as a decimal string, e.g. \"80.00\"."
},
"maxStops": {
"type": "integer",
"minimum": 0,
"maximum": 2,
"description": "Maximum number of stops, 0 through 2."
}
},
"additionalProperties": false
}
}preview_trip_changeAction
Stage one option from find_recovery_options and show the exact before/after itinerary and price. Creates a temporary pending change; does not confirm it.
View tool JSON
{
"name": "preview_trip_change",
"kind": "act",
"impl": "imperative",
"description": "Stage one option from find_recovery_options and show the exact before/after itinerary and price. Creates a temporary pending change; does not confirm it.",
"inputSchema": {
"type": "object",
"properties": {
"searchId": {
"type": "string",
"description": "searchId returned by find_recovery_options."
},
"optionKey": {
"type": "string",
"description": "optionKey of one option from that same search."
}
},
"required": [
"searchId",
"optionKey"
],
"additionalProperties": false
}
}apply_trip_changeSensitive Action
Confirm the staged change for the current Duffel sandbox booking. Opens the site's confirmation dialog; the traveller must click Confirm there. Changes the sandbox booking and may use test balance payment.
View tool JSON
{
"name": "apply_trip_change",
"kind": "transact",
"impl": "imperative",
"description": "Confirm the staged change for the current Duffel sandbox booking. Opens the site's confirmation dialog; the traveller must click Confirm there. Changes the sandbox booking and may use test balance payment.",
"inputSchema": {
"type": "object",
"properties": {
"previewId": {
"type": "string",
"description": "previewId returned by preview_trip_change."
}
},
"required": [
"previewId"
],
"additionalProperties": false
}
}get_change_statusAnswer
Refetch the current Duffel sandbox booking and report whether the staged itinerary change was applied and verified. Does not change the booking.
View tool JSON
{
"name": "get_change_status",
"kind": "answer",
"impl": "imperative",
"description": "Refetch the current Duffel sandbox booking and report whether the staged itinerary change was applied and verified. Does not change the booking.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
}
}