How do I get the forward vector of an AI's head bone?

I’m trying to get a vector that originates from my AI’s head bone, looking forward for the bone depending on the head orientation (can I have a forward vector for a bone not just the capsule?). Ultimately I want to use this vector for a dot product with another vector, and I’m struggling!

Any pointers would be appreciated. Thanks.