Tool calling and function execution patterns for AI agents.
An example Tools pattern demonstrating core concepts and best practices.
A more advanced Tools pattern with streaming and error handling.
A production-ready Tools pattern with full test coverage.