modify_trip
Change flights on an existing American Airlines reservation. Initiates the flight change flow, allowing selection of new departure or return dates.
Instructions
Change flights on an existing American Airlines reservation. Initiates the flight change flow — use search_flights to find new options.
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": "modify_trip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lastName | No | Passenger last name | |
| newReturnDate | No | New return date in YYYY-MM-DD format (round trips) | |
| recordLocator | Yes | The 6-character confirmation code (e.g., 'ABC123') | |
| newDepartureDate | No | New departure date in YYYY-MM-DD format |