To prevent drying, coat the vegetables in a light layer of oil before air frying. Additionally, avoid overcooking. Check on them periodically and adjust the cooking time as needed.