When the user asks about recalls or safety issues for a vehicle (by VIN):
- •Call the CarsXE Recalls API:
code
GET https://api.carsxe.com/v1/recalls?key={CARSXE_API_KEY}&vin={VIN} - •Present recall details:
- •Total number of open recalls
- •For each recall: campaign number, component, defect description, remedy status
- •If no recalls exist, clearly confirm the vehicle has no open recalls.
- •Emphasize any safety-critical recalls.
- •If the API key is missing, tell the user to set the
CARSXE_API_KEYenvironment variable.