
Build and refine with tools
Describe the goal, provide relevant code and constraints, and use function calls to connect your application tools. Return tool results to continue the reasoning loop.
- Send one required user prompt with optional system instructions.
- Review the exact non-streaming OpenAI Chat request before running it.
- Inspect assistant text, finish reason, response ID, and token usage together.

