Create response (OpenAI Responses API)
create_responseCreates a response using the OpenAI Responses API format. Supports models, input, tools, instructions, and streaming options.
Instructions
Create response (OpenAI Responses API) Creates a response using the native OpenAI Responses API shape. The model details must advertise the Responses request format and a same-protocol route must be currently available; model names and providers do not imply availability. Unknown request fields are forwarded on a best-effort basis and remain subject to the selected provider's support.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Text formatting options. | |
| input | No | Input content as a string or structured item array. | |
| model | Yes | Model to use | |
| store | No | Whether the response is stored for later retrieval. | |
| tools | No | Tools available to the model. Tool types and combinations are validated by the selected service. | |
| top_p | No | Nucleus sampling probability. | |
| prompt | No | Reference to a reusable prompt template and variables. | |
| include | No | Additional response sections to include when supported. | |
| metadata | No | Request metadata. | |
| reasoning | No | Reasoning configuration. | |
| background | No | Whether to run the response asynchronously. | |
| truncation | No | Truncation strategy for long conversations. | |
| temperature | No | ||
| tool_choice | No | Tool choice policy or explicit tool selection. | |
| instructions | No | System instructions | |
| service_tier | No | Service tier hint for compatible providers. | |
| stream_options | No | Responses streaming options. | |
| max_output_tokens | No | Maximum output tokens | |
| parallel_tool_calls | No | Whether the model may issue parallel tool calls. | |
| previous_response_id | No | ID of a previous response to continue. |