OpenAIResponsesRequestBuilder
DSL builder for OpenAIResponsesRequest.
See also
Properties
Whether to run the request in the background.
Upper bound for tokens generated in the response.
Maximum number of tool calls allowed.
Metadata attached to the request.
Whether the model can run tool calls in parallel.
The ID of the previous response to chain from (multi-turn conversation state).
A cache key used to route the request for prompt caching.
Reasoning configuration.
The format the model must output. Combined with verbosity into the text parameter.
A stable identifier used for safety/abuse tracking.
Specifies the processing type used for serving the request.
Sampling temperature (0.0–2.0).
Which (if any) tool the model is forced to call.
Registered tools available to the model.
The truncation strategy for the context window.
Constrains the verbosity of the model's response. Combined with responseFormat into the text parameter.
Functions
Sets the input using a builder DSL.
Sets the input as a list of input items.
Registers tools using a DSL.
Registers a collection of tools.
Registers one or more tools.
Sets the system instructions for the request. Blank strings are ignored.
Sets the tool execution config.
Sets the tool execution config with individual parameters.