{"command":{"effect":"write","timeoutSeconds":120,"inputSchema":{"type":"object","description":"When a run has the `status: \"requires_action\"` and `required_action.type` is `submit_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.\n","properties":{"path":{"type":"object","properties":{"thread_id":{"type":"string","description":"The ID of the [thread](https://developers.openai.com/api/docs/assistants/migration) to which this run belongs."},"run_id":{"type":"string","description":"The ID of the run that requires the tool output submission."}},"required":["thread_id","run_id"],"additionalProperties":false},"body":{"$ref":"#/definitions/SubmitToolOutputsRunRequest"}},"required":["path","body"],"additionalProperties":false,"definitions":{"SubmitToolOutputsRunRequest":{"type":"object","additionalProperties":false,"properties":{"tool_outputs":{"description":"A list of tools for which the outputs are being submitted.","type":"array","items":{"type":"object","properties":{"tool_call_id":{"type":"string","description":"The ID of the tool call in the `required_action` object within the run object the output is being submitted for."},"output":{"type":"string","description":"The output of the tool call to be submitted to continue the run."}}}},"stream":{"anyOf":[{"type":"boolean","description":"If `true`, returns a stream of events that happen during the Run as server-sent events, terminating when the Run enters a terminal state with a `data: [DONE]` message.\n"},{"type":"null"}],"enum":[false,null]}},"required":["tool_outputs"]}}},"name":"Submit tool outputs to run","id":"openai.submittoolouputstorun","example":{"path":{"thread_id":"example","run_id":"example"},"body":{"tool_outputs":[]}},"maxRequests":1,"summary":false}}