submit Tool Output
abstract suspend fun submitToolOutput(threadId: ThreadId, runId: RunId, output: List<ToolOutput>, requestOptions: RequestOptions? = null): Run
When a run has the status: Status.RequiresAction and required action is RequiredAction.SubmitToolOutputs, 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.
Parameters
thread Id
the ID of the thread to which this run belongs
run Id
the ID of the run to submit tool outputs for
output
list of tool outputs to submit
request Options
request options.