Home / Servers / OpenAI API / cancel_response
Cancel a response
An MCP tool from the OpenAI API server, hosted on mcp.hjlabs.in.
Cancel a response Cancels a model response with the given ID. Only responses created with the background parameter set to true can be cancelled. Learn more. [POST /responses/{response_id}/cancel]
Name on the gateway: openai_api__cancel_response · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
response_id required | string | The ID of the response to cancel. |
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__cancel_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 cancel a response tool with response_id set to ….