Problem calling custom events from AI behavior tree's task

It turns out that wire gives an instance of the AIRobotController. Is there an AIController method that returns the object that it is controlling? I searched in the in editor function search but couldn’t find one. I couldn’t find one in the documentation either.