Start by preheating your air fryer to 330F (165C).Then, cream butter and sugar in a bowl (I used a hand mixer).
Beat in the vanilla extract and egg.
Add the oats, baking soda, flour, salt, and cinnamon to a bowl. Mix well. Then, start adding it slowly to the egg mixture while mixing.
Mix in the chocolate chips and raisins. Mix well.
Put about one tablespoon of cookie dough on a small parchment paper in the air fryer basket. Air fry them for 7-9 minutes until the edges are golden. Cook in batches if needed.