submitToolOutputs

open override fun submitToolOutputs(id: String, submission: SubmitToolOutputs): Run

When a run has the status RunStatus.REQUIRED_ACTION and the action type is RequiredAction.Type.SUBMIT_TOOL_CALLS, this method 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.

Return

The updated run

Parameters

id

The id of the run to submit the outputs for

submission

The tool outputs