OpenAI’s Responses API combines the capabilities of the Chat Completion API with tool-use to allow agentic function.