change_bookingSince the October 27 deploy, change_booking requires fare_class, but the error only says "invalid request". Agents retried three to five times. In two runs the agent then told the user the date change had gone through.
Fix: Return a field-level error that names fare_class and its allowed values, and default it to the booking’s current fare.
Prompt for your coding agent
In the change_booking tool handler, make fare_class optional and default it to the existing booking’s fare class. When validation fails, return an error that names each missing or invalid field and lists its allowed values, for example: {"error":"missing_field","field":"fare_class","allowed":["basic","standard","flex"]}. Add a test that calls change_booking without fare_class.