client used in these examples.
These are API capabilities. Individual harnesses may not expose every control in their user interface.
Compatibility at a glance
Tool calling
Pass standard OpenAI function tools. Setparallel_tool_calls=False when your application must execute one action at a time.
tool message whose tool_call_id matches the call ID. Send the updated message list in the next request.
Structured output
Use strict JSON Schema when your application needs a predictable response shape. Include the wordJSON in the request message.
Reasoning and output limits
Usereasoning.enabled to turn model reasoning on or off. Both max_tokens and max_completion_tokens are accepted; do not send conflicting values for both fields.
Streamed usage
Setinclude_usage to receive token usage in the final stream chunk. That chunk can contain an empty choices array.
Vision and log probabilities
Vision support currently covers base64-encoded images inimage_url content parts.
For a model that supports log probabilities, use the standard OpenAI fields:

