Preheat air fryer to 350°F (if your air fryer has this function).
Lightly spray the air fryer basket with cooking spray or line with air fryer parchment paper (just incase cheese bubbles over).
Place the bread slices in the air fryer and cook for 3 minutes to get the bread crisp. You will need to work in batches.
As bread is cooking, in a microwaveable safe small bowl, melt butter and then add minced garlic and pesto to it, stirring well to combine.