cancel_trip
Cancel an American Airlines reservation. Provide record locator and last name; set confirm=true after explicit user confirmation to complete, otherwise preview only.
Instructions
Cancel an American Airlines reservation. IMPORTANT: Set confirm=true only after explicit user confirmation. Without confirm=true returns a preview.
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": {
"recordLocator": "<recordLocator>"
},
"name": "cancel_trip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Set to true to actually cancel. If false or omitted, returns a preview only. NEVER set to true without explicit user confirmation. | |
| lastName | No | Passenger last name | |
| recordLocator | Yes | The 6-character confirmation code (e.g., 'ABC123') |