The function that sends the message history plus tool definitions to the provider and returns the model's next response. One of the four parts of the minimal agent, and the only one that touches a vendor (Chapter 3; Appendix A). Previousmessage history Nextoracle