Class RunSubmitToolOutputsParams
-
- All Implemented Interfaces:
-
com.openai.core.Params
public final class RunSubmitToolOutputsParams implements Params
When a run has the
status: "requires_action"
andrequired_action.type
issubmit_tool_outputs
, this endpoint can be used to submit the outputs from the tool calls once they're all completed. All outputs must be submitted in a single request.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
RunSubmitToolOutputsParams.Builder
A builder for RunSubmitToolOutputsParams.
public final class
RunSubmitToolOutputsParams.Body
public final class
RunSubmitToolOutputsParams.ToolOutput
-
Method Summary
Modifier and Type Method Description final String
threadId()
final Optional<String>
runId()
final List<RunSubmitToolOutputsParams.ToolOutput>
toolOutputs()
A list of tools for which the outputs are being submitted. final JsonField<List<RunSubmitToolOutputsParams.ToolOutput>>
_toolOutputs()
Returns the raw JSON value of toolOutputs. final Map<String, JsonValue>
_additionalBodyProperties()
final Headers
_additionalHeaders()
final QueryParams
_additionalQueryParams()
final RunSubmitToolOutputsParams.Builder
toBuilder()
final RunSubmitToolOutputsParams.Body
_body()
final String
_pathParam(Integer index)
Headers
_headers()
The full set of headers in the parameters, including both fixed and additional headers. QueryParams
_queryParams()
The full set of query params in the parameters, including both fixed and additional query params. Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static RunSubmitToolOutputsParams.Builder
builder()
Returns a mutable builder for constructing an instance of RunSubmitToolOutputsParams. -
-
Method Detail
-
toolOutputs
final List<RunSubmitToolOutputsParams.ToolOutput> toolOutputs()
A list of tools for which the outputs are being submitted.
-
_toolOutputs
final JsonField<List<RunSubmitToolOutputsParams.ToolOutput>> _toolOutputs()
Returns the raw JSON value of toolOutputs.
Unlike toolOutputs, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalBodyProperties
final Map<String, JsonValue> _additionalBodyProperties()
-
_additionalHeaders
final Headers _additionalHeaders()
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
-
toBuilder
final RunSubmitToolOutputsParams.Builder toBuilder()
-
_body
final RunSubmitToolOutputsParams.Body _body()
-
_pathParam
final String _pathParam(Integer index)
-
_headers
Headers _headers()
The full set of headers in the parameters, including both fixed and additional headers.
-
_queryParams
QueryParams _queryParams()
The full set of query params in the parameters, including both fixed and additional query params.
-
builder
final static RunSubmitToolOutputsParams.Builder builder()
Returns a mutable builder for constructing an instance of RunSubmitToolOutputsParams.
The following fields are required:
.threadId() .toolOutputs()
-
-
-
-