Home / Servers / OpenAI API / submit_tool_ouputs_to_run
Submit tool outputs to run
An MCP tool from the OpenAI API server, hosted on mcp.hjlabs.in.
Submit tool outputs to run 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… [POST /threads/{thread_id}/runs/{run_id}/submit_tool_outputs]
Name on the gateway: openai_api__submit_tool_ouputs_to_run · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
thread_id required | string | The ID of the thread to which this run belongs. |
run_id required | string | The ID of the run that requires the tool output submission. |
tool_outputs required | array | A list of tools for which the outputs are being submitted. |
stream | boolean | If true, returns a stream of events that happen during the Run as server-sent… |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "openai_api__submit_tool_ouputs_to_run",
"arguments": {
"thread_id": "…",
"run_id": "…",
"tool_outputs": []
}
}Or connect the OpenAI API server directly, which lists 371 tools including this one:
claude mcp add --transport http hj-openai-api https://mcp.hjlabs.in/mcp/openai-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the submit tool outputs to run tool with thread_id set to ….