quote_cancellation
Price a booking cancellation by calculating the refund amount and whether it returns as cash or airline credit, without modifying the booking.
Instructions
Price cancelling a booking: refund_amount and refund_to (cash vs airline credit). Changes nothing.
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": {
"order_id": "<order_id>"
},
"name": "quote_cancellation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||