In that context "had" functions as a causative verb. As a causative verb, "had" expresses: a) I used a person to do something for me. EX: I had Max WASH the car.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.