ResponsesRequest schema
| Field | Type and description | ||||||
|---|---|---|---|---|---|---|---|
modelRequired | string Model id of any text model in the catalog (e.g., | ||||||
input | schema The input prompt or items for the model. When the last message in the conversation is from the assistant, the model answers with a new assistant message. oneOfstring array of object Array itemsobject | ||||||
instructions | string System or developer instructions directing the model's behavior. | ||||||
max_output_tokens | integer Maximum number of output tokens to generate: a whole number from 1 to the model's own
| ||||||
reasoning | object Reasoning configuration object.
| ||||||
temperature | number Sampling temperature. | ||||||
top_p | number Nucleus sampling probability. | ||||||
presence_penalty | number Presence penalty parameter. | ||||||
frequency_penalty | number Frequency penalty parameter. | ||||||
user | string A unique identifier representing your end-user. | ||||||
text | schema Text configuration or content. oneOfstring object | ||||||
metadata | object Developer-assigned metadata for the response. | ||||||
tools | array of object Tools the model may call. Supported tool types: Array itemsobject
| ||||||
tool_choice | schema
oneOfstring Allowed values: object
| ||||||
parallel_tool_calls | boolean Whether the model may call several tools in one turn. | ||||||
service_tier | string Service tier. | ||||||
truncation | schema Truncation strategy for the conversation. oneOfstring object | ||||||
store | boolean
| ||||||
stream | boolean Set to
|