Home / Servers / OpenAI API / get_response
Get a model response
An MCP tool from the OpenAI API server, hosted on mcp.hjlabs.in.
Get a model response Retrieves a model response with the given ID. [GET /responses/{response_id}]
Name on the gateway: openai_api__get_response · read-only.
Parameters
| Name | Type | Description |
|---|---|---|
response_id required | string | The ID of the response to retrieve. |
include | array | Additional fields to include in the response. See the include parameter for… |
stream | boolean | If set to true, the model response data will be streamed to the client as it… |
starting_after | integer | The sequence number of the event after which to start streaming. |
include_obfuscation | boolean | When true, stream obfuscation will be enabled. Stream obfuscation adds random… |
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__get_response",
"arguments": {
"response_id": "…"
}
}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 get a model response tool with response_id set to ….