AI Agents: The Intersection of Tool Calling and Reasoning in Generative AI