AI Agent Tool Use Architecture: Function Calling, ReAct Loops & Structured Outputs
How AI agents use tools — function calling APIs, tool definitions, ReAct reasoning loops, tool selection strategies, error recovery, parallel tool calls, and structured outputs with Claude and GPT.