agentInput

Utility function to get AIAgentContextBase.agentInput and try to cast it to some expected type.

Throws

If agent input can't be cast to T