{
"error": {
"code": "not_found",
"http_status": 404,
"message": "The requested model was not found.",
"request_id": "req_3f9a1c2b7d4e5f60718293a4",
"type": "invalid_request_error"
}
}
Creates a model response. Provide text or
image inputs to generate text
or JSON outputs. Have the model call
your own custom code or use built-in
tools like web search
or file search to use your own data
as input for the model’s response.
POST
/
v1
/
responses
curl --request POST \ --url https://api.dreamto.ai/v1/responses \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "model": "gpt-6.2-sol", "input": "Explain quantum computing in three sentences."}'
{ "id": "resp_67ccd3a9da748190baa7f1570fe91ac604becb25c45c1d41", "object": "response", "access_programs": null, "created_at": 1741476777, "status": "completed", "completed_at": 1741476778, "error": null, "incomplete_details": null, "instructions": null, "max_output_tokens": null, "model": "gpt-6.2-astra", "output": [ { "type": "message", "id": "msg_67ccd3acc8d48190a77525dc6de64b4104becb25c45c1d41", "status": "completed", "role": "assistant", "content": [ { "type": "output_text", "text": "The image depicts a scenic landscape with a wooden boardwalk or pathway leading through lush, green grass under a blue sky with some clouds. The setting suggests a peaceful natural area, possibly a park or nature reserve. There are trees and shrubs in the background.", "annotations": [], "logprobs": [] } ] } ], "parallel_tool_calls": true, "previous_response_id": null, "reasoning": { "effort": null, "summary": null, "context": null }, "temperature": 1, "text": { "format": { "type": "text" } }, "tool_choice": "auto", "tools": [], "top_p": 1, "truncation": "disabled", "usage": { "input_tokens": 328, "input_tokens_details": { "cached_tokens": 0, "cache_write_tokens": 0 }, "output_tokens": 52, "output_tokens_details": { "reasoning_tokens": 0 }, "total_tokens": 380 }, "tool_usage": { "image_gen": { "input_tokens": 0, "input_tokens_details": { "text_tokens": 0, "image_tokens": 0 }, "output_tokens": 0, "output_tokens_details": { "text_tokens": 0, "image_tokens": 0 }, "total_tokens": 0 }, "web_search": { "num_requests": 0 } }, "user": null, "metadata": {}}
{
"error": {
"code": "not_found",
"http_status": 404,
"message": "The requested model was not found.",
"request_id": "req_3f9a1c2b7d4e5f60718293a4",
"type": "invalid_request_error"
}
}
Send your DreamTo API Key in the Authorization header: Authorization: Bearer <API Key>.
Body
application/json
metadata
object | null
Set of 16 key-value pairs that can be attached to an object. This can be
useful for storing additional information about the object in a structured
format, and querying for objects via API or the dashboard.
Keys are strings with a maximum length of 64 characters. Values are strings
with a maximum length of 512 characters.
Show child attributes
top_logprobs
integer
An integer between 0 and 20 specifying the maximum number of most likely
tokens to return at each token position, each with an associated log
probability. In some cases, the number of returned tokens may be fewer than
requested.
Required range: 0 <= x <= 20
temperature
number | null
default:1
What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
We generally recommend altering this or top_p but not both.
Required range: 0 <= x <= 2
Example:
1
top_p
number | null
default:1
An alternative to sampling with temperature, called nucleus sampling,
where the model considers the results of the tokens with top_p probability
mass. So 0.1 means only the tokens comprising the top 10% probability mass
are considered.
We generally recommend altering this or temperature but not both.
Required range: 0 <= x <= 1
Example:
1
user
string | null
deprecated
This field is being replaced by safety_identifier and prompt_cache_key. Use prompt_cache_key instead to maintain caching optimizations.
A stable identifier for your end-users.
Used to boost cache hit rates by better bucketing similar requests and to help OpenAI detect and prevent abuse. Learn more.
Example:
"user-1234"
safety_identifier
string | null
A stable identifier used to help detect users of your application that may be violating OpenAI's usage policies.
The IDs should be a string that uniquely identifies each user, with a maximum length of 128 characters. We recommend hashing their username or email address, in order to avoid sending us any identifying information. Learn more.
Maximum string length: 128
Example:
"safety-identifier-1234"
prompt_cache_key
string | null
Used by OpenAI to cache responses for similar requests to optimize your cache hit rates. Replaces the user field. Learn more.
Example:
"prompt-cache-key-1234"
prompt_cache_retention
enum<string> | null
deprecated
Deprecated. Use prompt_cache_options.ttl instead.
The retention policy for the prompt cache. Set to 24h to enable extended prompt caching, which keeps cached prefixes active for longer, up to a maximum of 24 hours. Learn more.
This field expresses a maximum retention policy, while
prompt_cache_options.ttl expresses a minimum cache lifetime. The two
fields are independent and do not interact.
For gpt-5.5, gpt-5.5-pro, and future models, only 24h is supported.
For older models that support both in_memory and 24h, the default depends on your organization's data retention policy:
Organizations without ZDR enabled default to 24h.
Organizations with ZDR enabled default to in_memory when prompt_cache_retention is not specified.
Available options:
in_memory,
24h
previous_response_id
string | null
The unique ID of the previous response to the model. Use this to
create multi-turn conversations. Learn more about
conversation state. Cannot be used in conjunction with conversation.
model
string
ID of the model to use, for example gpt-6.2-sol. See Models for the available models.
Example:
"gpt-6.2-sol"
background
boolean | null
default:false
Whether to run the model response in the background.
Learn more.
max_tool_calls
integer | null
The maximum number of total calls to built-in tools that can be processed in a response. This maximum number applies across all built-in tool calls, not per individual tool. Any further attempts to call a tool by the model will be ignored.
text
object
Configuration options for a text response from the model. Can be plain
text or structured JSON data. Learn more:
An array of tools the model may call while generating a response. You
can specify which tool to use by setting the tool_choice parameter.
We support the following categories of tools:
Built-in tools: Tools that are provided by OpenAI that extend the
model's capabilities, like web search
or file search. Learn more about
built-in tools.
MCP Tools: Integrations with third-party systems via custom MCP servers
or predefined connectors such as Google Drive and SharePoint. Learn more about
MCP Tools.
Function calls (custom tools): Functions that are defined by you,
enabling the model to call your own code with strongly typed arguments
and outputs. Learn more about
function calling. You can also use
custom tools to call your own code.
How the model should select which tool (or tools) to use when generating
a response. See the tools parameter to see how to specify which tools
the model can call.
Available options:
none,
auto,
required
prompt
object | null
Reference to a prompt template and its variables.
Learn more.
Show child attributes
access_programs
object
Domain-specific access programs to use for this request.
Show child attributes
image
object
Request level image options.
Show child attributes
prompt_cache_options
Prompt cache options · object
Options for prompt caching. Supported for gpt-5.6 and later models. By default, OpenAI automatically chooses one implicit cache breakpoint. You can add explicit breakpoints to content blocks with prompt_cache_breakpoint. Each request can write up to four breakpoints. For cache matching, OpenAI considers up to the latest 80 breakpoints in the conversation, without a content-block lookback limit. Set mode to explicit to disable the implicit breakpoint. The ttl defaults to 30m. Supported lifetimes depend on the API. See the prompt caching guide for current details.
Show child attributes
service_tier
enum<string> | null
default:auto
Specifies the processing type used for serving the request.
If set to 'auto', then the request will be processed with the service tier configured in the Project settings. Unless otherwise configured, the Project will use 'default'.
If set to 'default', then the request will be processed with the standard pricing and performance for the selected model.
If set to 'flex', then the request will be processed with the Flex Processing service tier.
To opt-in to Fast mode at the request level, include the service_tier=fast or service_tier=priority parameter for Responses or Chat Completions. The response will show service_tier=priority regardless of if you specify service_tier=fast or priority in your request.
If set to 'ultrafast', then the request will be processed with the access-controlled Ultrafast Processing service tier. This tier is currently available for gpt-5.6-sol; a response served through it will show service_tier=ultrafast.
When not set, the default behavior is 'auto'.
When the service_tier parameter is set, the response body will include the service_tier value based on the processing mode actually used to serve the request. This response value may be different from the value set in the parameter.
Available options:
auto,
default,
flex,
scale,
priority,
fast,
ultrafast
truncation
enum<string> | null
default:disabled
deprecated
The truncation strategy to use for the model response.
auto: If the input to this Response exceeds
the model's context window size, the model will truncate the
response to fit the context window by dropping items from the beginning of the conversation.
On some models, trimming can begin earlier because the API subtracts the model's
maximum output allowance from its input limit, even if you set a lower max_output_tokens.
disabled (default): If the input size will exceed the context window
size for a model, the request will fail with a 400 error.
Specify additional output data to include in the model response. Currently supported values are:
web_search_call.action.sources: Include the sources of the web search tool call.
code_interpreter_call.outputs: Includes the outputs of python code execution in code interpreter tool call items.
computer_call_output.output.image_url: Include image urls from the computer call output.
file_search_call.results: Include the search results of the file search tool call.
message.input_image.image_url: Include image urls from the input message.
message.output_text.logprobs: Include logprobs with assistant messages.
reasoning.encrypted_content: Includes an encrypted version of reasoning tokens in reasoning item outputs. This enables reasoning items to be used in multi-turn conversations when using the Responses API statelessly (like when the store parameter is set to false, or when an organization is enrolled in the zero data retention program).
Specify additional output data to include in the model response. Currently supported values are:
web_search_call.results: Include the search results of the web search tool call.
web_search_call.action.sources: Include the sources of the web search tool call.
code_interpreter_call.outputs: Includes the outputs of python code execution in code interpreter tool call items.
computer_call_output.output.image_url: Include image urls from the computer call output.
file_search_call.results: Include the search results of the file search tool call.
message.input_image.image_url: Include image urls from the input message.
message.output_text.logprobs: Include logprobs with assistant messages.
reasoning.encrypted_content: Includes an encrypted version of reasoning tokens in reasoning item outputs. This enables reasoning items to be used in multi-turn conversations when using the Responses API statelessly (like when the store parameter is set to false, or when an organization is enrolled in the zero data retention program).
Available options:
file_search_call.results,
web_search_call.results,
web_search_call.action.sources,
message.input_image.image_url,
computer_call_output.output.image_url,
code_interpreter_call.outputs,
reasoning.encrypted_content,
message.output_text.logprobs
parallel_tool_calls
boolean | null
default:true
Whether to allow the model to run tool calls in parallel.
store
boolean | null
default:true
Whether to store the generated model response for later retrieval via
API.
Defaults to true when omitted.
If set to true, response data will be stored for at least 30 days, subject to the data retention exceptions.
instructions
string | null
A system (or developer) message inserted into the model's context.
When using along with previous_response_id, the instructions from a previous
response will not be carried over to the next response. This makes it simple
to swap out system (or developer) messages in new responses.
moderation
object | null
Configuration for running moderation on the input and output of this response.
Show child attributes
stream
boolean | null
default:false
If set to true, the model response data will be streamed to the client
as it is generated using server-sent events.
See the Streaming section below
for more information.
stream_options
object | null
Options for streaming responses. Only set this when you set stream: true.
Show child attributes
conversation
stringConversation object · object
The conversation that this response belongs to. Items from this conversation are prepended to input_items for this response request.
Input items and output items from this response are automatically added to this conversation after this response completes.
context_management
object[] | null
Context management configuration for this request.
An upper bound for the number of tokens that can be generated for a response, including visible output tokens and reasoning tokens.
Required range: x >= 16
Response
A Response object for a non-streaming request; with stream: true, server-sent events (text/event-stream), each a ResponseStreamEvent.
metadata
object | null
required
Set of 16 key-value pairs that can be attached to an object. This can be
useful for storing additional information about the object in a structured
format, and querying for objects via API or the dashboard.
Keys are strings with a maximum length of 64 characters. Values are strings
with a maximum length of 512 characters.
Show child attributes
temperature
number | null
default:1
required
What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
We generally recommend altering this or top_p but not both.
Required range: 0 <= x <= 2
Example:
1
top_p
number | null
default:1
required
An alternative to sampling with temperature, called nucleus sampling,
where the model considers the results of the tokens with top_p probability
mass. So 0.1 means only the tokens comprising the top 10% probability mass
are considered.
We generally recommend altering this or temperature but not both.
Required range: 0 <= x <= 1
Example:
1
model
string
required
ID of the model to use, for example gpt-6.2-sol. See Models for the available models.
An array of tools the model may call while generating a response. You
can specify which tool to use by setting the tool_choice parameter.
We support the following categories of tools:
Built-in tools: Tools that are provided by OpenAI that extend the
model's capabilities, like web search
or file search. Learn more about
built-in tools.
MCP Tools: Integrations with third-party systems via custom MCP servers
or predefined connectors such as Google Drive and SharePoint. Learn more about
MCP Tools.
Function calls (custom tools): Functions that are defined by you,
enabling the model to call your own code with strongly typed arguments
and outputs. Learn more about
function calling. You can also use
custom tools to call your own code.
How the model should select which tool (or tools) to use when generating
a response. See the tools parameter to see how to specify which tools
the model can call.
Available options:
none,
auto,
required
id
string
required
Unique identifier for this Response.
object
string
required
The object type of this resource - always set to response.
Allowed value: "response"
access_programs
object | null
required
Show child attributes
created_at
number<unixtime>
required
Unix timestamp (in seconds) of when this Response was created.
error
object | null
required
An error object returned when the model fails to generate a Response.
The length and order of items in the output array is dependent
on the model's response.
Rather than accessing the first item in the output array and
assuming it's an assistant message with the content generated by
the model, you might consider using the output_text property where
supported in SDKs.
A system (or developer) message inserted into the model's context.
When using along with previous_response_id, the instructions from a previous
response will not be carried over to the next response. This makes it simple
to swap out system (or developer) messages in new responses.
parallel_tool_calls
boolean
default:true
required
Whether to allow the model to run tool calls in parallel.
top_logprobs
integer | null
An integer between 0 and 20 specifying the maximum number of most likely
tokens to return at each token position, each with an associated log
probability. In some cases, the number of returned tokens may be fewer than
requested.
Required range: 0 <= x <= 20
user
string | null
deprecated
This field is being replaced by safety_identifier and prompt_cache_key. Use prompt_cache_key instead to maintain caching optimizations.
A stable identifier for your end-users.
Used to boost cache hit rates by better bucketing similar requests and to help OpenAI detect and prevent abuse. Learn more.
Example:
"user-1234"
safety_identifier
string | null
A stable identifier used to help detect users of your application that may be violating OpenAI's usage policies.
The IDs should be a string that uniquely identifies each user, with a maximum length of 128 characters. We recommend hashing their username or email address, in order to avoid sending us any identifying information. Learn more.
Maximum string length: 128
Example:
"safety-identifier-1234"
prompt_cache_key
string | null
Used by OpenAI to cache responses for similar requests to optimize your cache hit rates. Replaces the user field. Learn more.
Example:
"prompt-cache-key-1234"
prompt_cache_retention
enum<string> | null
deprecated
Deprecated. Use prompt_cache_options.ttl instead.
The retention policy for the prompt cache. Set to 24h to enable extended prompt caching, which keeps cached prefixes active for longer, up to a maximum of 24 hours. Learn more.
This field expresses a maximum retention policy, while
prompt_cache_options.ttl expresses a minimum cache lifetime. The two
fields are independent and do not interact.
For gpt-5.5, gpt-5.5-pro, and future models, only 24h is supported.
For older models that support both in_memory and 24h, the default depends on your organization's data retention policy:
Organizations without ZDR enabled default to 24h.
Organizations with ZDR enabled default to in_memory when prompt_cache_retention is not specified.
Available options:
in_memory,
24h
previous_response_id
string | null
The unique ID of the previous response to the model. Use this to
create multi-turn conversations. Learn more about
conversation state. Cannot be used in conjunction with conversation.
background
boolean | null
default:false
Whether to run the model response in the background.
Learn more.
max_tool_calls
integer | null
The maximum number of total calls to built-in tools that can be processed in a response. This maximum number applies across all built-in tool calls, not per individual tool. Any further attempts to call a tool by the model will be ignored.
text
object
Configuration options for a text response from the model. Can be plain
text or structured JSON data. Learn more:
Reference to a prompt template and its variables.
Learn more.
Show child attributes
image
object
Show child attributes
service_tier
enum<string> | null
default:auto
Specifies the processing type used for serving the request.
If set to 'auto', then the request will be processed with the service tier configured in the Project settings. Unless otherwise configured, the Project will use 'default'.
If set to 'default', then the request will be processed with the standard pricing and performance for the selected model.
If set to 'flex', then the request will be processed with the Flex Processing service tier.
To opt-in to Fast mode at the request level, include the service_tier=fast or service_tier=priority parameter for Responses or Chat Completions. The response will show service_tier=priority regardless of if you specify service_tier=fast or priority in your request.
If set to 'ultrafast', then the request will be processed with the access-controlled Ultrafast Processing service tier. This tier is currently available for gpt-5.6-sol; a response served through it will show service_tier=ultrafast.
When not set, the default behavior is 'auto'.
When the service_tier parameter is set, the response body will include the service_tier value based on the processing mode actually used to serve the request. This response value may be different from the value set in the parameter.
Available options:
auto,
default,
flex,
scale,
priority,
fast,
ultrafast
truncation
enum<string> | null
default:disabled
The truncation strategy to use for the model response.
auto: If the input to this Response exceeds
the model's context window size, the model will truncate the
response to fit the context window by dropping items from the beginning of the conversation.
On some models, trimming can begin earlier because the API subtracts the model's
maximum output allowance from its input limit, even if you set a lower max_output_tokens.
disabled (default): If the input size will exceed the context window
size for a model, the request will fail with a 400 error.
Available options:
auto,
disabled
status
enum<string>
The status of the response generation. One of completed, failed,
in_progress, cancelled, queued, or incomplete.
Available options:
completed,
failed,
in_progress,
cancelled,
queued,
incomplete
completed_at
number<unixtime> | null
Unix timestamp (in seconds) of when this Response was completed.
Only present when the status is completed.
input_transformations
object[]
Reasoning inputs withheld from the model, in input order.
SDK-only convenience property that contains the aggregated text output
from all output_text items in the output array, if any are present.
Supported in the Python and JavaScript SDKs.
usage
object | null
Represents token usage details including input tokens, output tokens,
a breakdown of output tokens, and the total tokens used.
Show child attributes
tool_usage
Response tool usage · object
Usage reported by hosted tools, separate from base model usage. The field
can be omitted when tool usage is unavailable. When present, tool families
with no recorded usage have zero counts.
image_gen sums available token counts across image generation calls.
Calls with missing or incomplete usage records may be skipped. Output
token details and cached input counts can be omitted. An omitted cache
count means cache usage is unknown.
web_search.num_requests counts billable searches. Discounted searches
and actions such as opening a page are excluded. Use billing records to
reconcile final charges.
Show child attributes
prompt_cache_options
Prompt cache options · object
The prompt-caching options that were applied to the response. Supported for gpt-5.6 and later models.
Show child attributes
prompt_cache_diagnostics
object
Prompt cache diagnostics requested for this response.
Option 1
Option 2
Option 3
Option 4
Show child attributes
moderation
Moderation · object | null
Moderation results for the response input and output, if moderated completions were requested.
Show child attributes
conversation
Conversation · object | null
The conversation that this response belonged to. Input items and output items from this response were automatically added to this conversation.
Show child attributes
max_output_tokens
integer | null
An upper bound for the number of tokens that can be generated for a response, including visible output tokens and reasoning tokens.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"DreamTo API","description":"DreamTo 开放平台 API 对接文档:大模型、图像生成、视频生成、素材库与回调通知。","colors":{"primary":"#3E3E3F","light":"#D9D9D9","dark":"#363637"},"logo":{"light":"https://mintcdn.com/dreamto/qdi4xMMMFQC2W0qR/logo/light.png?fit=max\u0026auto=format\u0026n=qdi4xMMMFQC2W0qR\u0026q=85\u0026s=34f5db7a934e6d8d4723f28e3524c21a","dark":"https://mintcdn.com/dreamto/qdi4xMMMFQC2W0qR/logo/dark.png?fit=max\u0026auto=format\u0026n=qdi4xMMMFQC2W0qR\u0026q=85\u0026s=e9e91d5623ae6cf20295add0e33604b6","href":"https://www.dreamto.ai"},"favicon":"https://mintcdn.com/dreamto/Ph_X0c0GH3e_Oc4M/logo/favicon.png?fit=max\u0026auto=format\u0026n=Ph_X0c0GH3e_Oc4M\u0026q=85\u0026s=a962c369d147adc379d19082b3761244","api":{"examples":{"languages":["curl","python","javascript","node","go","java","php","ruby","csharp","swift","kotlin","rust"],"prefill":true}},"appearance":{"default":"dark"},"navbar":{"primary":{"type":"button","label":"Console","href":"https://www.dreamto.ai"}},"footer":{"socials":{"website":"https://www.dreamto.ai"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode","download-pdf","download-spec","assistant","grok","aistudio","devin","windsurf","add-mcp","devin-mcp"],"display":"header"},"styling":{"latex":true},"navigation":{"languages":[{"language":"zh","default":true,"href":""},{"language":"en","href":"en"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"dreamto","hasAudioNarration":false,"actualSubdomain":"dreamto","customDomains":["docs.dreamto.ai"],"gitSource":{"type":"github","owner":"dreamtoai","repo":"dreamtoai-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6af54bcfc07174dae1a336e3"},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6b13fb2c585955f128114e94","clientVersion":"0.0.4458","searchFilterCounts":[{"language":"zh","tag":"音乐生成","count":94},{"language":"zh","tag":"Suno","count":94},{"language":"en","tag":"Music generation","count":94},{"language":"en","tag":"Suno","count":94},{"language":"zh","tag":"Seedance 视频生成","count":82},{"language":"en","tag":"Seedance video","count":82},{"language":"zh","tag":"使用示例","count":63},{"language":"en","tag":"Examples","count":63},{"language":"zh","tag":"图像生成","count":50},{"language":"zh","tag":"歌曲生成与编辑","count":50},{"language":"en","tag":"Image generation","count":50},{"language":"en","tag":"Songs","count":50},{"language":"zh","tag":"PixVerse 视频生成","count":28},{"language":"en","tag":"PixVerse video","count":28},{"language":"zh","tag":"Wan 视频生成","count":27},{"language":"en","tag":"Wan video","count":27},{"language":"zh","tag":"工具接入","count":16},{"language":"zh","tag":"Seedance 2.5","count":16},{"language":"en","tag":"Integrations","count":16},{"language":"en","tag":"Seedance 2.5","count":16}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"#navbar img.nav-logo,.nav-logo{height:2.5rem;max-height:2.5rem;width:auto}@media (max-width: 1024px){#navbar img.nav-logo,.nav-logo{height:2rem;max-height:2rem}}"}]}
{"page":{"pagePath":"en/api-reference/openai-responses/create-response","slug":"/en/api-reference/openai-responses/create-response","pageMetadata":{"title":"Create a model response","description":"Creates a model response. Provide [text](https://developers.openai.com/api/docs/guides/text) or\n[image](https://developers.openai.com/api/docs/guides/images-vision) inputs to generate [text](https://developers.openai.com/api/docs/guides/text)\nor [JSON](https://developers.openai.com/api/docs/guides/structured-outputs) outputs. Have the model call\nyour own [custom code](https://developers.openai.com/api/docs/guides/function-calling) or use built-in\n[tools](https://developers.openai.com/api/docs/guides/tools) like [web search](https://developers.openai.com/api/docs/guides/tools-web-search)\nor [file search](https://developers.openai.com/api/docs/guides/tools-file-search) to use your own data\nas input for the model's response.\n","deprecated":null,"version":null,"sidebarTitle":"Create a model response","openapi":"/openapi/en/openai-responses.json post /v1/responses","href":"/en/api-reference/openai-responses/create-response","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n a: \"a\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Creates a model response. Provide \", _jsx(_components.a, {\n href: \"https://developers.openai.com/api/docs/guides/text\",\n children: \"text\"\n }), \" or\\n\", _jsx(_components.a, {\n href: \"https://developers.openai.com/api/docs/guides/images-vision\",\n children: \"image\"\n }), \" inputs to generate \", _jsx(_components.a, {\n href: \"https://developers.openai.com/api/docs/guides/text\",\n children: \"text\"\n }), \"\\nor \", _jsx(_components.a, {\n href: \"https://developers.openai.com/api/docs/guides/structured-outputs\",\n children: \"JSON\"\n }), \" outputs. Have the model call\\nyour own \", _jsx(_components.a, {\n href: \"https://developers.openai.com/api/docs/guides/function-calling\",\n children: \"custom code\"\n }), \" or use built-in\\n\", _jsx(_components.a, {\n href: \"https://developers.openai.com/api/docs/guides/tools\",\n children: \"tools\"\n }), \" like \", _jsx(_components.a, {\n href: \"https://developers.openai.com/api/docs/guides/tools-web-search\",\n children: \"web search\"\n }), \"\\nor \", _jsx(_components.a, {\n href: \"https://developers.openai.com/api/docs/guides/tools-file-search\",\n children: \"file search\"\n }), \" to use your own data\\nas input for the model’s response.\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create a model response","description":"Creates a model response. Provide [text](https://developers.openai.com/api/docs/guides/text) or\n[image](https://developers.openai.com/api/docs/guides/images-vision) inputs to generate [text](https://developers.openai.com/api/docs/guides/text)\nor [JSON](https://developers.openai.com/api/docs/guides/structured-outputs) outputs. Have the model call\nyour own [custom code](https://developers.openai.com/api/docs/guides/function-calling) or use built-in\n[tools](https://developers.openai.com/api/docs/guides/tools) like [web search](https://developers.openai.com/api/docs/guides/tools-web-search)\nor [file search](https://developers.openai.com/api/docs/guides/tools-file-search) to use your own data\nas input for the model's response.\n","deprecated":null,"version":null,"sidebarTitle":"Create a model response","openapi":"/openapi/en/openai-responses.json post /v1/responses","href":"/en/api-reference/openai-responses/create-response","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"createResponse","summary":"Create a model response","description":"Creates a model response. Provide [text](https://developers.openai.com/api/docs/guides/text) or\n[image](https://developers.openai.com/api/docs/guides/images-vision) inputs to generate [text](https://developers.openai.com/api/docs/guides/text)\nor [JSON](https://developers.openai.com/api/docs/guides/structured-outputs) outputs. Have the model call\nyour own [custom code](https://developers.openai.com/api/docs/guides/function-calling) or use built-in\n[tools](https://developers.openai.com/api/docs/guides/tools) like [web search](https://developers.openai.com/api/docs/guides/tools-web-search)\nor [file search](https://developers.openai.com/api/docs/guides/tools-file-search) to use your own data\nas input for the model's response.\n","tags":["Responses"],"requestBody":"850375df-5d56-41e8-af2c-ee5e945d8c49","responses":{"200":"ddf63c72-f4a5-4191-88b5-6e97672d931b","400":"0defc5ec-a6c9-467e-b5ed-f7a3a7221aed","401":"29d60a35-dd49-423a-9aac-bd62cc1a5ba8","402":"5fd106ba-e962-474e-b49c-b04147b91742","403":"80297622-19ee-474b-a22d-d0b9ae3281ca","404":"1bf7d75a-21aa-4285-aa80-c83163aa9f97","429":"0eee7d81-c20e-4820-8eb0-21e7bb3c26c3","500":"4d37eb0f-45ed-4db4-a999-a6d7a8a72b94","503":"407459f3-fcda-4327-a208-ac1291d08dc8"},"x-mint":{"href":"/en/api-reference/openai-responses/create-response","metadata":{"title":"Create a model response","sidebarTitle":"Create a model response"}},"method":"post","type":"path","servers":["94ed4e3a-d0e2-4fd8-a521-f19d3c29df19"],"security":["4cd243db-694c-4173-b1b7-7ab2f2e7a4c6"],"path":"/v1/responses","baseUrlOptions":["https://api.dreamto.ai"],"title":"Create a model response","codeSamples":[],"requestExampleLanguages":["bash","python","javascript","node","go","java","php","ruby","csharp","swift","kotlin","rust"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[{"body.model":"gpt-6.2-sol","body.input.oneOf.0":"Explain quantum computing in three sentences."},{"body.model":"gpt-6.2-sol","body.input.oneOf.1.items.0.oneOf.0.role":"user","body.input.oneOf.1.items.0.oneOf.0.content.oneOf.0":"Suggest a name for a coffee shop.","body.input.oneOf.1.items.1.oneOf.0.role":"assistant","body.input.oneOf.1.items.1.oneOf.0.content.oneOf.0":"How about \"Morning Light Coffee\"?","body.input.oneOf.1.items.2.oneOf.0.role":"user","body.input.oneOf.1.items.2.oneOf.0.content.oneOf.0":"Now add a tagline for that name.","body.instructions.oneOf.0":"You are a concise, professional assistant."},{"body.model":"gpt-6.2-sol","body.input.oneOf.0":"Write a four-line poem about autumn.","body.stream.oneOf.0":true},{"body.model":"gpt-6.2-astra","body.reasoning.oneOf.0.effort.oneOf.0":"high","body.input.oneOf.0":"Prove that among any five integers there are three whose sum is divisible by 3."},{"body.model":"gpt-6.1-terra","body.input.oneOf.1.items.0.oneOf.0.role":"user","body.input.oneOf.1.items.0.oneOf.0.content.oneOf.1.items.0.oneOf.0.type":"input_text","body.input.oneOf.1.items.0.oneOf.0.content.oneOf.1.items.0.oneOf.0.text":"What is in this image?","body.input.oneOf.1.items.0.oneOf.0.content.oneOf.1.items.1.oneOf.0.type":"input_image"},{"body.model":"gpt-6.2-sol","body.tools.items.0.oneOf.0.type":"function","body.tools.items.0.oneOf.0.name":"get_weather","body.tools.items.0.oneOf.0.parameters.oneOf.0.type":"object","body.tools.items.0.oneOf.0.parameters.oneOf.0.properties":{"city":{"type":"string","description":"City name, e.g. Hangzhou"},"unit":{"type":"string","enum":["celsius","fahrenheit"]}},"body.tools.items.0.oneOf.0.parameters.oneOf.0.required":["city"],"body.tools.items.0.oneOf.0.description.oneOf.0":"Get the current weather for a city","body.input.oneOf.0":"What's the weather like in Hangzhou today?"},{"body.model":"gpt-6.2-sol","body.text.format.oneOf.1.type":"json_schema","body.text.format.oneOf.1.name":"contact","body.text.format.oneOf.1.schema":{"type":"object","properties":{"name":{"type":"string"},"company":{"type":"string"},"email":{"type":"string"}},"required":["name","company","email"],"additionalProperties":false},"body.text.format.oneOf.1.strict.oneOf.0":true,"body.input.oneOf.0":"Extract the contact from this sentence: I'm Li Lei from Galaxy Tech, lilei@example.com."}]},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"metadata":{"oneOf":[{"type":"object","description":"Set of 16 key-value pairs that can be attached to an object. This can be\nuseful for storing additional information about the object in a structured\nformat, and querying for objects via API or the dashboard.\n\nKeys are strings with a maximum length of 64 characters. Values are strings\nwith a maximum length of 512 characters.\n","additionalProperties":{"type":"string","uniqueKey":"metadata.oneOf.0.additionalProperties","typeLabel":"string"},"uniqueKey":"metadata.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"metadata.oneOf.1","typeLabel":"null"}],"uniqueKey":"metadata","typeLabel":"object | null"},"top_logprobs":{"type":"integer","description":"An integer between 0 and 20 specifying the maximum number of most likely\ntokens to return at each token position, each with an associated log\nprobability. In some cases, the number of returned tokens may be fewer than\nrequested.\n","maximum":20,"minimum":0,"uniqueKey":"top_logprobs","typeLabel":"integer"},"temperature":{"oneOf":[{"type":"number","description":"What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.\nWe generally recommend altering this or `top_p` but not both.\n","default":1,"maximum":2,"minimum":0,"example":1,"uniqueKey":"temperature.oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"temperature.oneOf.1","typeLabel":"null"}],"uniqueKey":"temperature","typeLabel":"number | null"},"top_p":{"oneOf":[{"type":"number","description":"An alternative to sampling with temperature, called nucleus sampling,\nwhere the model considers the results of the tokens with top_p probability\nmass. So 0.1 means only the tokens comprising the top 10% probability mass\nare considered.\n\nWe generally recommend altering this or `temperature` but not both.\n","default":1,"maximum":1,"minimum":0,"example":1,"uniqueKey":"top_p.oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"top_p.oneOf.1","typeLabel":"null"}],"uniqueKey":"top_p","typeLabel":"number | null"},"user":{"oneOf":[{"type":"string","example":"user-1234","deprecated":true,"description":"This field is being replaced by `safety_identifier` and `prompt_cache_key`. Use `prompt_cache_key` instead to maintain caching optimizations.\nA stable identifier for your end-users.\nUsed to boost cache hit rates by better bucketing similar requests and to help OpenAI detect and prevent abuse. [Learn more](https://developers.openai.com/api/docs/guides/safety-best-practices#implement-safety-identifiers).\n","uniqueKey":"user.oneOf.0","typeLabel":"string"},{"type":"null","example":"user-1234","deprecated":true,"description":"This field is being replaced by `safety_identifier` and `prompt_cache_key`. Use `prompt_cache_key` instead to maintain caching optimizations.\nA stable identifier for your end-users.\nUsed to boost cache hit rates by better bucketing similar requests and to help OpenAI detect and prevent abuse. [Learn more](https://developers.openai.com/api/docs/guides/safety-best-practices#implement-safety-identifiers).\n","uniqueKey":"user.oneOf.1","typeLabel":"null"}],"uniqueKey":"user","typeLabel":"string | null"},"safety_identifier":{"oneOf":[{"type":"string","description":"A stable identifier used to help detect users of your application that may be violating OpenAI's usage policies.\nThe IDs should be a string that uniquely identifies each user, with a maximum length of 128 characters. We recommend hashing their username or email address, in order to avoid sending us any identifying information. [Learn more](https://developers.openai.com/api/docs/guides/safety-best-practices#implement-safety-identifiers).\n","maxLength":128,"example":"safety-identifier-1234","uniqueKey":"safety_identifier.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"safety_identifier.oneOf.1","typeLabel":"null"}],"uniqueKey":"safety_identifier","typeLabel":"string | null"},"prompt_cache_key":{"oneOf":[{"type":"string","description":"Used by OpenAI to cache responses for similar requests to optimize your cache hit rates. Replaces the `user` field. [Learn more](https://developers.openai.com/api/docs/guides/prompt-caching).\n","example":"prompt-cache-key-1234","uniqueKey":"prompt_cache_key.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"prompt_cache_key.oneOf.1","typeLabel":"null"}],"uniqueKey":"prompt_cache_key","typeLabel":"string | null"},"prompt_cache_retention":{"oneOf":[{"type":"string","description":"Deprecated. Use `prompt_cache_options.ttl` instead.\n\nThe retention policy for the prompt cache. Set to `24h` to enable extended prompt caching, which keeps cached prefixes active for longer, up to a maximum of 24 hours. [Learn more](https://developers.openai.com/api/docs/guides/prompt-caching#prompt-cache-retention).\nThis field expresses a maximum retention policy, while\n`prompt_cache_options.ttl` expresses a minimum cache lifetime. The two\nfields are independent and do not interact.\nFor `gpt-5.5`, `gpt-5.5-pro`, and future models, only `24h` is supported.\n\nFor older models that support both `in_memory` and `24h`, the default depends on your organization's data retention policy:\n - Organizations without ZDR enabled default to `24h`.\n - Organizations with ZDR enabled default to `in_memory` when `prompt_cache_retention` is not specified.\n","enum":["in_memory","24h"],"deprecated":true,"uniqueKey":"prompt_cache_retention.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","deprecated":true,"uniqueKey":"prompt_cache_retention.oneOf.1","typeLabel":"null"}],"uniqueKey":"prompt_cache_retention","typeLabel":"enum\u003cstring> | null"},"previous_response_id":{"oneOf":[{"type":"string","description":"The unique ID of the previous response to the model. Use this to\ncreate multi-turn conversations. Learn more about\n[conversation state](https://developers.openai.com/api/docs/guides/conversation-state). Cannot be used in conjunction with `conversation`.\n","uniqueKey":"previous_response_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"previous_response_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"previous_response_id","typeLabel":"string | null"},"model":{"type":"string","description":"ID of the model to use, for example `gpt-6.2-sol`. See [Models](/en/llm/openai-responses) for the available models.","example":"gpt-6.2-sol","uniqueKey":"model","typeLabel":"string"},"background":{"oneOf":[{"type":"boolean","description":"Whether to run the model response in the background.\n[Learn more](https://developers.openai.com/api/docs/guides/background).\n","default":false,"uniqueKey":"background.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"background.oneOf.1","typeLabel":"null"}],"uniqueKey":"background","typeLabel":"boolean | null"},"max_tool_calls":{"oneOf":[{"type":"integer","description":"The maximum number of total calls to built-in tools that can be processed in a response. This maximum number applies across all built-in tool calls, not per individual tool. Any further attempts to call a tool by the model will be ignored.\n","uniqueKey":"max_tool_calls.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"max_tool_calls.oneOf.1","typeLabel":"null"}],"uniqueKey":"max_tool_calls","typeLabel":"integer | null"},"text":{"type":"object","description":"Configuration options for a text response from the model. Can be plain\ntext or structured JSON data. Learn more:\n- [Text inputs and outputs](https://developers.openai.com/api/docs/guides/text)\n- [Structured Outputs](https://developers.openai.com/api/docs/guides/structured-outputs)\n","properties":{"format":{"oneOf":[{"type":"object","title":"Text","description":"An object specifying the format that the model must output.\n\nConfiguring `{ \"type\": \"json_schema\" }` enables Structured Outputs,\nwhich ensures the model will match your supplied JSON schema. Learn more in the\n[Structured Outputs guide](https://developers.openai.com/api/docs/guides/structured-outputs).\n\nThe default format is `{ \"type\": \"text\" }` with no additional options.\n\n**Not recommended for gpt-4o and newer models:**\n\nSetting to `{ \"type\": \"json_object\" }` enables the older JSON mode, which\nensures the message the model generates is valid JSON. Using `json_schema`\nis preferred for models that support it.\n","required":["type"],"properties":{"type":{"type":"string","description":"The type of response format being defined. Always `text`.","const":"text","isRequired":true,"uniqueKey":"text.format.oneOf.0.type","typeLabel":"string"}},"uniqueKey":"text.format.oneOf.0","typeLabel":"Text · object"},{"type":"object","title":"JSON schema","description":"An object specifying the format that the model must output.\n\nConfiguring `{ \"type\": \"json_schema\" }` enables Structured Outputs,\nwhich ensures the model will match your supplied JSON schema. Learn more in the\n[Structured Outputs guide](https://developers.openai.com/api/docs/guides/structured-outputs).\n\nThe default format is `{ \"type\": \"text\" }` with no additional options.\n\n**Not recommended for gpt-4o and newer models:**\n\nSetting to `{ \"type\": \"json_object\" }` enables the older JSON mode, which\nensures the message the model generates is valid JSON. Using `json_schema`\nis preferred for models that support it.\n","required":["type","schema","name"],"properties":{"type":{"type":"string","description":"The type of response format being defined. Always `json_schema`.","enum":["json_schema"],"isRequired":true,"uniqueKey":"text.format.oneOf.1.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"The name of the response format. Must be a-z, A-Z, 0-9, or contain\nunderscores and dashes, with a maximum length of 64.\n","isRequired":true,"uniqueKey":"text.format.oneOf.1.name","typeLabel":"string"},"schema":{"type":"object","title":"JSON schema","description":"The schema for the response format, described as a JSON Schema object.\nLearn how to build JSON schemas [here](https://json-schema.org/).\n","additionalProperties":true,"isRequired":true,"uniqueKey":"text.format.oneOf.1.schema","typeLabel":"JSON schema · object"},"description":{"type":"string","description":"A description of what the response format is for, used by the model to\ndetermine how to respond in the format.\n","uniqueKey":"text.format.oneOf.1.description","typeLabel":"string"},"strict":{"oneOf":[{"type":"boolean","description":"Whether to enable strict schema adherence when generating the output.\nIf set to true, the model will always follow the exact schema defined\nin the `schema` field. Only a subset of JSON Schema is supported when\n`strict` is `true`. To learn more, read the [Structured Outputs\nguide](https://developers.openai.com/api/docs/guides/structured-outputs).\n","default":false,"uniqueKey":"text.format.oneOf.1.strict.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"text.format.oneOf.1.strict.oneOf.1","typeLabel":"null"}],"uniqueKey":"text.format.oneOf.1.strict","typeLabel":"boolean | null"}},"uniqueKey":"text.format.oneOf.1","typeLabel":"JSON schema · object"},{"type":"object","title":"JSON object","description":"An object specifying the format that the model must output.\n\nConfiguring `{ \"type\": \"json_schema\" }` enables Structured Outputs,\nwhich ensures the model will match your supplied JSON schema. Learn more in the\n[Structured Outputs guide](https://developers.openai.com/api/docs/guides/structured-outputs).\n\nThe default format is `{ \"type\": \"text\" }` with no additional options.\n\n**Not recommended for gpt-4o and newer models:**\n\nSetting to `{ \"type\": \"json_object\" }` enables the older JSON mode, which\nensures the message the model generates is valid JSON. Using `json_schema`\nis preferred for models that support it.\n","required":["type"],"properties":{"type":{"type":"string","description":"The type of response format being defined. Always `json_object`.","const":"json_object","isRequired":true,"uniqueKey":"text.format.oneOf.2.type","typeLabel":"string"}},"uniqueKey":"text.format.oneOf.2","typeLabel":"JSON object · object"}],"uniqueKey":"text.format","typeLabel":"Text · object | JSON schema · object | JSON object · object"},"verbosity":{"oneOf":[{"type":"string","description":"Constrains the verbosity of the model's response. Lower values will result in\nmore concise responses, while higher values will result in more verbose responses.\nCurrently supported values are `low`, `medium`, and `high`. The default is\n`medium`.\n","default":"medium","enum":["low","medium","high"],"uniqueKey":"text.verbosity.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"text.verbosity.oneOf.1","typeLabel":"null"}],"uniqueKey":"text.verbosity","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"text","typeLabel":"object"},"tools":{"type":"array","description":"An array of tools the model may call while generating a response. You\ncan specify which tool to use by setting the `tool_choice` parameter.\n\nWe support the following categories of tools:\n- **Built-in tools**: Tools that are provided by OpenAI that extend the\n model's capabilities, like [web search](https://developers.openai.com/api/docs/guides/tools-web-search)\n or [file search](https://developers.openai.com/api/docs/guides/tools-file-search). Learn more about\n [built-in tools](https://developers.openai.com/api/docs/guides/tools).\n- **MCP Tools**: Integrations with third-party systems via custom MCP servers\n or predefined connectors such as Google Drive and SharePoint. Learn more about\n [MCP Tools](https://developers.openai.com/api/docs/guides/tools-connectors-mcp).\n- **Function calls (custom tools)**: Functions that are defined by you,\n enabling the model to call your own code with strongly typed arguments\n and outputs. Learn more about\n [function calling](https://developers.openai.com/api/docs/guides/function-calling). You can also use\n custom tools to call your own code.\n","items":{"oneOf":[{"type":"object","title":"Function","description":"A tool that can be used to generate a response.\n","required":["type","name","strict","parameters"],"properties":{"type":{"type":"string","enum":["function"],"description":"The type of the function tool. Always `function`.","default":"function","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"The name of the function to call.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.0.name","typeLabel":"string"},"parameters":{"oneOf":[{"type":"object","description":"A JSON schema object describing the parameters of the function.","additionalProperties":{"oneOf":[{}],"uniqueKey":"tools.items.[INDEX].oneOf.0.parameters.oneOf.0.additionalProperties","typeLabel":"any"},"isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.0.parameters.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.0.parameters.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.0.parameters","typeLabel":"object | null"},"strict":{"oneOf":[{"type":"boolean","description":"Whether strict parameter validation is enforced for this function tool.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.0.strict.oneOf.0","typeLabel":"boolean"},{"type":"null","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.0.strict.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.0.strict","typeLabel":"boolean | null"},"async":{"type":"boolean","uniqueKey":"tools.items.[INDEX].oneOf.0.async","typeLabel":"boolean"},"description":{"oneOf":[{"type":"string","description":"A description of the function. Used by the model to determine whether or not to call the function.","uniqueKey":"tools.items.[INDEX].oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.0.description","typeLabel":"string | null"},"output_schema":{"oneOf":[{"type":"object","description":"A JSON schema object describing the JSON value encoded in string outputs for this function.","additionalProperties":{"oneOf":[{}],"uniqueKey":"tools.items.[INDEX].oneOf.0.output_schema.oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"tools.items.[INDEX].oneOf.0.output_schema.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.0.output_schema.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.0.output_schema","typeLabel":"object | null"},"defer_loading":{"type":"boolean","description":"Whether this function is deferred and loaded via tool search.","uniqueKey":"tools.items.[INDEX].oneOf.0.defer_loading","typeLabel":"boolean"},"allowed_callers":{"oneOf":[{"type":"array","items":{"type":"string","enum":["direct","programmatic"],"uniqueKey":"tools.items.[INDEX].oneOf.0.allowed_callers.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"The tool invocation context(s).","uniqueKey":"tools.items.[INDEX].oneOf.0.allowed_callers.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.0.allowed_callers.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.0.allowed_callers","typeLabel":"enum\u003cstring>[] | null"}},"uniqueKey":"tools.items.[INDEX].oneOf.0","typeLabel":"Function · object"},{"type":"object","title":"File search","description":"A tool that can be used to generate a response.\n","required":["type","vector_store_ids"],"properties":{"type":{"type":"string","enum":["file_search"],"description":"The type of the file search tool. Always `file_search`.","default":"file_search","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"vector_store_ids":{"items":{"type":"string","uniqueKey":"tools.items.[INDEX].oneOf.1.vector_store_ids.items.[INDEX]","typeLabel":"string"},"type":"array","description":"The IDs of the vector stores to search.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.1.vector_store_ids","typeLabel":"string[]"},"max_num_results":{"type":"integer","description":"The maximum number of results to return. This number should be between 1 and 50 inclusive.","uniqueKey":"tools.items.[INDEX].oneOf.1.max_num_results","typeLabel":"integer"},"ranking_options":{"properties":{"ranker":{"type":"string","enum":["auto","default-2024-11-15"],"description":"The ranker to use for the file search.","uniqueKey":"tools.items.[INDEX].oneOf.1.ranking_options.ranker","typeLabel":"enum\u003cstring>"},"score_threshold":{"type":"number","description":"The score threshold for the file search, a number between 0 and 1. Numbers closer to 1 will attempt to return only the most relevant results, but may return fewer results.","uniqueKey":"tools.items.[INDEX].oneOf.1.ranking_options.score_threshold","typeLabel":"number"},"hybrid_search":{"properties":{"embedding_weight":{"type":"number","description":"The weight of the embedding in the reciprocal ranking fusion.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.1.ranking_options.hybrid_search.embedding_weight","typeLabel":"number"},"text_weight":{"type":"number","description":"The weight of the text in the reciprocal ranking fusion.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.1.ranking_options.hybrid_search.text_weight","typeLabel":"number"}},"type":"object","required":["embedding_weight","text_weight"],"description":"Weights that control how reciprocal rank fusion balances semantic embedding matches versus sparse keyword matches when hybrid search is enabled.","uniqueKey":"tools.items.[INDEX].oneOf.1.ranking_options.hybrid_search","typeLabel":"object"}},"type":"object","required":[],"description":"Ranking options for search.","uniqueKey":"tools.items.[INDEX].oneOf.1.ranking_options","typeLabel":"object"},"filters":{"oneOf":[{"type":"object","title":"Comparison Filter","description":"A filter to apply.","required":["type","key","value"],"properties":{"type":{"type":"string","default":"eq","enum":["eq","ne","gt","gte","lt","lte","in","nin"],"description":"Specifies the comparison operator: `eq`, `ne`, `gt`, `gte`, `lt`, `lte`, `in`, `nin`.\n- `eq`: equals\n- `ne`: not equal\n- `gt`: greater than\n- `gte`: greater than or equal\n- `lt`: less than\n- `lte`: less than or equal\n- `in`: in\n- `nin`: not in\n","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.1.filters.oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"The key to compare against the value.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.1.filters.oneOf.0.key","typeLabel":"string"},"value":{"oneOf":[{"type":"string","description":"The value to compare against the attribute key; supports string, number, or boolean types.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.1.filters.oneOf.0.value.oneOf.0","typeLabel":"string"},{"type":"number","description":"The value to compare against the attribute key; supports string, number, or boolean types.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.1.filters.oneOf.0.value.oneOf.1","typeLabel":"number"},{"type":"boolean","description":"The value to compare against the attribute key; supports string, number, or boolean types.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.1.filters.oneOf.0.value.oneOf.2","typeLabel":"boolean"},{"type":"array","items":{"oneOf":[{"type":"string","uniqueKey":"tools.items.[INDEX].oneOf.1.filters.oneOf.0.value.oneOf.3.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"tools.items.[INDEX].oneOf.1.filters.oneOf.0.value.oneOf.3.items.[INDEX].oneOf.1","typeLabel":"number"}],"uniqueKey":"tools.items.[INDEX].oneOf.1.filters.oneOf.0.value.oneOf.3.items.[INDEX]","typeLabel":"string | number"},"description":"The value to compare against the attribute key; supports string, number, or boolean types.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.1.filters.oneOf.0.value.oneOf.3","typeLabel":"(string | number)[]"}],"isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.1.filters.oneOf.0.value","typeLabel":"string | number | boolean | (string | number)[]"}},"additionalProperties":false,"uniqueKey":"tools.items.[INDEX].oneOf.1.filters.oneOf.0","typeLabel":"Comparison Filter · object"},{"type":"object","title":"Compound Filter","description":"A filter to apply.","required":["type","filters"],"properties":{"type":{"type":"string","description":"Type of operation: `and` or `or`.","enum":["and","or"],"isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.1.filters.oneOf.1.type","typeLabel":"enum\u003cstring>"},"filters":{"type":"array","description":"Array of filters to combine. Items can be `ComparisonFilter` or `CompoundFilter`.","items":{"oneOf":[{"type":"object","title":"Comparison Filter","description":"A filter used to compare a specified attribute key to a given value using a defined comparison operation.\n","required":["type","key","value"],"properties":{"type":{"type":"string","default":"eq","enum":["eq","ne","gt","gte","lt","lte","in","nin"],"description":"Specifies the comparison operator: `eq`, `ne`, `gt`, `gte`, `lt`, `lte`, `in`, `nin`.\n- `eq`: equals\n- `ne`: not equal\n- `gt`: greater than\n- `gte`: greater than or equal\n- `lt`: less than\n- `lte`: less than or equal\n- `in`: in\n- `nin`: not in\n","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.1.filters.oneOf.1.filters.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"The key to compare against the value.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.1.filters.oneOf.1.filters.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"oneOf":[{"type":"string","description":"The value to compare against the attribute key; supports string, number, or boolean types.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.1.filters.oneOf.1.filters.items.[INDEX].oneOf.0.value.oneOf.0","typeLabel":"string"},{"type":"number","description":"The value to compare against the attribute key; supports string, number, or boolean types.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.1.filters.oneOf.1.filters.items.[INDEX].oneOf.0.value.oneOf.1","typeLabel":"number"},{"type":"boolean","description":"The value to compare against the attribute key; supports string, number, or boolean types.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.1.filters.oneOf.1.filters.items.[INDEX].oneOf.0.value.oneOf.2","typeLabel":"boolean"},{"type":"array","items":{"type":"any","uniqueKey":"tools.items.[INDEX].oneOf.1.filters.oneOf.1.filters.items.[INDEX].oneOf.0.value.oneOf.3.items.[INDEX]","typeLabel":"any"},"description":"The value to compare against the attribute key; supports string, number, or boolean types.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.1.filters.oneOf.1.filters.items.[INDEX].oneOf.0.value.oneOf.3","typeLabel":"any[]"}],"isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.1.filters.oneOf.1.filters.items.[INDEX].oneOf.0.value","typeLabel":"string | number | boolean | any[]"}},"additionalProperties":false,"uniqueKey":"tools.items.[INDEX].oneOf.1.filters.oneOf.1.filters.items.[INDEX].oneOf.0","typeLabel":"Comparison Filter · object"},{}],"uniqueKey":"tools.items.[INDEX].oneOf.1.filters.oneOf.1.filters.items.[INDEX]","typeLabel":"Comparison Filter · object"},"isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.1.filters.oneOf.1.filters","typeLabel":"Comparison Filter · object[]"}},"additionalProperties":false,"uniqueKey":"tools.items.[INDEX].oneOf.1.filters.oneOf.1","typeLabel":"Compound Filter · object"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.1.filters.oneOf.2","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.1.filters","typeLabel":"Comparison Filter · object | Compound Filter · object | null"}},"uniqueKey":"tools.items.[INDEX].oneOf.1","typeLabel":"File search · object"},{"type":"object","title":"Computer","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["computer"],"description":"The type of the computer tool. Always `computer`.","default":"computer","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"tools.items.[INDEX].oneOf.2","typeLabel":"Computer · object"},{"type":"object","title":"Computer use preview","description":"A tool that can be used to generate a response.\n","required":["type","environment","display_width","display_height"],"properties":{"type":{"type":"string","enum":["computer_use_preview"],"description":"The type of the computer use tool. Always `computer_use_preview`.","default":"computer_use_preview","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"environment":{"type":"string","enum":["windows","mac","linux","ubuntu","browser"],"description":"The type of computer environment to control.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.3.environment","typeLabel":"enum\u003cstring>"},"display_width":{"type":"integer","description":"The width of the computer display.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.3.display_width","typeLabel":"integer"},"display_height":{"type":"integer","description":"The height of the computer display.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.3.display_height","typeLabel":"integer"}},"uniqueKey":"tools.items.[INDEX].oneOf.3","typeLabel":"Computer use preview · object"},{"type":"object","title":"Web search","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["web_search","web_search_2025_08_26"],"description":"The type of the web search tool. One of `web_search` or `web_search_2025_08_26`.","default":"web_search","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.4.type","typeLabel":"enum\u003cstring>"},"external_web_access":{"type":"boolean","default":true,"description":"Allow live internet access for web search. Defaults to true when omitted. When false, the web search tool runs in offline/cache-only mode and will not fetch new external content.","uniqueKey":"tools.items.[INDEX].oneOf.4.external_web_access","typeLabel":"boolean"},"filters":{"oneOf":[{"type":"object","description":"Filters for the search.\n","properties":{"allowed_domains":{"oneOf":[{"type":"array","items":{"type":"string","description":"Allowed domain for the search.","uniqueKey":"tools.items.[INDEX].oneOf.4.filters.oneOf.0.allowed_domains.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Allowed domains for the search.","description":"Allowed domains for the search. If not provided, all domains are allowed.\nSubdomains of the provided domains are allowed as well.\n\nExample: `[\"pubmed.ncbi.nlm.nih.gov\"]`\n","default":[],"uniqueKey":"tools.items.[INDEX].oneOf.4.filters.oneOf.0.allowed_domains.oneOf.0","typeLabel":"string[]"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.4.filters.oneOf.0.allowed_domains.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.4.filters.oneOf.0.allowed_domains","typeLabel":"string[] | null"}},"uniqueKey":"tools.items.[INDEX].oneOf.4.filters.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.4.filters.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.4.filters","typeLabel":"object | null"},"user_location":{"oneOf":[{"type":"object","title":"Web search approximate location","description":"The approximate location of the user. If omitted or null, defaults to the\nUnited States. To avoid this fallback, pass `{\"type\": \"approximate\"}` without\nlocation fields. To localize results, provide the relevant location fields.\n","properties":{"type":{"type":"string","const":"approximate","description":"The type of location approximation. Always `approximate`.","default":"approximate","uniqueKey":"tools.items.[INDEX].oneOf.4.user_location.oneOf.0.type","typeLabel":"string"},"country":{"oneOf":[{"type":"string","description":"The two-letter [ISO country code](https://en.wikipedia.org/wiki/ISO_3166-1) of the user, e.g. `US`.","uniqueKey":"tools.items.[INDEX].oneOf.4.user_location.oneOf.0.country.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.4.user_location.oneOf.0.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.4.user_location.oneOf.0.country","typeLabel":"string | null"},"region":{"oneOf":[{"type":"string","description":"Free text input for the region of the user, e.g. `California`.","uniqueKey":"tools.items.[INDEX].oneOf.4.user_location.oneOf.0.region.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.4.user_location.oneOf.0.region.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.4.user_location.oneOf.0.region","typeLabel":"string | null"},"city":{"oneOf":[{"type":"string","description":"Free text input for the city of the user, e.g. `San Francisco`.","uniqueKey":"tools.items.[INDEX].oneOf.4.user_location.oneOf.0.city.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.4.user_location.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.4.user_location.oneOf.0.city","typeLabel":"string | null"},"timezone":{"oneOf":[{"type":"string","description":"The [IANA timezone](https://timeapi.io/documentation/iana-timezones) of the user, e.g. `America/Los_Angeles`.","uniqueKey":"tools.items.[INDEX].oneOf.4.user_location.oneOf.0.timezone.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.4.user_location.oneOf.0.timezone.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.4.user_location.oneOf.0.timezone","typeLabel":"string | null"}},"uniqueKey":"tools.items.[INDEX].oneOf.4.user_location.oneOf.0","typeLabel":"Web search approximate location · object"},{"type":"null","description":"The approximate location of the user. If omitted or null, defaults to the\nUnited States. To avoid this fallback, pass `{\"type\": \"approximate\"}` without\nlocation fields. To localize results, provide the relevant location fields.\n","uniqueKey":"tools.items.[INDEX].oneOf.4.user_location.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.4.user_location","typeLabel":"Web search approximate location · object | null"},"search_context_size":{"type":"string","enum":["low","medium","high"],"default":"medium","description":"High level guidance for the amount of context window space to use for the search. One of `low`, `medium`, or `high`. `medium` is the default.","uniqueKey":"tools.items.[INDEX].oneOf.4.search_context_size","typeLabel":"enum\u003cstring>"}},"uniqueKey":"tools.items.[INDEX].oneOf.4","typeLabel":"Web search · object"},{"type":"object","title":"MCP tool","description":"A tool that can be used to generate a response.\n","required":["type","server_label"],"properties":{"type":{"type":"string","const":"mcp","description":"The type of the MCP tool. Always `mcp`.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.5.type","typeLabel":"string"},"server_label":{"type":"string","description":"A label for this MCP server, used to identify it in tool calls.\n","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.5.server_label","typeLabel":"string"},"server_url":{"type":"string","format":"uri","description":"The URL for the MCP server. One of `server_url`, `connector_id`, or\n`tunnel_id` must be provided.\n","uniqueKey":"tools.items.[INDEX].oneOf.5.server_url","typeLabel":"string\u003curi>"},"connector_id":{"type":"string","deprecated":true,"enum":["connector_dropbox","connector_gmail","connector_googlecalendar","connector_googledrive","connector_microsoftteams","connector_outlookcalendar","connector_outlookemail","connector_sharepoint"],"description":"Identifier for service connectors, like those available in ChatGPT. One of\n`server_url`, `connector_id`, or `tunnel_id` must be provided. Learn more\nabout service connectors [here](https://developers.openai.com/api/docs/guides/tools-connectors-mcp#connectors).\n\nThis field is deprecated for models released after September 1, 2026.\nUse `server_url` to connect to a remote MCP server, or `tunnel_id` to\nconnect through a Secure MCP Tunnel.\n\nCurrently supported `connector_id` values are:\n\n- Dropbox: `connector_dropbox`\n- Gmail: `connector_gmail`\n- Google Calendar: `connector_googlecalendar`\n- Google Drive: `connector_googledrive`\n- Microsoft Teams: `connector_microsoftteams`\n- Outlook Calendar: `connector_outlookcalendar`\n- Outlook Email: `connector_outlookemail`\n- SharePoint: `connector_sharepoint`\n","uniqueKey":"tools.items.[INDEX].oneOf.5.connector_id","typeLabel":"enum\u003cstring>"},"tunnel_id":{"type":"string","pattern":"^tunnel_[a-z0-9]{32}$","description":"The Secure MCP Tunnel ID to use instead of a direct server URL. One of\n`server_url`, `connector_id`, or `tunnel_id` must be provided.\n","uniqueKey":"tools.items.[INDEX].oneOf.5.tunnel_id","typeLabel":"string"},"authorization":{"type":"string","description":"An OAuth access token that can be used with a remote MCP server, either\nwith a custom MCP server URL or a service connector. Your application\nmust handle the OAuth authorization flow and provide the token here.\n","uniqueKey":"tools.items.[INDEX].oneOf.5.authorization","typeLabel":"string"},"server_description":{"type":"string","description":"Optional description of the MCP server, used to provide more context.\n","uniqueKey":"tools.items.[INDEX].oneOf.5.server_description","typeLabel":"string"},"headers":{"oneOf":[{"type":"object","description":"Optional HTTP headers to send to the MCP server. Use for authentication\nor other purposes.\n","additionalProperties":{"type":"string","uniqueKey":"tools.items.[INDEX].oneOf.5.headers.oneOf.0.additionalProperties","typeLabel":"string"},"uniqueKey":"tools.items.[INDEX].oneOf.5.headers.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.5.headers.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.5.headers","typeLabel":"object | null"},"allowed_tools":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"tools.items.[INDEX].oneOf.5.allowed_tools.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"MCP allowed tools","description":"List of allowed tool names or a filter object.\n","uniqueKey":"tools.items.[INDEX].oneOf.5.allowed_tools.oneOf.0","typeLabel":"string[]"},{"type":"object","title":"MCP tool filter","description":"List of allowed tool names or a filter object.\n","required":[],"properties":{"tool_names":{"type":"array","title":"MCP allowed tools","items":{"type":"string","uniqueKey":"tools.items.[INDEX].oneOf.5.allowed_tools.oneOf.1.tool_names.items.[INDEX]","typeLabel":"string"},"description":"List of allowed tool names.","uniqueKey":"tools.items.[INDEX].oneOf.5.allowed_tools.oneOf.1.tool_names","typeLabel":"string[]"},"read_only":{"type":"boolean","description":"Indicates whether or not a tool modifies data or is read-only. If an\nMCP server is [annotated with `readOnlyHint`](https://modelcontextprotocol.io/specification/2025-06-18/schema#toolannotations-readonlyhint),\nit will match this filter.\n","uniqueKey":"tools.items.[INDEX].oneOf.5.allowed_tools.oneOf.1.read_only","typeLabel":"boolean"}},"additionalProperties":false,"uniqueKey":"tools.items.[INDEX].oneOf.5.allowed_tools.oneOf.1","typeLabel":"MCP tool filter · object"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.5.allowed_tools.oneOf.2","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.5.allowed_tools","typeLabel":"string[] | MCP tool filter · object | null"},"allowed_callers":{"oneOf":[{"type":"array","items":{"type":"string","enum":["direct","programmatic"],"uniqueKey":"tools.items.[INDEX].oneOf.5.allowed_callers.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"The tool invocation context(s).","minItems":1,"uniqueKey":"tools.items.[INDEX].oneOf.5.allowed_callers.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.5.allowed_callers.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.5.allowed_callers","typeLabel":"enum\u003cstring>[] | null"},"require_approval":{"oneOf":[{"type":"object","title":"MCP tool approval filter","description":"Specify which of the MCP server's tools require approval.","default":"always","properties":{"always":{"type":"object","title":"MCP tool filter","description":"A filter object to specify which tools are allowed.\n","properties":{"tool_names":{"type":"array","title":"MCP allowed tools","items":{"type":"string","uniqueKey":"tools.items.[INDEX].oneOf.5.require_approval.oneOf.0.always.tool_names.items.[INDEX]","typeLabel":"string"},"description":"List of allowed tool names.","uniqueKey":"tools.items.[INDEX].oneOf.5.require_approval.oneOf.0.always.tool_names","typeLabel":"string[]"},"read_only":{"type":"boolean","description":"Indicates whether or not a tool modifies data or is read-only. If an\nMCP server is [annotated with `readOnlyHint`](https://modelcontextprotocol.io/specification/2025-06-18/schema#toolannotations-readonlyhint),\nit will match this filter.\n","uniqueKey":"tools.items.[INDEX].oneOf.5.require_approval.oneOf.0.always.read_only","typeLabel":"boolean"}},"required":[],"additionalProperties":false,"uniqueKey":"tools.items.[INDEX].oneOf.5.require_approval.oneOf.0.always","typeLabel":"MCP tool filter · object"},"never":{"type":"object","title":"MCP tool filter","description":"A filter object to specify which tools are allowed.\n","properties":{"tool_names":{"type":"array","title":"MCP allowed tools","items":{"type":"string","uniqueKey":"tools.items.[INDEX].oneOf.5.require_approval.oneOf.0.never.tool_names.items.[INDEX]","typeLabel":"string"},"description":"List of allowed tool names.","uniqueKey":"tools.items.[INDEX].oneOf.5.require_approval.oneOf.0.never.tool_names","typeLabel":"string[]"},"read_only":{"type":"boolean","description":"Indicates whether or not a tool modifies data or is read-only. If an\nMCP server is [annotated with `readOnlyHint`](https://modelcontextprotocol.io/specification/2025-06-18/schema#toolannotations-readonlyhint),\nit will match this filter.\n","uniqueKey":"tools.items.[INDEX].oneOf.5.require_approval.oneOf.0.never.read_only","typeLabel":"boolean"}},"required":[],"additionalProperties":false,"uniqueKey":"tools.items.[INDEX].oneOf.5.require_approval.oneOf.0.never","typeLabel":"MCP tool filter · object"}},"additionalProperties":false,"uniqueKey":"tools.items.[INDEX].oneOf.5.require_approval.oneOf.0","typeLabel":"MCP tool approval filter · object"},{"type":"string","title":"MCP tool approval setting","description":"Specify which of the MCP server's tools require approval.","default":"always","enum":["always","never"],"uniqueKey":"tools.items.[INDEX].oneOf.5.require_approval.oneOf.1","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.5.require_approval.oneOf.2","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.5.require_approval","typeLabel":"MCP tool approval filter · object | enum\u003cstring> | null"},"defer_loading":{"type":"boolean","description":"Whether this MCP tool is deferred and discovered via tool search.\n","uniqueKey":"tools.items.[INDEX].oneOf.5.defer_loading","typeLabel":"boolean"}},"uniqueKey":"tools.items.[INDEX].oneOf.5","typeLabel":"MCP tool · object"},{"type":"object","title":"Code interpreter","description":"A tool that can be used to generate a response.\n","required":["type","container"],"properties":{"type":{"type":"string","enum":["code_interpreter"],"description":"The type of the code interpreter tool. Always `code_interpreter`.\n","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.6.type","typeLabel":"enum\u003cstring>"},"container":{"oneOf":[{"type":"string","description":"The code interpreter container. Can be a container ID or an object that\nspecifies uploaded file IDs to make available to your code, along with an\noptional `memory_limit` setting.\n","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.6.container.oneOf.0","typeLabel":"string"},{"type":"object","title":"CodeInterpreterToolAuto","description":"The code interpreter container. Can be a container ID or an object that\nspecifies uploaded file IDs to make available to your code, along with an\noptional `memory_limit` setting.\n","required":["type"],"properties":{"type":{"type":"string","enum":["auto"],"description":"Always `auto`.","default":"auto","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.6.container.oneOf.1.type","typeLabel":"enum\u003cstring>"},"file_ids":{"items":{"type":"string","example":"file-123","uniqueKey":"tools.items.[INDEX].oneOf.6.container.oneOf.1.file_ids.items.[INDEX]","typeLabel":"string"},"type":"array","maxItems":50,"description":"An optional list of uploaded files to make available to your code.","uniqueKey":"tools.items.[INDEX].oneOf.6.container.oneOf.1.file_ids","typeLabel":"string[]"},"memory_limit":{"oneOf":[{"type":"string","description":"The memory limit for the code interpreter container.","enum":["1g","4g","16g","64g"],"uniqueKey":"tools.items.[INDEX].oneOf.6.container.oneOf.1.memory_limit.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.6.container.oneOf.1.memory_limit.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.6.container.oneOf.1.memory_limit","typeLabel":"enum\u003cstring> | null"},"network_policy":{"oneOf":[{"type":"object","description":"Network access policy for the container.","required":["type"],"properties":{"type":{"type":"string","enum":["disabled"],"description":"Disable outbound network access. Always `disabled`.","default":"disabled","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.6.container.oneOf.1.network_policy.oneOf.0.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"tools.items.[INDEX].oneOf.6.container.oneOf.1.network_policy.oneOf.0","typeLabel":"object"},{"type":"object","description":"Network access policy for the container.","required":["type","allowed_domains"],"properties":{"type":{"type":"string","enum":["allowlist"],"description":"Allow outbound network access only to specified domains. Always `allowlist`.","default":"allowlist","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.6.container.oneOf.1.network_policy.oneOf.1.type","typeLabel":"enum\u003cstring>"},"allowed_domains":{"items":{"type":"string","uniqueKey":"tools.items.[INDEX].oneOf.6.container.oneOf.1.network_policy.oneOf.1.allowed_domains.items.[INDEX]","typeLabel":"string"},"type":"array","minItems":1,"description":"A list of allowed domains when type is `allowlist`.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.6.container.oneOf.1.network_policy.oneOf.1.allowed_domains","typeLabel":"string[]"},"domain_secrets":{"items":{"properties":{"domain":{"type":"string","minLength":1,"description":"The domain associated with the secret.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.6.container.oneOf.1.network_policy.oneOf.1.domain_secrets.items.[INDEX].domain","typeLabel":"string"},"name":{"type":"string","minLength":1,"description":"The name of the secret to inject for the domain.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.6.container.oneOf.1.network_policy.oneOf.1.domain_secrets.items.[INDEX].name","typeLabel":"string"},"value":{"type":"string","maxLength":10485760,"minLength":1,"description":"The secret value to inject for the domain.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.6.container.oneOf.1.network_policy.oneOf.1.domain_secrets.items.[INDEX].value","typeLabel":"string"}},"type":"object","required":["domain","name","value"],"uniqueKey":"tools.items.[INDEX].oneOf.6.container.oneOf.1.network_policy.oneOf.1.domain_secrets.items.[INDEX]","typeLabel":"object"},"type":"array","minItems":1,"description":"Optional domain-scoped secrets for allowlisted domains.","uniqueKey":"tools.items.[INDEX].oneOf.6.container.oneOf.1.network_policy.oneOf.1.domain_secrets","typeLabel":"object[]"}},"uniqueKey":"tools.items.[INDEX].oneOf.6.container.oneOf.1.network_policy.oneOf.1","typeLabel":"object"}],"uniqueKey":"tools.items.[INDEX].oneOf.6.container.oneOf.1.network_policy","typeLabel":"object"}},"isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.6.container.oneOf.1","typeLabel":"CodeInterpreterToolAuto · object"}],"isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.6.container","typeLabel":"string | CodeInterpreterToolAuto · object"},"allowed_callers":{"oneOf":[{"type":"array","items":{"type":"string","enum":["direct","programmatic"],"uniqueKey":"tools.items.[INDEX].oneOf.6.allowed_callers.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"The tool invocation context(s).","minItems":1,"uniqueKey":"tools.items.[INDEX].oneOf.6.allowed_callers.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.6.allowed_callers.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.6.allowed_callers","typeLabel":"enum\u003cstring>[] | null"}},"uniqueKey":"tools.items.[INDEX].oneOf.6","typeLabel":"Code interpreter · object"},{"type":"object","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["programmatic_tool_calling"],"description":"The type of the tool. Always `programmatic_tool_calling`.","default":"programmatic_tool_calling","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.7.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"tools.items.[INDEX].oneOf.7","typeLabel":"object"},{"type":"object","title":"Image generation tool","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["image_generation"],"description":"The type of the image generation tool. Always `image_generation`.\n","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.8.type","typeLabel":"enum\u003cstring>"},"model":{"oneOf":[{"type":"string","uniqueKey":"tools.items.[INDEX].oneOf.8.model.oneOf.0","typeLabel":"string"},{"type":"string","description":"The image generation model to use. One of `gpt-image-1-mini`,\n`gpt-image-1.5`, `gpt-image-2`,\n`gpt-image-2-2026-04-21`, `gpt-image-2.5-sunburst`,\n`gpt-image-2.5-sunburst-2026-09-08`, `gpt-image-2.5-flare`,\n`gpt-image-2.5-flare-2026-09-08`, `gpt-image-2.6-sunburst`,\n`gpt-image-2.6-flare`, or `chatgpt-image-latest`. Default:\n`gpt-image-2.6-sunburst`.\n\n`gpt-image-1` was shut down on October 23, 2026. Use\n`gpt-image-2.5-sunburst` or `gpt-image-2.5-flare` instead.\n","default":"gpt-image-2.6-sunburst","enum":["gpt-image-1","gpt-image-1-mini","gpt-image-2","gpt-image-2-2026-04-21","gpt-image-2.5-sunburst","gpt-image-2.5-sunburst-2026-09-08","gpt-image-2.5-flare","gpt-image-2.5-flare-2026-09-08","gpt-image-2.6-sunburst","gpt-image-2.6-flare","gpt-image-1.5","chatgpt-image-latest"],"uniqueKey":"tools.items.[INDEX].oneOf.8.model.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"tools.items.[INDEX].oneOf.8.model","typeLabel":"string | enum\u003cstring>"},"complexity":{"type":"string","enum":["low","medium","high"],"description":"Computation spent planning the image, independently of rendering quality.\nOverrides the outer response's `reasoning.effort` for image generation.\nWhen omitted, inherits a supported outer reasoning effort or uses the\nimage model's configured default.\nFor SVG output, controls the reference image, not the SVG author's\nreasoning.\n","uniqueKey":"tools.items.[INDEX].oneOf.8.complexity","typeLabel":"enum\u003cstring>"},"quality":{"type":"string","enum":["low","medium","high","xhigh","max","auto"],"description":"The quality of the generated image. The GPT image models support `low`,\n`medium`, and `high`. `gpt-image-2.5-sunburst` and `gpt-image-2.5-flare`,\nincluding their `2026-09-08` snapshots, also support `xhigh` and `max`.\nDefault: `auto`.\n","default":"auto","uniqueKey":"tools.items.[INDEX].oneOf.8.quality","typeLabel":"enum\u003cstring>"},"size":{"oneOf":[{"type":"string","description":"The size of the generated images. For `gpt-image-2`, `gpt-image-2-2026-04-21`, `gpt-image-2.5-sunburst`, `gpt-image-2.5-sunburst-2026-09-08`, `gpt-image-2.5-flare`, and `gpt-image-2.5-flare-2026-09-08`, arbitrary resolutions are supported as `WIDTHxHEIGHT` strings, for example `1536x864`. Width and height must both be divisible by 16 and the requested aspect ratio must be between 1:3 and 3:1. Resolutions above `2560x1440` are experimental, and the maximum supported resolution is `3840x2160`. The requested size must also satisfy the model's current pixel and edge limits. The standard sizes `1024x1024`, `1536x1024`, and `1024x1536` are supported by the GPT image models; `auto` is supported for models that allow automatic sizing.","default":"auto","uniqueKey":"tools.items.[INDEX].oneOf.8.size.oneOf.0","typeLabel":"string"},{"type":"string","description":"The size of the generated images. For `gpt-image-2`, `gpt-image-2-2026-04-21`, `gpt-image-2.5-sunburst`, `gpt-image-2.5-sunburst-2026-09-08`, `gpt-image-2.5-flare`, and `gpt-image-2.5-flare-2026-09-08`, arbitrary resolutions are supported as `WIDTHxHEIGHT` strings, for example `1536x864`. Width and height must both be divisible by 16 and the requested aspect ratio must be between 1:3 and 3:1. Resolutions above `2560x1440` are experimental, and the maximum supported resolution is `3840x2160`. The requested size must also satisfy the model's current pixel and edge limits. The standard sizes `1024x1024`, `1536x1024`, and `1024x1536` are supported by the GPT image models; `auto` is supported for models that allow automatic sizing.","default":"auto","enum":["1024x1024","1024x1536","1536x1024","auto"],"uniqueKey":"tools.items.[INDEX].oneOf.8.size.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"tools.items.[INDEX].oneOf.8.size","typeLabel":"string | enum\u003cstring>"},"output_format":{"type":"string","enum":["png","webp","jpeg","gif","svg"],"description":"The output format of the generated image. One of `png`, `webp`, `jpeg`,\n`gif`, or `svg`. Default: `png`. GIF and SVG output require a model\nthat supports the selected format. GIF output does not support\npartial image streaming (`partial_images` greater than `0`),\n`input_image_mask`, or custom `output_compression`.\nResponses lifecycle events can still be streamed for GIF output.\n","default":"png","uniqueKey":"tools.items.[INDEX].oneOf.8.output_format","typeLabel":"enum\u003cstring>"},"frame_count":{"type":"integer","minimum":2,"maximum":16,"default":9,"description":"Number of GIF frames. Requires `output_format` to be `gif`. Default: 9.\n","uniqueKey":"tools.items.[INDEX].oneOf.8.frame_count","typeLabel":"integer"},"frame_duration_ms":{"type":"integer","minimum":20,"maximum":2000,"default":200,"description":"Duration of each GIF frame in milliseconds, rounded to 10 ms.\nRequires `output_format` to be `gif`. Default: 200.\n","uniqueKey":"tools.items.[INDEX].oneOf.8.frame_duration_ms","typeLabel":"integer"},"svg":{"properties":{"model":{"type":"string","minLength":1,"uniqueKey":"tools.items.[INDEX].oneOf.8.svg.model","typeLabel":"string"},"reasoning":{"oneOf":[{"type":"object","description":"Reasoning effort for SVG authoring. When omitted, uses the author model's default in both Images and Responses.","required":[],"properties":{"effort":{"type":"string","description":"Controls how much effort the model should spend on reasoning for this request.","enum":["none","minimal","low","medium","high","xhigh","max"],"uniqueKey":"tools.items.[INDEX].oneOf.8.svg.reasoning.oneOf.0.effort","typeLabel":"enum\u003cstring>"}},"uniqueKey":"tools.items.[INDEX].oneOf.8.svg.reasoning.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.8.svg.reasoning.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.8.svg.reasoning","typeLabel":"object | null"}},"type":"object","required":[],"description":"SVG author model settings. Requires `output_format` to be `svg`.\nWhen SVG model selection is enabled, omitting this object uses the\nouter response model. Otherwise, the default SVG author is used and\nexplicit model overrides are unavailable.\n","uniqueKey":"tools.items.[INDEX].oneOf.8.svg","typeLabel":"object"},"output_compression":{"type":"integer","minimum":0,"maximum":100,"description":"Compression level for the output image. Default: 100.\n","default":100,"uniqueKey":"tools.items.[INDEX].oneOf.8.output_compression","typeLabel":"integer"},"moderation":{"type":"string","enum":["auto","low"],"description":"Moderation level for the generated image. Default: `auto`.\n","default":"auto","uniqueKey":"tools.items.[INDEX].oneOf.8.moderation","typeLabel":"enum\u003cstring>"},"background":{"type":"string","enum":["transparent","opaque","auto"],"description":"Set the background of the generated image. One of `transparent`, `opaque`,\nor `auto`. `gpt-image-2.5-sunburst` and `gpt-image-2.5-flare`, including\ntheir `2026-09-08` snapshots, support `opaque` and `transparent`\nbackgrounds. Transparent backgrounds are available for supported GPT Image\nmodels. For `gpt-image-2` and `gpt-image-2-2026-04-21`, this support is in\npreview. When using `transparent`, set the output format to `png` or `webp`.\nDefault: `auto`.\n","default":"auto","uniqueKey":"tools.items.[INDEX].oneOf.8.background","typeLabel":"enum\u003cstring>"},"input_fidelity":{"oneOf":[{"type":"string","description":"Control how much effort the model will exert to match the style and features, especially facial features, of input images. Supports `high` and `low` on `gpt-image-1.5`; `gpt-image-1-mini` supports only `low`. For `gpt-image-2`, omit this parameter. Defaults to `low` on supported models.","enum":["high","low"],"uniqueKey":"tools.items.[INDEX].oneOf.8.input_fidelity.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.8.input_fidelity.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.8.input_fidelity","typeLabel":"enum\u003cstring> | null"},"input_image_mask":{"type":"object","description":"Optional mask for inpainting. Contains `image_url`\n(string, optional) and `file_id` (string, optional).\n","properties":{"image_url":{"type":"string","description":"Base64-encoded mask image.\n","uniqueKey":"tools.items.[INDEX].oneOf.8.input_image_mask.image_url","typeLabel":"string"},"file_id":{"type":"string","description":"File ID for the mask image.\n","uniqueKey":"tools.items.[INDEX].oneOf.8.input_image_mask.file_id","typeLabel":"string"}},"required":[],"additionalProperties":false,"uniqueKey":"tools.items.[INDEX].oneOf.8.input_image_mask","typeLabel":"object"},"partial_images":{"type":"integer","minimum":0,"maximum":3,"description":"Number of partial images to generate in streaming mode, from 0 (default value) to 3.\n","default":0,"uniqueKey":"tools.items.[INDEX].oneOf.8.partial_images","typeLabel":"integer"},"action":{"type":"string","enum":["generate","edit","auto"],"description":"Whether to generate a new image or edit an existing image. Default: `auto`.\n","uniqueKey":"tools.items.[INDEX].oneOf.8.action","typeLabel":"enum\u003cstring>"}},"uniqueKey":"tools.items.[INDEX].oneOf.8","typeLabel":"Image generation tool · object"},{"type":"object","title":"Local shell tool","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["local_shell"],"description":"The type of the local shell tool. Always `local_shell`.","default":"local_shell","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.9.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"tools.items.[INDEX].oneOf.9","typeLabel":"Local shell tool · object"},{"type":"object","title":"Shell tool","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["shell"],"description":"The type of the shell tool. Always `shell`.","default":"shell","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.10.type","typeLabel":"enum\u003cstring>"},"environment":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["container_auto"],"description":"Automatically creates a container for this request","default":"container_auto","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0.type","typeLabel":"enum\u003cstring>"},"file_ids":{"items":{"type":"string","example":"file-123","uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0.file_ids.items.[INDEX]","typeLabel":"string"},"type":"array","maxItems":50,"description":"An optional list of uploaded files to make available to your code.","uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0.file_ids","typeLabel":"string[]"},"memory_limit":{"oneOf":[{"type":"string","description":"The memory limit for the container.","enum":["1g","4g","16g","64g"],"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0.memory_limit.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0.memory_limit.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0.memory_limit","typeLabel":"enum\u003cstring> | null"},"network_policy":{"oneOf":[{"type":"object","description":"Network access policy for the container.","required":["type"],"properties":{"type":{"type":"string","enum":["disabled"],"description":"Disable outbound network access. Always `disabled`.","default":"disabled","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0.network_policy.oneOf.0.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0.network_policy.oneOf.0","typeLabel":"object"},{"type":"object","description":"Network access policy for the container.","required":["type","allowed_domains"],"properties":{"type":{"type":"string","enum":["allowlist"],"description":"Allow outbound network access only to specified domains. Always `allowlist`.","default":"allowlist","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0.network_policy.oneOf.1.type","typeLabel":"enum\u003cstring>"},"allowed_domains":{"items":{"type":"string","uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0.network_policy.oneOf.1.allowed_domains.items.[INDEX]","typeLabel":"string"},"type":"array","minItems":1,"description":"A list of allowed domains when type is `allowlist`.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0.network_policy.oneOf.1.allowed_domains","typeLabel":"string[]"},"domain_secrets":{"items":{"properties":{"domain":{"type":"string","minLength":1,"description":"The domain associated with the secret.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0.network_policy.oneOf.1.domain_secrets.items.[INDEX].domain","typeLabel":"string"},"name":{"type":"string","minLength":1,"description":"The name of the secret to inject for the domain.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0.network_policy.oneOf.1.domain_secrets.items.[INDEX].name","typeLabel":"string"},"value":{"type":"string","maxLength":10485760,"minLength":1,"description":"The secret value to inject for the domain.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0.network_policy.oneOf.1.domain_secrets.items.[INDEX].value","typeLabel":"string"}},"type":"object","required":["domain","name","value"],"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0.network_policy.oneOf.1.domain_secrets.items.[INDEX]","typeLabel":"object"},"type":"array","minItems":1,"description":"Optional domain-scoped secrets for allowlisted domains.","uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0.network_policy.oneOf.1.domain_secrets","typeLabel":"object[]"}},"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0.network_policy.oneOf.1","typeLabel":"object"}],"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0.network_policy","typeLabel":"object"},"skills":{"items":{"oneOf":[{"type":"object","required":["type","skill_id"],"properties":{"type":{"type":"string","enum":["skill_reference"],"description":"References a skill created with the /v1/skills endpoint.","default":"skill_reference","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0.skills.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"skill_id":{"type":"string","maxLength":64,"minLength":1,"description":"The ID of the referenced skill.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0.skills.items.[INDEX].oneOf.0.skill_id","typeLabel":"string"},"version":{"type":"string","description":"Optional skill version. Use a positive integer or 'latest'. Omit for default.","uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0.skills.items.[INDEX].oneOf.0.version","typeLabel":"string"}},"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0.skills.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","required":["type","name","description","source"],"properties":{"type":{"type":"string","enum":["inline"],"description":"Defines an inline skill for this request.","default":"inline","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0.skills.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"The name of the skill.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0.skills.items.[INDEX].oneOf.1.name","typeLabel":"string"},"description":{"type":"string","description":"The description of the skill.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0.skills.items.[INDEX].oneOf.1.description","typeLabel":"string"},"source":{"properties":{"type":{"type":"string","enum":["base64"],"description":"The type of the inline skill source. Must be `base64`.","default":"base64","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0.skills.items.[INDEX].oneOf.1.source.type","typeLabel":"enum\u003cstring>"},"media_type":{"type":"string","enum":["application/zip"],"description":"The media type of the inline skill payload. Must be `application/zip`.","default":"application/zip","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0.skills.items.[INDEX].oneOf.1.source.media_type","typeLabel":"enum\u003cstring>"},"data":{"type":"string","maxLength":70254592,"minLength":1,"description":"Base64-encoded skill zip bundle.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0.skills.items.[INDEX].oneOf.1.source.data","typeLabel":"string"}},"type":"object","required":["type","media_type","data"],"description":"Inline skill payload","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0.skills.items.[INDEX].oneOf.1.source","typeLabel":"object"}},"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0.skills.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0.skills.items.[INDEX]","typeLabel":"object"},"type":"array","maxItems":200,"description":"An optional list of skills referenced by id or inline data.","uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0.skills","typeLabel":"object[]"}},"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0","typeLabel":"object"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["local"],"description":"Use a local computer environment.","default":"local","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.1.type","typeLabel":"enum\u003cstring>"},"skills":{"items":{"properties":{"name":{"type":"string","description":"The name of the skill.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.1.skills.items.[INDEX].name","typeLabel":"string"},"description":{"type":"string","description":"The description of the skill.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.1.skills.items.[INDEX].description","typeLabel":"string"},"path":{"type":"string","description":"The path to the directory containing the skill.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.1.skills.items.[INDEX].path","typeLabel":"string"}},"type":"object","required":["name","description","path"],"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.1.skills.items.[INDEX]","typeLabel":"object"},"type":"array","maxItems":200,"description":"An optional list of skills.","uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.1.skills","typeLabel":"object[]"}},"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.1","typeLabel":"object"},{"type":"object","required":["type","container_id"],"properties":{"type":{"type":"string","enum":["container_reference"],"description":"References a container created with the /v1/containers endpoint","default":"container_reference","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.2.type","typeLabel":"enum\u003cstring>"},"container_id":{"type":"string","description":"The ID of the referenced container.","example":"cntr_123","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.2.container_id","typeLabel":"string"}},"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.2","typeLabel":"object"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.3","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.10.environment","typeLabel":"object · object · object · null"},"allowed_callers":{"oneOf":[{"type":"array","items":{"type":"string","enum":["direct","programmatic"],"uniqueKey":"tools.items.[INDEX].oneOf.10.allowed_callers.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"The tool invocation context(s).","minItems":1,"uniqueKey":"tools.items.[INDEX].oneOf.10.allowed_callers.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.10.allowed_callers.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.10.allowed_callers","typeLabel":"enum\u003cstring>[] | null"}},"uniqueKey":"tools.items.[INDEX].oneOf.10","typeLabel":"Shell tool · object"},{"type":"object","title":"Custom tool","description":"A tool that can be used to generate a response.\n","required":["type","name"],"properties":{"type":{"type":"string","enum":["custom"],"description":"The type of the custom tool. Always `custom`.","default":"custom","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.11.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"The name of the custom tool, used to identify it in tool calls.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.11.name","typeLabel":"string"},"async":{"type":"boolean","description":"Whether the tool response can be returned asynchronously versus immediately returned on next response creation.","uniqueKey":"tools.items.[INDEX].oneOf.11.async","typeLabel":"boolean"},"description":{"type":"string","description":"Optional description of the custom tool, used to provide more context.","uniqueKey":"tools.items.[INDEX].oneOf.11.description","typeLabel":"string"},"format":{"oneOf":[{"type":"object","title":"Text format","description":"The input format for the custom tool. Default is unconstrained text.","required":["type"],"properties":{"type":{"type":"string","enum":["text"],"description":"Unconstrained text format. Always `text`.","default":"text","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.11.format.oneOf.0.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"tools.items.[INDEX].oneOf.11.format.oneOf.0","typeLabel":"Text format · object"},{"type":"object","title":"Grammar format","description":"The input format for the custom tool. Default is unconstrained text.","required":["type","syntax","definition"],"properties":{"type":{"type":"string","enum":["grammar"],"description":"Grammar format. Always `grammar`.","default":"grammar","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.11.format.oneOf.1.type","typeLabel":"enum\u003cstring>"},"syntax":{"type":"string","enum":["lark","regex"],"description":"The syntax of the grammar definition. One of `lark` or `regex`.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.11.format.oneOf.1.syntax","typeLabel":"enum\u003cstring>"},"definition":{"type":"string","description":"The grammar definition.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.11.format.oneOf.1.definition","typeLabel":"string"}},"uniqueKey":"tools.items.[INDEX].oneOf.11.format.oneOf.1","typeLabel":"Grammar format · object"}],"uniqueKey":"tools.items.[INDEX].oneOf.11.format","typeLabel":"Text format · object | Grammar format · object"},"defer_loading":{"type":"boolean","description":"Whether this tool should be deferred and discovered via tool search.","uniqueKey":"tools.items.[INDEX].oneOf.11.defer_loading","typeLabel":"boolean"},"allowed_callers":{"oneOf":[{"type":"array","items":{"type":"string","enum":["direct","programmatic"],"uniqueKey":"tools.items.[INDEX].oneOf.11.allowed_callers.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"The tool invocation context(s).","minItems":1,"uniqueKey":"tools.items.[INDEX].oneOf.11.allowed_callers.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.11.allowed_callers.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.11.allowed_callers","typeLabel":"enum\u003cstring>[] | null"}},"uniqueKey":"tools.items.[INDEX].oneOf.11","typeLabel":"Custom tool · object"},{"type":"object","title":"Namespace","description":"A tool that can be used to generate a response.\n","required":["type","name","description","tools"],"properties":{"type":{"type":"string","enum":["namespace"],"description":"The type of the tool. Always `namespace`.","default":"namespace","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.12.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","minLength":1,"description":"The namespace name used in tool calls (for example, `crm`).","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.12.name","typeLabel":"string"},"description":{"type":"string","description":"A description of the namespace shown to the model.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.12.description","typeLabel":"string"},"tools":{"items":{"oneOf":[{"type":"object","description":"A function or custom tool that belongs to a namespace.","required":["name","type"],"properties":{"name":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[a-zA-Z0-9_-]+$","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.0.name","typeLabel":"string"},"type":{"type":"string","enum":["function"],"default":"function","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"description":{"oneOf":[{"type":"string","uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.0.description","typeLabel":"string | null"},"parameters":{"oneOf":[{"type":"object","required":[],"properties":{},"uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.0.parameters.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.0.parameters.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.0.parameters","typeLabel":"object | null"},"strict":{"oneOf":[{"type":"boolean","description":"Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.","uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.0.strict.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.0.strict.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.0.strict","typeLabel":"boolean | null"},"async":{"type":"boolean","description":"Whether the tool response can be returned asynchronously versus immediately returned on next response creation.","uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.0.async","typeLabel":"boolean"},"output_schema":{"oneOf":[{"type":"object","description":"A JSON Schema describing the JSON value encoded in string outputs for this function tool. This does not describe content-array outputs.","additionalProperties":{"oneOf":[{}],"uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.0.output_schema.oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.0.output_schema.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.0.output_schema.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.0.output_schema","typeLabel":"object | null"},"defer_loading":{"type":"boolean","description":"Whether this function should be deferred and discovered via tool search.","uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.0.defer_loading","typeLabel":"boolean"},"allowed_callers":{"oneOf":[{"type":"array","items":{"type":"string","enum":["direct","programmatic"],"uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.0.allowed_callers.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"The tool invocation context(s).","minItems":1,"uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.0.allowed_callers.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.0.allowed_callers.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.0.allowed_callers","typeLabel":"enum\u003cstring>[] | null"}},"uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","title":"Custom tool","description":"A function or custom tool that belongs to a namespace.","required":["type","name"],"properties":{"type":{"type":"string","enum":["custom"],"description":"The type of the custom tool. Always `custom`.","default":"custom","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"The name of the custom tool, used to identify it in tool calls.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.1.name","typeLabel":"string"},"async":{"type":"boolean","description":"Whether the tool response can be returned asynchronously versus immediately returned on next response creation.","uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.1.async","typeLabel":"boolean"},"description":{"type":"string","description":"Optional description of the custom tool, used to provide more context.","uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.1.description","typeLabel":"string"},"format":{"oneOf":[{"type":"object","title":"Text format","description":"The input format for the custom tool. Default is unconstrained text.","required":["type"],"properties":{"type":{"type":"string","enum":["text"],"description":"Unconstrained text format. Always `text`.","default":"text","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.1.format.oneOf.0.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.1.format.oneOf.0","typeLabel":"Text format · object"},{"type":"object","title":"Grammar format","description":"The input format for the custom tool. Default is unconstrained text.","required":["type","syntax","definition"],"properties":{"type":{"type":"string","enum":["grammar"],"description":"Grammar format. Always `grammar`.","default":"grammar","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.1.format.oneOf.1.type","typeLabel":"enum\u003cstring>"},"syntax":{"type":"string","enum":["lark","regex"],"description":"The syntax of the grammar definition. One of `lark` or `regex`.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.1.format.oneOf.1.syntax","typeLabel":"enum\u003cstring>"},"definition":{"type":"string","description":"The grammar definition.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.1.format.oneOf.1.definition","typeLabel":"string"}},"uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.1.format.oneOf.1","typeLabel":"Grammar format · object"}],"uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.1.format","typeLabel":"Text format · object | Grammar format · object"},"defer_loading":{"type":"boolean","description":"Whether this tool should be deferred and discovered via tool search.","uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.1.defer_loading","typeLabel":"boolean"},"allowed_callers":{"oneOf":[{"type":"array","items":{"type":"string","enum":["direct","programmatic"],"uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.1.allowed_callers.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"The tool invocation context(s).","minItems":1,"uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.1.allowed_callers.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.1.allowed_callers.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.1.allowed_callers","typeLabel":"enum\u003cstring>[] | null"}},"uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.1","typeLabel":"Custom tool · object"}],"uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX]","typeLabel":"object | Custom tool · object"},"type":"array","minItems":1,"description":"The function/custom tools available inside this namespace.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.12.tools","typeLabel":"(object | Custom tool · object)[]"}},"uniqueKey":"tools.items.[INDEX].oneOf.12","typeLabel":"Namespace · object"},{"type":"object","title":"Tool search tool","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["tool_search"],"description":"The type of the tool. Always `tool_search`.","default":"tool_search","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.13.type","typeLabel":"enum\u003cstring>"},"execution":{"type":"string","enum":["server","client"],"description":"Whether tool search is executed by the server or by the client.","uniqueKey":"tools.items.[INDEX].oneOf.13.execution","typeLabel":"enum\u003cstring>"},"description":{"oneOf":[{"type":"string","description":"Description shown to the model for a client-executed tool search tool.","uniqueKey":"tools.items.[INDEX].oneOf.13.description.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.13.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.13.description","typeLabel":"string | null"},"parameters":{"oneOf":[{"type":"object","description":"Parameter schema for a client-executed tool search tool.","required":[],"properties":{},"uniqueKey":"tools.items.[INDEX].oneOf.13.parameters.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.13.parameters.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.13.parameters","typeLabel":"object | null"}},"uniqueKey":"tools.items.[INDEX].oneOf.13","typeLabel":"Tool search tool · object"},{"type":"object","title":"Web search preview","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["web_search_preview","web_search_preview_2025_03_11"],"description":"The type of the web search tool. One of `web_search_preview` or `web_search_preview_2025_03_11`.","default":"web_search_preview","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.14.type","typeLabel":"enum\u003cstring>"},"user_location":{"oneOf":[{"type":"object","description":"The approximate location of the user. If omitted or null, defaults to the United States. To avoid this fallback, pass `{\"type\": \"approximate\"}` without location fields. To localize results, provide the relevant location fields.","required":["type"],"properties":{"type":{"type":"string","enum":["approximate"],"description":"The type of location approximation. Always `approximate`.","default":"approximate","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.14.user_location.oneOf.0.type","typeLabel":"enum\u003cstring>"},"country":{"oneOf":[{"type":"string","description":"The two-letter [ISO country code](https://en.wikipedia.org/wiki/ISO_3166-1) of the user, e.g. `US`.","uniqueKey":"tools.items.[INDEX].oneOf.14.user_location.oneOf.0.country.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.14.user_location.oneOf.0.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.14.user_location.oneOf.0.country","typeLabel":"string | null"},"region":{"oneOf":[{"type":"string","description":"Free text input for the region of the user, e.g. `California`.","uniqueKey":"tools.items.[INDEX].oneOf.14.user_location.oneOf.0.region.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.14.user_location.oneOf.0.region.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.14.user_location.oneOf.0.region","typeLabel":"string | null"},"city":{"oneOf":[{"type":"string","description":"Free text input for the city of the user, e.g. `San Francisco`.","uniqueKey":"tools.items.[INDEX].oneOf.14.user_location.oneOf.0.city.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.14.user_location.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.14.user_location.oneOf.0.city","typeLabel":"string | null"},"timezone":{"oneOf":[{"type":"string","description":"The [IANA timezone](https://timeapi.io/documentation/iana-timezones) of the user, e.g. `America/Los_Angeles`.","uniqueKey":"tools.items.[INDEX].oneOf.14.user_location.oneOf.0.timezone.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.14.user_location.oneOf.0.timezone.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.14.user_location.oneOf.0.timezone","typeLabel":"string | null"}},"uniqueKey":"tools.items.[INDEX].oneOf.14.user_location.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.14.user_location.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.14.user_location","typeLabel":"object | null"},"search_context_size":{"type":"string","enum":["low","medium","high"],"description":"High level guidance for the amount of context window space to use for the search. One of `low`, `medium`, or `high`. `medium` is the default.","uniqueKey":"tools.items.[INDEX].oneOf.14.search_context_size","typeLabel":"enum\u003cstring>"},"search_content_types":{"items":{"type":"string","enum":["text","image"],"uniqueKey":"tools.items.[INDEX].oneOf.14.search_content_types.items.[INDEX]","typeLabel":"enum\u003cstring>"},"type":"array","uniqueKey":"tools.items.[INDEX].oneOf.14.search_content_types","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"tools.items.[INDEX].oneOf.14","typeLabel":"Web search preview · object"},{"type":"object","title":"Apply patch tool","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["apply_patch"],"description":"The type of the tool. Always `apply_patch`.","default":"apply_patch","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.15.type","typeLabel":"enum\u003cstring>"},"allowed_callers":{"oneOf":[{"type":"array","items":{"type":"string","enum":["direct","programmatic"],"uniqueKey":"tools.items.[INDEX].oneOf.15.allowed_callers.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"The tool invocation context(s).","minItems":1,"uniqueKey":"tools.items.[INDEX].oneOf.15.allowed_callers.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.15.allowed_callers.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.15.allowed_callers","typeLabel":"enum\u003cstring>[] | null"}},"uniqueKey":"tools.items.[INDEX].oneOf.15","typeLabel":"Apply patch tool · object"}],"uniqueKey":"tools.items.[INDEX]","typeLabel":"Function · object | File search · object | Computer · object | Computer use preview · object | Web search · object | MCP tool · object | Code interpreter · object | object | Image generation tool · object | Local shell tool · object | Shell tool · object | Custom tool · object | Namespace · object | Tool search tool · object | Web search preview · object | Apply patch tool · object"},"uniqueKey":"tools","typeLabel":"(Function · object | File search · object | Computer · object | Computer use preview · object | Web search · object | MCP tool · object | Code interpreter · object | object | Image generation tool · object | Local shell tool · object | Shell tool · object | Custom tool · object | Namespace · object | Tool search tool · object | Web search preview · object | Apply patch tool · object)[]"},"tool_choice":{"oneOf":[{"type":"string","title":"Tool choice mode","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","enum":["none","auto","required"],"uniqueKey":"tool_choice.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"object","title":"Allowed tools","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","required":["type","mode","tools"],"properties":{"type":{"type":"string","enum":["allowed_tools"],"description":"Allowed tool configuration type. Always `allowed_tools`.","isRequired":true,"uniqueKey":"tool_choice.oneOf.1.type","typeLabel":"enum\u003cstring>"},"mode":{"type":"string","enum":["auto","required"],"description":"Constrains the tools available to the model to a pre-defined set.\n\n`auto` allows the model to pick from among the allowed tools and generate a\nmessage.\n\n`required` requires the model to call one or more of the allowed tools.\n","isRequired":true,"uniqueKey":"tool_choice.oneOf.1.mode","typeLabel":"enum\u003cstring>"},"tools":{"type":"array","description":"A list of tool definitions that the model should be allowed to call.\n\nFor the Responses API, the list of tool definitions might look like:\n```json\n[\n { \"type\": \"function\", \"name\": \"get_weather\" },\n { \"type\": \"mcp\", \"server_label\": \"deepwiki\" },\n { \"type\": \"image_generation\" }\n]\n```\n","items":{"type":"object","description":"A tool definition that the model should be allowed to call.\n","additionalProperties":true,"uniqueKey":"tool_choice.oneOf.1.tools.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"tool_choice.oneOf.1.tools","typeLabel":"object[]"}},"uniqueKey":"tool_choice.oneOf.1","typeLabel":"Allowed tools · object"},{"type":"object","title":"Hosted tool","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","required":["type"],"properties":{"type":{"type":"string","description":"The type of hosted tool the model should to use. Learn more about\n[built-in tools](https://developers.openai.com/api/docs/guides/tools).\n\nAllowed values are:\n- `file_search`\n- `web_search_preview`\n- `computer`\n- `computer_use_preview`\n- `computer_use`\n- `code_interpreter`\n- `image_generation`\n","enum":["file_search","web_search_preview","computer","computer_use_preview","computer_use","web_search_preview_2025_03_11","image_generation","code_interpreter"],"isRequired":true,"uniqueKey":"tool_choice.oneOf.2.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"tool_choice.oneOf.2","typeLabel":"Hosted tool · object"},{"type":"object","title":"Function tool","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","required":["type","name"],"properties":{"type":{"type":"string","enum":["function"],"description":"For function calling, the type is always `function`.","isRequired":true,"uniqueKey":"tool_choice.oneOf.3.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"The name of the function to call.","isRequired":true,"uniqueKey":"tool_choice.oneOf.3.name","typeLabel":"string"}},"uniqueKey":"tool_choice.oneOf.3","typeLabel":"Function tool · object"},{"type":"object","title":"MCP tool","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","required":["type","server_label"],"properties":{"type":{"type":"string","enum":["mcp"],"description":"For MCP tools, the type is always `mcp`.","isRequired":true,"uniqueKey":"tool_choice.oneOf.4.type","typeLabel":"enum\u003cstring>"},"server_label":{"type":"string","description":"The label of the MCP server to use.\n","isRequired":true,"uniqueKey":"tool_choice.oneOf.4.server_label","typeLabel":"string"},"name":{"oneOf":[{"type":"string","description":"The name of the tool to call on the server.\n","uniqueKey":"tool_choice.oneOf.4.name.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"tool_choice.oneOf.4.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"tool_choice.oneOf.4.name","typeLabel":"string | null"}},"uniqueKey":"tool_choice.oneOf.4","typeLabel":"MCP tool · object"},{"type":"object","title":"Custom tool","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","required":["type","name"],"properties":{"type":{"type":"string","enum":["custom"],"description":"For custom tool calling, the type is always `custom`.","isRequired":true,"uniqueKey":"tool_choice.oneOf.5.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"The name of the custom tool to call.","isRequired":true,"uniqueKey":"tool_choice.oneOf.5.name","typeLabel":"string"}},"uniqueKey":"tool_choice.oneOf.5","typeLabel":"Custom tool · object"},{"type":"object","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","required":["type"],"properties":{"type":{"type":"string","enum":["programmatic_tool_calling"],"description":"The tool to call. Always `programmatic_tool_calling`.","default":"programmatic_tool_calling","isRequired":true,"uniqueKey":"tool_choice.oneOf.6.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"tool_choice.oneOf.6","typeLabel":"object"},{"type":"object","title":"Specific apply patch tool choice","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","required":["type"],"properties":{"type":{"type":"string","enum":["apply_patch"],"description":"The tool to call. Always `apply_patch`.","default":"apply_patch","isRequired":true,"uniqueKey":"tool_choice.oneOf.7.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"tool_choice.oneOf.7","typeLabel":"Specific apply patch tool choice · object"},{"type":"object","title":"Specific shell tool choice","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","required":["type"],"properties":{"type":{"type":"string","enum":["shell"],"description":"The tool to call. Always `shell`.","default":"shell","isRequired":true,"uniqueKey":"tool_choice.oneOf.8.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"tool_choice.oneOf.8","typeLabel":"Specific shell tool choice · object"}],"uniqueKey":"tool_choice","typeLabel":"enum\u003cstring> | Allowed tools · object | Hosted tool · object | Function tool · object | MCP tool · object | Custom tool · object | object | Specific apply patch tool choice · object | Specific shell tool choice · object"},"prompt":{"oneOf":[{"type":"object","description":"Reference to a prompt template and its variables.\n[Learn more](https://developers.openai.com/api/docs/guides/text?api-mode=responses#version-prompts-in-code).\n","required":["id"],"properties":{"id":{"type":"string","description":"The unique identifier of the prompt template to use.","isRequired":true,"uniqueKey":"prompt.oneOf.0.id","typeLabel":"string"},"version":{"oneOf":[{"type":"string","description":"Optional version of the prompt template.","uniqueKey":"prompt.oneOf.0.version.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"prompt.oneOf.0.version.oneOf.1","typeLabel":"null"}],"uniqueKey":"prompt.oneOf.0.version","typeLabel":"string | null"},"variables":{"oneOf":[{"type":"object","title":"Prompt Variables","description":"Optional map of values to substitute in for variables in your\nprompt. The substitution values can either be strings, or other\nResponse input types like images or files.\n","additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"object","title":"Input text","description":"A text input to the model.","required":["type","text"],"properties":{"type":{"type":"string","enum":["input_text"],"description":"The type of the input item. Always `input_text`.","default":"input_text","isRequired":true,"uniqueKey":"prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.1.type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"The text input to the model.","isRequired":true,"uniqueKey":"prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.1.text","typeLabel":"string"},"prompt_cache_breakpoint":{"properties":{"mode":{"type":"string","enum":["explicit"],"description":"The breakpoint mode. Always `explicit`.","default":"explicit","isRequired":true,"uniqueKey":"prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.1.prompt_cache_breakpoint.mode","typeLabel":"enum\u003cstring>"},"ttl":{"type":"string","enum":["30m","12h"],"description":"The minimum lifetime of this cache breakpoint. Defaults to the request TTL.","uniqueKey":"prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.1.prompt_cache_breakpoint.ttl","typeLabel":"enum\u003cstring>"}},"type":"object","required":["mode"],"title":"Prompt cache breakpoint","description":"Marks the exact end of a reusable prompt prefix. When `ttl` is omitted, the breakpoint inherits the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block.","uniqueKey":"prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.1.prompt_cache_breakpoint","typeLabel":"Prompt cache breakpoint · object"}},"uniqueKey":"prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.1","typeLabel":"Input text · object"},{"type":"object","title":"Input image","description":"An image input to the model. Learn about [image inputs](https://developers.openai.com/api/docs/guides/images-vision).","required":["type","detail"],"properties":{"type":{"type":"string","enum":["input_image"],"description":"The type of the input item. Always `input_image`.","default":"input_image","isRequired":true,"uniqueKey":"prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2.type","typeLabel":"enum\u003cstring>"},"detail":{"type":"string","enum":["low","high","auto","original"],"description":"The detail level of the image to be sent to the model. One of `high`, `low`, `auto`, or `original`. Defaults to `auto`.","isRequired":true,"uniqueKey":"prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2.detail","typeLabel":"enum\u003cstring>"},"image_url":{"oneOf":[{"type":"string","description":"The URL of the image to be sent to the model. A fully qualified URL or base64 encoded image in a data URL.","format":"uri","uniqueKey":"prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2.image_url.oneOf.0","typeLabel":"string\u003curi>"},{"type":"null","uniqueKey":"prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2.image_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2.image_url","typeLabel":"string\u003curi> | null"},"file_id":{"oneOf":[{"type":"string","description":"The ID of the file to be sent to the model.","uniqueKey":"prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2.file_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2.file_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2.file_id","typeLabel":"string | null"},"prompt_cache_breakpoint":{"properties":{"mode":{"type":"string","enum":["explicit"],"description":"The breakpoint mode. Always `explicit`.","default":"explicit","isRequired":true,"uniqueKey":"prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2.prompt_cache_breakpoint.mode","typeLabel":"enum\u003cstring>"},"ttl":{"type":"string","enum":["30m","12h"],"description":"The minimum lifetime of this cache breakpoint. Defaults to the request TTL.","uniqueKey":"prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2.prompt_cache_breakpoint.ttl","typeLabel":"enum\u003cstring>"}},"type":"object","required":["mode"],"title":"Prompt cache breakpoint","description":"Marks the exact end of a reusable prompt prefix. When `ttl` is omitted, the breakpoint inherits the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block.","uniqueKey":"prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2.prompt_cache_breakpoint","typeLabel":"Prompt cache breakpoint · object"}},"uniqueKey":"prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2","typeLabel":"Input image · object"},{"type":"object","title":"Input file","description":"A file input to the model.","required":["type"],"properties":{"type":{"type":"string","enum":["input_file"],"description":"The type of the input item. Always `input_file`.","default":"input_file","isRequired":true,"uniqueKey":"prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.type","typeLabel":"enum\u003cstring>"},"file_id":{"oneOf":[{"type":"string","description":"The ID of the file to be sent to the model.","uniqueKey":"prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.file_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.file_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.file_id","typeLabel":"string | null"},"filename":{"type":"string","description":"The name of the file to be sent to the model.","uniqueKey":"prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.filename","typeLabel":"string"},"file_data":{"type":"string","description":"The content of the file to be sent to the model.\n","uniqueKey":"prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.file_data","typeLabel":"string"},"prompt_cache_breakpoint":{"properties":{"mode":{"type":"string","enum":["explicit"],"description":"The breakpoint mode. Always `explicit`.","default":"explicit","isRequired":true,"uniqueKey":"prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.prompt_cache_breakpoint.mode","typeLabel":"enum\u003cstring>"},"ttl":{"type":"string","enum":["30m","12h"],"description":"The minimum lifetime of this cache breakpoint. Defaults to the request TTL.","uniqueKey":"prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.prompt_cache_breakpoint.ttl","typeLabel":"enum\u003cstring>"}},"type":"object","required":["mode"],"title":"Prompt cache breakpoint","description":"Marks the exact end of a reusable prompt prefix. When `ttl` is omitted, the breakpoint inherits the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block.","uniqueKey":"prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.prompt_cache_breakpoint","typeLabel":"Prompt cache breakpoint · object"},"file_url":{"type":"string","format":"uri","description":"The URL of the file to be sent to the model.","uniqueKey":"prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.file_url","typeLabel":"string\u003curi>"},"detail":{"type":"string","enum":["auto","low","high"],"description":"The detail level of the file to be sent to the model. Use `auto` to let the system select the detail level; for GPT-5.6 and later models, `auto` uses high-quality rendering, which may increase input token usage. Use `low` for lower-cost rendering, or `high` to render the file at higher quality. Defaults to `auto`.","uniqueKey":"prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.detail","typeLabel":"enum\u003cstring>"}},"uniqueKey":"prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3","typeLabel":"Input file · object"}],"uniqueKey":"prompt.oneOf.0.variables.oneOf.0.additionalProperties","typeLabel":"string | Input text · object | Input image · object | Input file · object"},"uniqueKey":"prompt.oneOf.0.variables.oneOf.0","typeLabel":"Prompt Variables · object"},{"type":"null","uniqueKey":"prompt.oneOf.0.variables.oneOf.1","typeLabel":"null"}],"uniqueKey":"prompt.oneOf.0.variables","typeLabel":"Prompt Variables · object | null"}},"uniqueKey":"prompt.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"prompt.oneOf.1","typeLabel":"null"}],"uniqueKey":"prompt","typeLabel":"object | null"},"access_programs":{"properties":{"cyber":{"type":"string","enum":["standard","daybreak_blue","daybreak_red"],"description":"The Cyber access program to use for this request. Supported values are `standard`, `daybreak_blue`, and `daybreak_red`. If omitted, the API resolves the program from the model's Cyber tier and your organization and project access, subject to model-specific eligibility restrictions. By default, models without a Cyber tier use Standard. Blue-tier models use Daybreak Blue when authorized; otherwise they fall back to Standard unless the model requires Daybreak access. Red-tier models use Daybreak Red and require authorization. Requests that require unavailable Daybreak access return 403. An implicit Standard fallback is represented by null in the response's access_programs field, rather than an explicit Standard selection.","uniqueKey":"access_programs.cyber","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"type":"object","required":[],"description":"Domain-specific access programs to use for this request.","uniqueKey":"access_programs","typeLabel":"object"},"image":{"properties":{"context_compression":{"type":"string","enum":["auto","enabled","disabled"],"description":"Controls image context optimization. Defaults to `auto`, which uses the model, transport, and input to select a policy. Use `enabled` to require compression support or `disabled` to turn it off.","uniqueKey":"image.context_compression","typeLabel":"enum\u003cstring>"}},"additionalProperties":false,"type":"object","required":[],"description":"Request level image options.","uniqueKey":"image","typeLabel":"object"},"prompt_cache_options":{"properties":{"ttl":{"type":"string","enum":["30m","12h"],"description":"The minimum lifetime applied to every implicit and explicit cache breakpoint written by the request. Supported values are `30m` (the default) and `12h`. The backend may retain cache entries for longer.","uniqueKey":"prompt_cache_options.ttl","typeLabel":"enum\u003cstring>"},"mode":{"type":"string","enum":["implicit","explicit"],"description":"Controls whether OpenAI automatically creates an implicit cache breakpoint. Defaults to `implicit`. With `implicit`, OpenAI creates one implicit breakpoint and writes up to the latest three explicit breakpoints in the request. With `explicit`, OpenAI does not create an implicit breakpoint and writes up to the latest four explicit breakpoints. If there are no explicit breakpoints, the request does not use prompt caching.","uniqueKey":"prompt_cache_options.mode","typeLabel":"enum\u003cstring>"},"prewarm":{"type":"boolean","description":"Prepares the prompt cache without generating output. Defaults to `false`. When set to `true`, overrides the `generate` field to `false`.","uniqueKey":"prompt_cache_options.prewarm","typeLabel":"boolean"},"comparison_response_id":{"oneOf":[{"type":"string","description":"The ID of a response to compare when diagnosing prompt cache reuse. Supplying this field requests prompt cache diagnostics when the feature is enabled.","example":"resp_123","uniqueKey":"prompt_cache_options.comparison_response_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"prompt_cache_options.comparison_response_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"prompt_cache_options.comparison_response_id","typeLabel":"string | null"}},"type":"object","required":[],"title":"Prompt cache options","description":"Options for prompt caching. Supported for `gpt-5.6` and later models. By default, OpenAI automatically chooses one implicit cache breakpoint. You can add explicit breakpoints to content blocks with `prompt_cache_breakpoint`. Each request can write up to four breakpoints. For cache matching, OpenAI considers up to the latest 80 breakpoints in the conversation, without a content-block lookback limit. Set `mode` to `explicit` to disable the implicit breakpoint. The `ttl` defaults to `30m`. Supported lifetimes depend on the API. See the [prompt caching guide](https://developers.openai.com/api/docs/guides/prompt-caching) for current details.","uniqueKey":"prompt_cache_options","typeLabel":"Prompt cache options · object"},"service_tier":{"oneOf":[{"type":"string","description":"Specifies the processing type used for serving the request.\n - If set to 'auto', then the request will be processed with the service tier configured in the Project settings. Unless otherwise configured, the Project will use 'default'.\n - If set to 'default', then the request will be processed with the standard pricing and performance for the selected model.\n - If set to '[flex](https://developers.openai.com/api/docs/guides/flex-processing)', then the request will be processed with the Flex Processing service tier.\n - To opt-in to [Fast mode](https://developers.openai.com/api/docs/guides/fast-mode) at the request level, include the `service_tier=fast` or `service_tier=priority` parameter for Responses or Chat Completions. The response will show `service_tier=priority` regardless of if you specify `service_tier=fast` or `priority` in your request.\n - If set to 'ultrafast', then the request will be processed with the access-controlled Ultrafast Processing service tier. This tier is currently available for `gpt-5.6-sol`; a response served through it will show `service_tier=ultrafast`.\n - When not set, the default behavior is 'auto'.\n\n When the `service_tier` parameter is set, the response body will include the `service_tier` value based on the processing mode actually used to serve the request. This response value may be different from the value set in the parameter.\n","default":"auto","enum":["auto","default","flex","scale","priority","fast","ultrafast"],"uniqueKey":"service_tier.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"service_tier.oneOf.1","typeLabel":"null"}],"uniqueKey":"service_tier","typeLabel":"enum\u003cstring> | null"},"truncation":{"oneOf":[{"type":"string","description":"The truncation strategy to use for the model response.\n- `auto`: If the input to this Response exceeds\n the model's context window size, the model will truncate the\n response to fit the context window by dropping items from the beginning of the conversation.\n On some models, trimming can begin earlier because the API subtracts the model's\n maximum output allowance from its input limit, even if you set a lower `max_output_tokens`.\n- `disabled` (default): If the input size will exceed the context window\n size for a model, the request will fail with a 400 error.\n","default":"disabled","enum":["auto","disabled"],"deprecated":true,"uniqueKey":"truncation.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","deprecated":true,"uniqueKey":"truncation.oneOf.1","typeLabel":"null"}],"uniqueKey":"truncation","typeLabel":"enum\u003cstring> | null"},"reasoning":{"oneOf":[{"type":"object","title":"Reasoning","description":"Configuration options for\n[reasoning models](https://developers.openai.com/api/docs/guides/reasoning).\n","properties":{"mode":{"oneOf":[{"type":"string","description":"Controls the reasoning execution mode for the request.\n\nWhen returned on a response, this is the effective execution mode.\n","uniqueKey":"reasoning.oneOf.0.mode.oneOf.0","typeLabel":"string"},{"type":"string","description":"Controls the reasoning execution mode for the request.\n\nWhen returned on a response, this is the effective execution mode.\n","enum":["standard","pro"],"uniqueKey":"reasoning.oneOf.0.mode.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"reasoning.oneOf.0.mode","typeLabel":"string | enum\u003cstring>"},"effort":{"oneOf":[{"type":"string","description":"Constrains effort on reasoning for reasoning models. Currently supported\nvalues are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`.\nReducing reasoning effort can result in faster responses and fewer tokens\nused on reasoning in a response. Not all reasoning models support every\nvalue. See the\n[reasoning guide](https://developers.openai.com/api/docs/guides/reasoning)\nfor model-specific support.\n","default":"medium","enum":["none","minimal","low","medium","high","xhigh","max"],"uniqueKey":"reasoning.oneOf.0.effort.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"reasoning.oneOf.0.effort.oneOf.1","typeLabel":"null"}],"uniqueKey":"reasoning.oneOf.0.effort","typeLabel":"enum\u003cstring> | null"},"summary":{"oneOf":[{"type":"string","description":"A summary of the reasoning performed by the model. This can be\nuseful for debugging and understanding the model's reasoning process.\nOne of `auto`, `concise`, or `detailed`.\n\n`concise` is supported for `computer-use-preview` models and all reasoning models after `gpt-5`.\n","enum":["auto","concise","detailed"],"uniqueKey":"reasoning.oneOf.0.summary.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"reasoning.oneOf.0.summary.oneOf.1","typeLabel":"null"}],"uniqueKey":"reasoning.oneOf.0.summary","typeLabel":"enum\u003cstring> | null"},"context":{"oneOf":[{"type":"string","description":"Controls which reasoning items are rendered back to the model on later turns.\nIf omitted or set to `auto`, the model determines the context mode. The\n`gpt-5.6` model family defaults to `all_turns`; earlier models default to\n`current_turn`.\n\nWhen returned on a response, this is the effective reasoning context mode\nused for the response.\n","enum":["auto","current_turn","all_turns"],"uniqueKey":"reasoning.oneOf.0.context.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"reasoning.oneOf.0.context.oneOf.1","typeLabel":"null"}],"uniqueKey":"reasoning.oneOf.0.context","typeLabel":"enum\u003cstring> | null"},"generate_summary":{"oneOf":[{"type":"string","description":"**Deprecated:** use `summary` instead.\n\nA summary of the reasoning performed by the model. This can be\nuseful for debugging and understanding the model's reasoning process.\nOne of `auto`, `concise`, or `detailed`.\n","enum":["auto","concise","detailed"],"deprecated":true,"uniqueKey":"reasoning.oneOf.0.generate_summary.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"reasoning.oneOf.0.generate_summary.oneOf.1","typeLabel":"null"}],"uniqueKey":"reasoning.oneOf.0.generate_summary","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"reasoning.oneOf.0","typeLabel":"Reasoning · object"},{"type":"null","uniqueKey":"reasoning.oneOf.1","typeLabel":"null"}],"uniqueKey":"reasoning","typeLabel":"Reasoning · object | null"},"input":{"oneOf":[{"type":"string","title":"Text input","description":"Text, image, or file inputs to the model, used to generate a response.\n\nLearn more:\n- [Text inputs and outputs](https://developers.openai.com/api/docs/guides/text)\n- [Image inputs](https://developers.openai.com/api/docs/guides/images-vision)\n- [File inputs](https://developers.openai.com/api/docs/guides/file-inputs)\n- [Conversation state](https://developers.openai.com/api/docs/guides/conversation-state)\n- [Function calling](https://developers.openai.com/api/docs/guides/function-calling)\n","uniqueKey":"input.oneOf.0","typeLabel":"string"},{"type":"array","items":{"oneOf":[{"type":"object","title":"Input message","description":"A message input to the model with a role indicating instruction following\nhierarchy. Instructions given with the `developer` or `system` role take\nprecedence over instructions given with the `user` role. Messages with the\n`assistant` role are presumed to have been generated by the model in previous\ninteractions.\n","required":["role","content"],"properties":{"role":{"type":"string","description":"The role of the message input. One of `user`, `assistant`, `system`, or\n`developer`.\n","enum":["user","assistant","system","developer"],"isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.role","typeLabel":"enum\u003cstring>"},"content":{"oneOf":[{"type":"string","title":"Text input","description":"Text, image, or audio input to the model, used to generate a response.\nCan also contain previous assistant responses.\n","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.0","typeLabel":"string"},{"type":"array","items":{"oneOf":[{"type":"object","title":"Input text","description":"A text input to the model.","required":["type","text"],"properties":{"type":{"type":"string","enum":["input_text"],"description":"The type of the input item. Always `input_text`.","default":"input_text","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"The text input to the model.","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.text","typeLabel":"string"},"prompt_cache_breakpoint":{"properties":{"mode":{"type":"string","enum":["explicit"],"description":"The breakpoint mode. Always `explicit`.","default":"explicit","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.prompt_cache_breakpoint.mode","typeLabel":"enum\u003cstring>"},"ttl":{"type":"string","enum":["30m","12h"],"description":"The minimum lifetime of this cache breakpoint. Defaults to the request TTL.","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.prompt_cache_breakpoint.ttl","typeLabel":"enum\u003cstring>"}},"type":"object","required":["mode"],"title":"Prompt cache breakpoint","description":"Marks the exact end of a reusable prompt prefix. When `ttl` is omitted, the breakpoint inherits the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block.","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.prompt_cache_breakpoint","typeLabel":"Prompt cache breakpoint · object"}},"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0","typeLabel":"Input text · object"},{"type":"object","title":"Input image","description":"An image input to the model. Learn about [image inputs](https://developers.openai.com/api/docs/guides/images-vision).","required":["type","detail"],"properties":{"type":{"type":"string","enum":["input_image"],"description":"The type of the input item. Always `input_image`.","default":"input_image","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"detail":{"type":"string","enum":["low","high","auto","original"],"description":"The detail level of the image to be sent to the model. One of `high`, `low`, `auto`, or `original`. Defaults to `auto`.","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.detail","typeLabel":"enum\u003cstring>"},"image_url":{"oneOf":[{"type":"string","description":"The URL of the image to be sent to the model. A fully qualified URL or base64 encoded image in a data URL.","format":"uri","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.image_url.oneOf.0","typeLabel":"string\u003curi>"},{"type":"null","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.image_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.image_url","typeLabel":"string\u003curi> | null"},"file_id":{"oneOf":[{"type":"string","description":"The ID of the file to be sent to the model.","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.file_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.file_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.file_id","typeLabel":"string | null"},"prompt_cache_breakpoint":{"properties":{"mode":{"type":"string","enum":["explicit"],"description":"The breakpoint mode. Always `explicit`.","default":"explicit","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.prompt_cache_breakpoint.mode","typeLabel":"enum\u003cstring>"},"ttl":{"type":"string","enum":["30m","12h"],"description":"The minimum lifetime of this cache breakpoint. Defaults to the request TTL.","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.prompt_cache_breakpoint.ttl","typeLabel":"enum\u003cstring>"}},"type":"object","required":["mode"],"title":"Prompt cache breakpoint","description":"Marks the exact end of a reusable prompt prefix. When `ttl` is omitted, the breakpoint inherits the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block.","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.prompt_cache_breakpoint","typeLabel":"Prompt cache breakpoint · object"}},"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1","typeLabel":"Input image · object"},{"type":"object","title":"Input file","description":"A file input to the model.","required":["type"],"properties":{"type":{"type":"string","enum":["input_file"],"description":"The type of the input item. Always `input_file`.","default":"input_file","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"file_id":{"oneOf":[{"type":"string","description":"The ID of the file to be sent to the model.","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2.file_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2.file_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2.file_id","typeLabel":"string | null"},"filename":{"type":"string","description":"The name of the file to be sent to the model.","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2.filename","typeLabel":"string"},"file_data":{"type":"string","description":"The content of the file to be sent to the model.\n","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2.file_data","typeLabel":"string"},"prompt_cache_breakpoint":{"properties":{"mode":{"type":"string","enum":["explicit"],"description":"The breakpoint mode. Always `explicit`.","default":"explicit","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2.prompt_cache_breakpoint.mode","typeLabel":"enum\u003cstring>"},"ttl":{"type":"string","enum":["30m","12h"],"description":"The minimum lifetime of this cache breakpoint. Defaults to the request TTL.","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2.prompt_cache_breakpoint.ttl","typeLabel":"enum\u003cstring>"}},"type":"object","required":["mode"],"title":"Prompt cache breakpoint","description":"Marks the exact end of a reusable prompt prefix. When `ttl` is omitted, the breakpoint inherits the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block.","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2.prompt_cache_breakpoint","typeLabel":"Prompt cache breakpoint · object"},"file_url":{"type":"string","format":"uri","description":"The URL of the file to be sent to the model.","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2.file_url","typeLabel":"string\u003curi>"},"detail":{"type":"string","enum":["auto","low","high"],"description":"The detail level of the file to be sent to the model. Use `auto` to let the system select the detail level; for GPT-5.6 and later models, `auto` uses high-quality rendering, which may increase input token usage. Use `low` for lower-cost rendering, or `high` to render the file at higher quality. Defaults to `auto`.","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2.detail","typeLabel":"enum\u003cstring>"}},"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2","typeLabel":"Input file · object"}],"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX]","typeLabel":"Input text · object | Input image · object | Input file · object"},"title":"Input item content list","description":"Text, image, or audio input to the model, used to generate a response.\nCan also contain previous assistant responses.\n","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1","typeLabel":"(Input text · object | Input image · object | Input file · object)[]"}],"isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.content","typeLabel":"string | (Input text · object | Input image · object | Input file · object)[]"},"phase":{"oneOf":[{"type":"string","description":"Labels an `assistant` message as intermediate commentary (`commentary`) or the final answer (`final_answer`).\nFor models like `gpt-5.3-codex` and beyond, when sending follow-up requests, preserve and resend\nphase on all assistant messages — dropping it can degrade performance. Not used for user messages.\n","enum":["commentary","final_answer"],"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.phase.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.phase.oneOf.1","typeLabel":"null"}],"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.phase","typeLabel":"enum\u003cstring> | null"},"type":{"type":"string","description":"The type of the message input. Always `message`.\n","enum":["message"],"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.0","typeLabel":"Input message · object"},{"type":"object","title":"Input message","description":"A message input to the model with a role indicating instruction following\nhierarchy. Instructions given with the `developer` or `system` role take\nprecedence over instructions given with the `user` role.\n","required":["role","content"],"properties":{"role":{"type":"string","description":"The role of the message input. One of `user`, `system`, or `developer`.\n","enum":["user","system","developer"],"isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.1.role","typeLabel":"enum\u003cstring>"},"content":{"type":"array","title":"Input item content list","description":"A list of one or many input items to the model, containing different content \ntypes.\n","items":{"type":"any","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.1.content.items.[INDEX]","typeLabel":"any"},"isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.1.content","typeLabel":"any[]"},"type":{"type":"string","description":"The type of the message input. Always set to `message`.\n","const":"message","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.1.type","typeLabel":"string"},"status":{"type":"string","description":"The status of item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.1.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.1","typeLabel":"Input message · object"},{"type":"object","title":"Output message","description":"An output message from the model.\n","required":["id","type","role","content","status"],"properties":{"id":{"type":"string","description":"The unique ID of the output message.\n","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.2.id","typeLabel":"string"},"type":{"type":"string","description":"The type of the output message. Always `message`.\n","const":"message","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.2.type","typeLabel":"string"},"role":{"type":"string","description":"The role of the output message. Always `assistant`.\n","const":"assistant","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.2.role","typeLabel":"string"},"content":{"type":"array","description":"The content of the output message.\n","items":{"type":"any","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.2.content.items.[INDEX]","typeLabel":"any"},"isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.2.content","typeLabel":"any[]"},"status":{"type":"string","description":"The status of the message input. One of `in_progress`, `completed`, or\n`incomplete`. Populated when input items are returned via API.\n","enum":["in_progress","completed","incomplete"],"isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.2.status","typeLabel":"enum\u003cstring>"},"phase":{"type":"any","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.2.phase","typeLabel":"any"}},"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.2","typeLabel":"Output message · object"},{"type":"object","title":"File search tool call","description":"The results of a file search tool call. See the\n[file search guide](https://developers.openai.com/api/docs/guides/tools-file-search) for more information.\n","required":["id","type","status","queries"],"properties":{"id":{"type":"string","description":"The unique ID of the file search tool call.\n","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.3.id","typeLabel":"string"},"type":{"type":"string","enum":["file_search_call"],"description":"The type of the file search tool call. Always `file_search_call`.\n","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"status":{"type":"string","description":"The status of the file search tool call. One of `in_progress`,\n`searching`, `incomplete` or `failed`,\n","enum":["in_progress","searching","completed","incomplete","failed"],"isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.3.status","typeLabel":"enum\u003cstring>"},"queries":{"type":"array","items":{"type":"string","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.3.queries.items.[INDEX]","typeLabel":"string"},"description":"The queries used to search for files.\n","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.3.queries","typeLabel":"string[]"},"results":{"type":"any","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.3.results","typeLabel":"any"}},"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.3","typeLabel":"File search tool call · object"},{"type":"object","title":"Computer tool call","description":"A tool call to a computer use tool. See the\n[computer use guide](https://developers.openai.com/api/docs/guides/tools-computer-use) for more information.\n","required":["type","id","call_id","pending_safety_checks","status"],"properties":{"type":{"type":"string","description":"The type of the computer call. Always `computer_call`.","enum":["computer_call"],"default":"computer_call","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.4.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the computer call.","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.4.id","typeLabel":"string"},"call_id":{"type":"string","description":"An identifier used when responding to the tool call with output.\n","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.4.call_id","typeLabel":"string"},"pending_safety_checks":{"type":"array","items":{"properties":{"id":{"type":"string","description":"The ID of the pending safety check.","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.4.pending_safety_checks.items.[INDEX].id","typeLabel":"string"},"code":{"type":"any","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.4.pending_safety_checks.items.[INDEX].code","typeLabel":"any"},"message":{"type":"any","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.4.pending_safety_checks.items.[INDEX].message","typeLabel":"any"}},"type":"object","required":["id"],"description":"A pending safety check for the computer call.","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.4.pending_safety_checks.items.[INDEX]","typeLabel":"object"},"description":"The pending safety checks for the computer call.\n","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.4.pending_safety_checks","typeLabel":"object[]"},"status":{"type":"string","description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.4.status","typeLabel":"enum\u003cstring>"},"action":{"type":"any","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.4.action","typeLabel":"any"},"actions":{"title":"Computer Action List","type":"array","description":"Flattened batched actions for `computer_use`. Each action includes an\n`type` discriminator and action-specific fields.\n","items":{"type":"any","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.4.actions.items.[INDEX]","typeLabel":"any"},"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.4.actions","typeLabel":"any[]"}},"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.4","typeLabel":"Computer tool call · object"},{"type":"object","title":"Computer tool call output","description":"The output of a computer tool call.","required":["call_id","type","output"],"properties":{"call_id":{"type":"string","maxLength":64,"minLength":1,"description":"The ID of the computer tool call that produced the output.","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.5.call_id","typeLabel":"string"},"type":{"type":"string","enum":["computer_call_output"],"description":"The type of the computer tool call output. Always `computer_call_output`.","default":"computer_call_output","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.5.type","typeLabel":"enum\u003cstring>"},"output":{"type":"object","description":"A computer screenshot image used with the computer use tool.\n","properties":{"type":{"type":"string","const":"computer_screenshot","default":"computer_screenshot","description":"Specifies the event type. For a computer screenshot, this property is \nalways set to `computer_screenshot`.\n","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.5.output.type","typeLabel":"string"},"image_url":{"type":"string","format":"uri","description":"The URL of the screenshot image.","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.5.output.image_url","typeLabel":"string\u003curi>"},"file_id":{"type":"string","description":"The identifier of an uploaded file that contains the screenshot.","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.5.output.file_id","typeLabel":"string"}},"required":["type"],"isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.5.output","typeLabel":"object"},"id":{"type":"any","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.5.id","typeLabel":"any"},"acknowledged_safety_checks":{"type":"any","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.5.acknowledged_safety_checks","typeLabel":"any"},"status":{"type":"any","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.5.status","typeLabel":"any"}},"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.5","typeLabel":"Computer tool call output · object"},{"type":"object","title":"Web search tool call","description":"The results of a web search tool call. See the\n[web search guide](https://developers.openai.com/api/docs/guides/tools-web-search) for more information.\n","required":["id","type","status"],"properties":{"id":{"type":"string","description":"The unique ID of the web search tool call.\n","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.6.id","typeLabel":"string"},"type":{"type":"string","const":"web_search_call","description":"The type of the web search tool call. Always `web_search_call`.\n","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.6.type","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","searching","completed","failed","incomplete"],"description":"The status of the web search tool call.\n","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.6.status","typeLabel":"enum\u003cstring>"},"action":{"type":"any","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.6.action","typeLabel":"any"}},"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.6","typeLabel":"Web search tool call · object"},{"type":"object","title":"Function tool call","description":"A tool call to run a function. See the\n[function calling guide](https://developers.openai.com/api/docs/guides/function-calling) for more information.\n","required":["type","call_id","name","arguments"],"properties":{"type":{"type":"string","const":"function_call","description":"The type of the function tool call. Always `function_call`.\n","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.7.type","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the function tool call generated by the model.\n","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.7.call_id","typeLabel":"string"},"name":{"type":"string","description":"The name of the function to run.\n","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.7.name","typeLabel":"string"},"arguments":{"type":"string","description":"A JSON string of the arguments to pass to the function.\n","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.7.arguments","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the function tool call.\n","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.7.id","typeLabel":"string"},"caller":{"type":"any","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.7.caller","typeLabel":"any"},"namespace":{"type":"string","description":"The namespace of the function to run.\n","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.7.namespace","typeLabel":"string"},"status":{"type":"string","description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.7.status","typeLabel":"enum\u003cstring>"},"async":{"type":"boolean","description":"Whether the function tool call runs asynchronously.\n","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.7.async","typeLabel":"boolean"}},"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.7","typeLabel":"Function tool call · object"},{"type":"object","title":"Function tool call output","description":"The output of a function tool call.","required":["type","output"],"properties":{"type":{"type":"string","enum":["function_call_output"],"description":"The type of the function tool call output. Always `function_call_output`.","default":"function_call_output","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.8.type","typeLabel":"enum\u003cstring>"},"output":{"type":"any","description":"Text, image, or file output of the function tool call.","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.8.output","typeLabel":"any"},"id":{"type":"any","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.8.id","typeLabel":"any"},"call_id":{"type":"any","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.8.call_id","typeLabel":"any"},"name":{"type":"any","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.8.name","typeLabel":"any"},"namespace":{"type":"any","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.8.namespace","typeLabel":"any"},"caller":{"type":"any","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.8.caller","typeLabel":"any"},"status":{"type":"any","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.8.status","typeLabel":"any"}},"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.8","typeLabel":"Function tool call output · object"},{"type":"object","title":"Item","description":"An item representing part of the context for the response to be\ngenerated by the model. Can contain text, images, and audio inputs,\nas well as previous assistant responses and tool call outputs.\n","required":["type","arguments"],"properties":{"type":{"type":"string","enum":["tool_search_call"],"description":"The item type. Always `tool_search_call`.","default":"tool_search_call","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.9.type","typeLabel":"enum\u003cstring>"},"arguments":{"properties":{},"type":"object","required":[],"description":"The arguments supplied to the tool search call.","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.9.arguments","typeLabel":"object"},"id":{"type":"any","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.9.id","typeLabel":"any"},"call_id":{"type":"any","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.9.call_id","typeLabel":"any"},"execution":{"type":"string","enum":["server","client"],"description":"Whether tool search was executed by the server or by the client.","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.9.execution","typeLabel":"enum\u003cstring>"},"status":{"type":"any","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.9.status","typeLabel":"any"}},"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.9","typeLabel":"Item · object"},{"type":"object","title":"Item","description":"An item representing part of the context for the response to be\ngenerated by the model. Can contain text, images, and audio inputs,\nas well as previous assistant responses and tool call outputs.\n","required":["type","tools"],"properties":{"type":{"type":"string","enum":["tool_search_output"],"description":"The item type. Always `tool_search_output`.","default":"tool_search_output","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.10.type","typeLabel":"enum\u003cstring>"},"tools":{"items":{"type":"any","description":"A tool definition returned by a tool search output.\n","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.10.tools.items.[INDEX]","typeLabel":"any"},"type":"array","description":"The loaded tool definitions returned by the tool search output.","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.10.tools","typeLabel":"any[]"},"id":{"type":"any","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.10.id","typeLabel":"any"},"call_id":{"type":"any","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.10.call_id","typeLabel":"any"},"execution":{"type":"string","enum":["server","client"],"description":"Whether tool search was executed by the server or by the client.","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.10.execution","typeLabel":"enum\u003cstring>"},"status":{"type":"any","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.10.status","typeLabel":"any"}},"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.10","typeLabel":"Item · object"},{"type":"object","title":"Item","description":"An item representing part of the context for the response to be\ngenerated by the model. Can contain text, images, and audio inputs,\nas well as previous assistant responses and tool call outputs.\n","required":["type","role","tools"],"properties":{"type":{"type":"string","enum":["additional_tools"],"description":"The item type. Always `additional_tools`.","default":"additional_tools","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.11.type","typeLabel":"enum\u003cstring>"},"role":{"type":"string","enum":["developer"],"description":"The role that provided the additional tools. Only `developer` is supported.","default":"developer","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.11.role","typeLabel":"enum\u003cstring>"},"tools":{"items":{"type":"any","description":"A tool that can be used to generate a response.\n","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.11.tools.items.[INDEX]","typeLabel":"any"},"type":"array","description":"A list of additional tools made available at this item.","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.11.tools","typeLabel":"any[]"},"id":{"type":"any","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.11.id","typeLabel":"any"}},"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.11","typeLabel":"Item · object"},{"type":"object","title":"Item","description":"An update to the conversation's response configuration. Supply reasoning,\ntext, or both. Each setting stays in effect until a later update replaces it.\n","required":["type"],"properties":{"type":{"type":"string","const":"configuration_update","description":"The item type. Always `configuration_update`.","default":"configuration_update","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.12.type","typeLabel":"string"},"id":{"type":"any","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.12.id","typeLabel":"any"},"reasoning":{"type":"object","description":"Updates to reasoning configuration. Only effort is supported.","properties":{"effort":{"type":"any","description":"The reasoning effort to use for subsequent responses until another\nconfiguration update replaces it.\n","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.12.reasoning.effort","typeLabel":"any"}},"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.12.reasoning","typeLabel":"object"},"text":{"type":"object","description":"The text output configuration for subsequent responses.","properties":{"format":{"type":"any","description":"Use a JSON schema for structured output or text to return to plain text.","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.12.text.format","typeLabel":"any"}},"required":["format"],"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.12.text","typeLabel":"object"}},"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.12","typeLabel":"Item · object"},{"type":"object","title":"Reasoning","description":"A description of the chain of thought used by a reasoning model while generating\na response. Be sure to include these items in your `input` to the Responses API\nfor subsequent turns of a conversation if you are manually\n[managing context](https://developers.openai.com/api/docs/guides/conversation-state).\n","required":["id","summary","type"],"properties":{"type":{"type":"string","description":"The type of the object. Always `reasoning`.\n","enum":["reasoning"],"isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.13.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique identifier of the reasoning content.\n","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.13.id","typeLabel":"string"},"summary":{"type":"array","description":"Reasoning summary content.\n","items":{"properties":{"type":{"type":"string","enum":["summary_text"],"description":"The type of the object. Always `summary_text`.","default":"summary_text","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.13.summary.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"A summary of the reasoning output from the model so far.","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.13.summary.items.[INDEX].text","typeLabel":"string"}},"type":"object","required":["type","text"],"title":"Summary text","description":"A summary text from the model.","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.13.summary.items.[INDEX]","typeLabel":"Summary text · object"},"isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.13.summary","typeLabel":"Summary text · object[]"},"encrypted_content":{"type":"any","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.13.encrypted_content","typeLabel":"any"},"content":{"type":"array","description":"Reasoning text content.\n","items":{"properties":{"type":{"type":"string","enum":["reasoning_text"],"description":"The type of the reasoning text. Always `reasoning_text`.","default":"reasoning_text","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.13.content.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"The reasoning text from the model.","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.13.content.items.[INDEX].text","typeLabel":"string"}},"type":"object","required":["type","text"],"title":"Reasoning text","description":"Reasoning text from the model.","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.13.content.items.[INDEX]","typeLabel":"Reasoning text · object"},"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.13.content","typeLabel":"Reasoning text · object[]"},"status":{"type":"string","description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.13.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.13","typeLabel":"Reasoning · object"},{"type":"object","title":"Compaction item","description":"A compaction item generated by the [`v1/responses/compact` API](https://developers.openai.com/api/reference/resources/responses/methods/compact).","required":["type","encrypted_content"],"properties":{"type":{"type":"string","enum":["compaction"],"description":"The type of the item. Always `compaction`.","default":"compaction","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.14.type","typeLabel":"enum\u003cstring>"},"encrypted_content":{"type":"string","maxLength":104857600,"description":"The encrypted content of the compaction summary.","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.14.encrypted_content","typeLabel":"string"},"id":{"type":"any","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.14.id","typeLabel":"any"}},"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.14","typeLabel":"Compaction item · object"},{"type":"object","title":"Image generation call","description":"An image generation request made by the model.","required":["type","id","status","result"],"properties":{"type":{"type":"string","enum":["image_generation_call"],"description":"The type of the image generation call. Always `image_generation_call`.","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.15.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the image generation call.","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.15.id","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","completed","generating","failed"],"description":"The status of the image generation call.","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.15.status","typeLabel":"enum\u003cstring>"},"result":{"type":"any","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.15.result","typeLabel":"any"},"error":{"properties":{"code":{"type":"any","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.15.error.code","typeLabel":"any"},"type":{"type":"string","description":"The error type.","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.15.error.type","typeLabel":"string"},"message":{"type":"string","description":"A description of the error.","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.15.error.message","typeLabel":"string"},"param":{"type":"any","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.15.error.param","typeLabel":"any"},"moderation_details":{"properties":{"moderation_stage":{"type":"string","enum":["input","output","unknown"],"description":"The stage where moderation blocked the image generation call.","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.15.error.moderation_details.moderation_stage","typeLabel":"enum\u003cstring>"},"categories":{"items":{"type":"string","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.15.error.moderation_details.categories.items.[INDEX]","typeLabel":"string"},"type":"array","description":"Public moderation categories. New category values may be added over time.","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.15.error.moderation_details.categories","typeLabel":"string[]"}},"type":"object","required":["moderation_stage","categories"],"description":"Public details for a `moderation_blocked` error, when available.","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.15.error.moderation_details","typeLabel":"object"}},"type":"object","required":["code","type","message","param"],"description":"Details of a moderation failure, when available.","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.15.error","typeLabel":"object"},"size":{"type":"any","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.15.size","typeLabel":"any"},"quality":{"type":"any","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.15.quality","typeLabel":"any"},"action":{"type":"any","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.15.action","typeLabel":"any"},"background":{"type":"any","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.15.background","typeLabel":"any"},"output_format":{"type":"any","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.15.output_format","typeLabel":"any"},"svg_usage":{"properties":{"model":{"type":"string","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.15.svg_usage.model","typeLabel":"string"},"input_tokens":{"type":"integer","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.15.svg_usage.input_tokens","typeLabel":"integer"},"output_tokens":{"type":"integer","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.15.svg_usage.output_tokens","typeLabel":"integer"},"total_tokens":{"type":"integer","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.15.svg_usage.total_tokens","typeLabel":"integer"},"reasoning_tokens":{"type":"integer","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.15.svg_usage.reasoning_tokens","typeLabel":"integer"}},"type":"object","required":["model","input_tokens","output_tokens","total_tokens","reasoning_tokens"],"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.15.svg_usage","typeLabel":"object"},"revised_prompt":{"type":"any","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.15.revised_prompt","typeLabel":"any"}},"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.15","typeLabel":"Image generation call · object"},{"type":"object","title":"Code interpreter tool call","description":"A tool call to run code.\n","required":["type","id","status","container_id","code","outputs"],"properties":{"type":{"type":"string","enum":["code_interpreter_call"],"default":"code_interpreter_call","description":"The type of the code interpreter tool call. Always `code_interpreter_call`.\n","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.16.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the code interpreter tool call.\n","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.16.id","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","completed","incomplete","interpreting","failed"],"description":"The status of the code interpreter tool call. Valid values are `in_progress`, `completed`, `incomplete`, `interpreting`, and `failed`.\n","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.16.status","typeLabel":"enum\u003cstring>"},"container_id":{"type":"string","description":"The ID of the container used to run the code.\n","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.16.container_id","typeLabel":"string"},"code":{"type":"any","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.16.code","typeLabel":"any"},"outputs":{"type":"any","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.16.outputs","typeLabel":"any"}},"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.16","typeLabel":"Code interpreter tool call · object"},{"type":"object","title":"Local shell call","description":"A tool call to run a command on the local shell.\n","required":["type","id","call_id","action","status"],"properties":{"type":{"type":"string","enum":["local_shell_call"],"description":"The type of the local shell call. Always `local_shell_call`.\n","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.17.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the local shell call.\n","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.17.id","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the local shell tool call generated by the model.\n","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.17.call_id","typeLabel":"string"},"action":{"properties":{"type":{"type":"string","enum":["exec"],"description":"The type of the local shell action. Always `exec`.","default":"exec","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.17.action.type","typeLabel":"enum\u003cstring>"},"command":{"items":{"type":"string","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.17.action.command.items.[INDEX]","typeLabel":"string"},"type":"array","description":"The command to run.","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.17.action.command","typeLabel":"string[]"},"env":{"additionalProperties":{"type":"string","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.17.action.env.additionalProperties","typeLabel":"string"},"type":"object","description":"Environment variables to set for the command.","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.17.action.env","typeLabel":"object"},"timeout_ms":{"type":"any","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.17.action.timeout_ms","typeLabel":"any"},"working_directory":{"type":"any","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.17.action.working_directory","typeLabel":"any"},"user":{"type":"any","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.17.action.user","typeLabel":"any"}},"type":"object","required":["type","command","env"],"title":"Local shell exec action","description":"Execute a shell command on the server.","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.17.action","typeLabel":"Local shell exec action · object"},"status":{"type":"string","enum":["in_progress","completed","incomplete"],"description":"The status of the local shell call.\n","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.17.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.17","typeLabel":"Local shell call · object"},{"type":"object","title":"Local shell call output","description":"The output of a local shell tool call.\n","required":["id","type","call_id","output"],"properties":{"type":{"type":"string","enum":["local_shell_call_output"],"description":"The type of the local shell tool call output. Always `local_shell_call_output`.\n","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.18.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the local shell tool call generated by the model.\n","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.18.id","typeLabel":"string"},"output":{"type":"string","description":"A JSON string of the output of the local shell tool call.\n","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.18.output","typeLabel":"string"},"status":{"type":"any","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.18.status","typeLabel":"any"}},"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.18","typeLabel":"Local shell call output · object"},{"type":"object","title":"Shell tool call","description":"A tool representing a request to execute one or more shell commands.","required":["call_id","type","action"],"properties":{"call_id":{"type":"string","maxLength":64,"minLength":1,"description":"The unique ID of the shell tool call generated by the model.","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.19.call_id","typeLabel":"string"},"type":{"type":"string","enum":["shell_call"],"description":"The type of the item. Always `shell_call`.","default":"shell_call","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.19.type","typeLabel":"enum\u003cstring>"},"action":{"properties":{"commands":{"items":{"type":"string","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.19.action.commands.items.[INDEX]","typeLabel":"string"},"type":"array","description":"Ordered shell commands for the execution environment to run.","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.19.action.commands","typeLabel":"string[]"},"timeout_ms":{"type":"any","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.19.action.timeout_ms","typeLabel":"any"},"max_output_length":{"type":"any","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.19.action.max_output_length","typeLabel":"any"}},"type":"object","required":["commands"],"title":"Shell action","description":"The shell commands and limits that describe how to run the tool call.","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.19.action","typeLabel":"Shell action · object"},"id":{"type":"any","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.19.id","typeLabel":"any"},"caller":{"type":"any","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.19.caller","typeLabel":"any"},"status":{"type":"any","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.19.status","typeLabel":"any"},"environment":{"type":"any","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.19.environment","typeLabel":"any"}},"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.19","typeLabel":"Shell tool call · object"},{"type":"object","title":"Shell tool call output","description":"The streamed output items emitted by a shell tool call.","required":["call_id","type","output"],"properties":{"call_id":{"type":"string","maxLength":64,"minLength":1,"description":"The unique ID of the shell tool call generated by the model.","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.20.call_id","typeLabel":"string"},"type":{"type":"string","enum":["shell_call_output"],"description":"The type of the item. Always `shell_call_output`.","default":"shell_call_output","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.20.type","typeLabel":"enum\u003cstring>"},"output":{"items":{"properties":{"stdout":{"type":"string","maxLength":10485760,"description":"Captured stdout output for the shell call.","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.20.output.items.[INDEX].stdout","typeLabel":"string"},"stderr":{"type":"string","maxLength":10485760,"description":"Captured stderr output for the shell call.","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.20.output.items.[INDEX].stderr","typeLabel":"string"},"outcome":{"type":"any","title":"Shell call outcome","description":"The exit or timeout outcome associated with this shell call.","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.20.output.items.[INDEX].outcome","typeLabel":"any"}},"type":"object","required":["stdout","stderr","outcome"],"title":"Shell output content","description":"Captured stdout and stderr for a portion of a shell tool call output.","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.20.output.items.[INDEX]","typeLabel":"Shell output content · object"},"type":"array","description":"Captured chunks of stdout and stderr output, along with their associated outcomes.","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.20.output","typeLabel":"Shell output content · object[]"},"id":{"type":"any","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.20.id","typeLabel":"any"},"caller":{"type":"any","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.20.caller","typeLabel":"any"},"status":{"type":"any","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.20.status","typeLabel":"any"},"max_output_length":{"type":"any","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.20.max_output_length","typeLabel":"any"}},"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.20","typeLabel":"Shell tool call output · object"},{"type":"object","title":"Apply patch tool call","description":"A tool call representing a request to create, delete, or update files using diff patches.","required":["type","call_id","status","operation"],"properties":{"type":{"type":"string","enum":["apply_patch_call"],"description":"The type of the item. Always `apply_patch_call`.","default":"apply_patch_call","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.21.type","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","maxLength":64,"minLength":1,"description":"The unique ID of the apply patch tool call generated by the model.","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.21.call_id","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","completed"],"title":"Apply patch call status","description":"The status of the apply patch tool call. One of `in_progress` or `completed`.","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.21.status","typeLabel":"enum\u003cstring>"},"operation":{"type":"any","title":"Apply patch operation","description":"The specific create, delete, or update instruction for the apply_patch tool call.","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.21.operation","typeLabel":"any"},"id":{"type":"any","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.21.id","typeLabel":"any"},"caller":{"type":"any","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.21.caller","typeLabel":"any"}},"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.21","typeLabel":"Apply patch tool call · object"},{"type":"object","title":"Apply patch tool call output","description":"The streamed output emitted by an apply patch tool call.","required":["type","call_id","status"],"properties":{"type":{"type":"string","enum":["apply_patch_call_output"],"description":"The type of the item. Always `apply_patch_call_output`.","default":"apply_patch_call_output","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.22.type","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","maxLength":64,"minLength":1,"description":"The unique ID of the apply patch tool call generated by the model.","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.22.call_id","typeLabel":"string"},"status":{"type":"string","enum":["completed","failed"],"title":"Apply patch call output status","description":"The status of the apply patch tool call output. One of `completed` or `failed`.","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.22.status","typeLabel":"enum\u003cstring>"},"id":{"type":"any","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.22.id","typeLabel":"any"},"caller":{"type":"any","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.22.caller","typeLabel":"any"},"output":{"type":"any","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.22.output","typeLabel":"any"}},"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.22","typeLabel":"Apply patch tool call output · object"},{"type":"object","title":"MCP list tools","description":"A list of tools available on an MCP server.\n","required":["type","id","server_label","tools"],"properties":{"type":{"type":"string","const":"mcp_list_tools","description":"The type of the item. Always `mcp_list_tools`.\n","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.23.type","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the list.\n","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.23.id","typeLabel":"string"},"server_label":{"type":"string","description":"The label of the MCP server.\n","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.23.server_label","typeLabel":"string"},"tools":{"type":"array","items":{"type":"object","title":"MCP list tools tool","description":"A tool available on an MCP server.\n","properties":{"name":{"type":"string","description":"The name of the tool.\n","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.23.tools.items.[INDEX].name","typeLabel":"string"},"input_schema":{"type":"object","description":"The JSON schema describing the tool's input.\n","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.23.tools.items.[INDEX].input_schema","typeLabel":"object"},"description":{"type":"any","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.23.tools.items.[INDEX].description","typeLabel":"any"},"annotations":{"type":"any","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.23.tools.items.[INDEX].annotations","typeLabel":"any"}},"required":["name","input_schema"],"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.23.tools.items.[INDEX]","typeLabel":"MCP list tools tool · object"},"description":"The tools available on the server.\n","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.23.tools","typeLabel":"MCP list tools tool · object[]"},"error":{"type":"any","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.23.error","typeLabel":"any"}},"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.23","typeLabel":"MCP list tools · object"},{"type":"object","title":"MCP approval request","description":"A request for human approval of a tool invocation.\n","required":["type","id","server_label","name","arguments"],"properties":{"type":{"type":"string","const":"mcp_approval_request","description":"The type of the item. Always `mcp_approval_request`.\n","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.24.type","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the approval request.\n","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.24.id","typeLabel":"string"},"server_label":{"type":"string","description":"The label of the MCP server making the request.\n","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.24.server_label","typeLabel":"string"},"name":{"type":"string","description":"The name of the tool to run.\n","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.24.name","typeLabel":"string"},"arguments":{"type":"string","description":"A JSON string of arguments for the tool.\n","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.24.arguments","typeLabel":"string"}},"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.24","typeLabel":"MCP approval request · object"},{"type":"object","title":"MCP approval response","description":"A response to an MCP approval request.\n","required":["type","request_id","approve","approval_request_id"],"properties":{"type":{"type":"string","const":"mcp_approval_response","description":"The type of the item. Always `mcp_approval_response`.\n","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.25.type","typeLabel":"string"},"approval_request_id":{"type":"string","description":"The ID of the approval request being answered.\n","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.25.approval_request_id","typeLabel":"string"},"approve":{"type":"boolean","description":"Whether the request was approved.\n","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.25.approve","typeLabel":"boolean"},"id":{"type":"any","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.25.id","typeLabel":"any"},"reason":{"type":"any","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.25.reason","typeLabel":"any"}},"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.25","typeLabel":"MCP approval response · object"},{"type":"object","title":"MCP tool call","description":"An invocation of a tool on an MCP server.\n","required":["type","id","server_label","name","arguments"],"properties":{"type":{"type":"string","const":"mcp_call","description":"The type of the item. Always `mcp_call`.\n","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.26.type","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the tool call.\n","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.26.id","typeLabel":"string"},"server_label":{"type":"string","description":"The label of the MCP server running the tool.\n","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.26.server_label","typeLabel":"string"},"name":{"type":"string","description":"The name of the tool that was run.\n","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.26.name","typeLabel":"string"},"arguments":{"type":"string","description":"A JSON string of the arguments passed to the tool.\n","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.26.arguments","typeLabel":"string"},"output":{"type":"any","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.26.output","typeLabel":"any"},"error":{"type":"any","description":"The error from the tool call, if any.","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.26.error","typeLabel":"any"},"status":{"type":"string","enum":["in_progress","completed","incomplete","calling","failed"],"description":"The status of the tool call. One of `in_progress`, `completed`, `incomplete`, `calling`, or `failed`.\n","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.26.status","typeLabel":"enum\u003cstring>"},"approval_request_id":{"type":"any","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.26.approval_request_id","typeLabel":"any"}},"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.26","typeLabel":"MCP tool call · object"},{"type":"object","title":"Custom tool call output","description":"The output of a custom tool call from your code, being sent back to the model.\n","required":["type","call_id","output"],"properties":{"type":{"type":"string","enum":["custom_tool_call_output"],"description":"The type of the custom tool call output. Always `custom_tool_call_output`.\n","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.27.type","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","description":"The call ID, used to map this custom tool call output to a custom tool call.\n","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.27.call_id","typeLabel":"string"},"output":{"type":"any","description":"The output from the custom tool call generated by your code.\nCan be a string or an list of output content.\n","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.27.output","typeLabel":"any"},"id":{"type":"string","description":"The unique ID of the custom tool call output in the OpenAI platform.\n","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.27.id","typeLabel":"string"},"caller":{"type":"any","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.27.caller","typeLabel":"any"}},"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.27","typeLabel":"Custom tool call output · object"},{"type":"object","title":"Custom tool call","description":"A call to a custom tool created by the model.\n","required":["type","call_id","name","input"],"properties":{"type":{"type":"string","enum":["custom_tool_call"],"description":"The type of the custom tool call. Always `custom_tool_call`.\n","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.28.type","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","description":"An identifier used to map this custom tool call to a tool call output.\n","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.28.call_id","typeLabel":"string"},"name":{"type":"string","description":"The name of the custom tool being called.\n","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.28.name","typeLabel":"string"},"input":{"type":"string","description":"The input for the custom tool call generated by the model.\n","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.28.input","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the custom tool call in the OpenAI platform.\n","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.28.id","typeLabel":"string"},"caller":{"type":"any","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.28.caller","typeLabel":"any"},"namespace":{"type":"string","description":"The namespace of the custom tool being called.\n","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.28.namespace","typeLabel":"string"},"async":{"type":"boolean","description":"Whether the custom tool call runs asynchronously.\n","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.28.async","typeLabel":"boolean"}},"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.28","typeLabel":"Custom tool call · object"},{"type":"object","title":"Compaction trigger","description":"Compacts the current context. Must be the final input item.","required":["type"],"properties":{"type":{"type":"string","enum":["compaction_trigger"],"description":"The type of the item. Always `compaction_trigger`.","default":"compaction_trigger","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.29.type","typeLabel":"enum\u003cstring>"},"id":{"oneOf":[{"type":"string","description":"The unique ID of this compaction trigger.","example":"msg_123","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.29.id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.29.id.oneOf.1","typeLabel":"null"}],"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.29.id","typeLabel":"string | null"}},"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.29","typeLabel":"Compaction trigger · object"},{"type":"object","title":"Item reference","description":"An internal identifier for an item to reference.","required":["id"],"properties":{"id":{"type":"string","description":"The ID of the item to reference.","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.30.id","typeLabel":"string"},"type":{"oneOf":[{"type":"string","description":"The type of item to reference. Always `item_reference`.","default":"item_reference","enum":["item_reference"],"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.30.type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.30.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.30.type","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.30","typeLabel":"Item reference · object"},{"type":"object","required":["id","type","call_id","code","fingerprint"],"properties":{"id":{"type":"string","description":"The unique ID of this program item.","example":"cm_123","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.31.id","typeLabel":"string"},"type":{"type":"string","enum":["program"],"description":"The item type. Always `program`.","default":"program","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.31.type","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","maxLength":64,"minLength":1,"description":"The stable call ID of the program item.","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.31.call_id","typeLabel":"string"},"code":{"type":"string","maxLength":10485760,"description":"The JavaScript source executed by programmatic tool calling.","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.31.code","typeLabel":"string"},"fingerprint":{"type":"string","maxLength":10485760,"description":"Opaque program replay fingerprint that must be round-tripped.","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.31.fingerprint","typeLabel":"string"}},"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.31","typeLabel":"object"},{"type":"object","required":["id","type","call_id","result","status"],"properties":{"id":{"type":"string","description":"The unique ID of this program output item.","example":"cmo_123","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.32.id","typeLabel":"string"},"type":{"type":"string","enum":["program_output"],"description":"The item type. Always `program_output`.","default":"program_output","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.32.type","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","maxLength":64,"minLength":1,"description":"The call ID of the program item.","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.32.call_id","typeLabel":"string"},"result":{"type":"string","maxLength":10485760,"description":"The result produced by the program item.","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.32.result","typeLabel":"string"},"status":{"type":"string","enum":["completed","incomplete"],"description":"The terminal status of the program output.","isRequired":true,"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.32.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"input.oneOf.1.items.[INDEX].oneOf.32","typeLabel":"object"}],"uniqueKey":"input.oneOf.1.items.[INDEX]","typeLabel":"Input message · object · Input message · object · Output message · object · File search tool call · object · Computer tool call · object · Computer tool call output · object · Web search tool call · object · Function tool call · object · Function tool call output · object · Item · object · Item · object · Item · object · Item · object · Reasoning · object · Compaction item · object · Image generation call · object · Code interpreter tool call · object · Local shell call · object · Local shell call output · object · Shell tool call · object · Shell tool call output · object · Apply patch tool call · object · Apply patch tool call output · object · MCP list tools · object · MCP approval request · object · MCP approval response · object · MCP tool call · object · Custom tool call output · object · Custom tool call · object · Compaction trigger · object · Item reference · object · object · object"},"title":"Input item list","description":"Text, image, or file inputs to the model, used to generate a response.\n\nLearn more:\n- [Text inputs and outputs](https://developers.openai.com/api/docs/guides/text)\n- [Image inputs](https://developers.openai.com/api/docs/guides/images-vision)\n- [File inputs](https://developers.openai.com/api/docs/guides/file-inputs)\n- [Conversation state](https://developers.openai.com/api/docs/guides/conversation-state)\n- [Function calling](https://developers.openai.com/api/docs/guides/function-calling)\n","uniqueKey":"input.oneOf.1","typeLabel":"Input message · object · Input message · object · Output message · object · File search tool call · object · Computer tool call · object · Computer tool call output · object · Web search tool call · object · Function tool call · object · Function tool call output · object · Item · object · Item · object · Item · object · Item · object · Reasoning · object · Compaction item · object · Image generation call · object · Code interpreter tool call · object · Local shell call · object · Local shell call output · object · Shell tool call · object · Shell tool call output · object · Apply patch tool call · object · Apply patch tool call output · object · MCP list tools · object · MCP approval request · object · MCP approval response · object · MCP tool call · object · Custom tool call output · object · Custom tool call · object · Compaction trigger · object · Item reference · object · object · object[]"}],"uniqueKey":"input","typeLabel":"string | Input message · object · Input message · object · Output message · object · File search tool call · object · Computer tool call · object · Computer tool call output · object · Web search tool call · object · Function tool call · object · Function tool call output · object · Item · object · Item · object · Item · object · Item · object · Reasoning · object · Compaction item · object · Image generation call · object · Code interpreter tool call · object · Local shell call · object · Local shell call output · object · Shell tool call · object · Shell tool call output · object · Apply patch tool call · object · Apply patch tool call output · object · MCP list tools · object · MCP approval request · object · MCP approval response · object · MCP tool call · object · Custom tool call output · object · Custom tool call · object · Compaction trigger · object · Item reference · object · object · object[]"},"include":{"oneOf":[{"type":"array","items":{"type":"string","enum":["file_search_call.results","web_search_call.results","web_search_call.action.sources","message.input_image.image_url","computer_call_output.output.image_url","code_interpreter_call.outputs","reasoning.encrypted_content","message.output_text.logprobs"],"description":"Specify additional output data to include in the model response. Currently supported values are:\n- `web_search_call.results`: Include the search results of the web search tool call.\n- `web_search_call.action.sources`: Include the sources of the web search tool call.\n- `code_interpreter_call.outputs`: Includes the outputs of python code execution in code interpreter tool call items.\n- `computer_call_output.output.image_url`: Include image urls from the computer call output.\n- `file_search_call.results`: Include the search results of the file search tool call.\n- `message.input_image.image_url`: Include image urls from the input message.\n- `message.output_text.logprobs`: Include logprobs with assistant messages.\n- `reasoning.encrypted_content`: Includes an encrypted version of reasoning tokens in reasoning item outputs. This enables reasoning items to be used in multi-turn conversations when using the Responses API statelessly (like when the `store` parameter is set to `false`, or when an organization is enrolled in the zero data retention program).","uniqueKey":"include.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"Specify additional output data to include in the model response. Currently supported values are:\n- `web_search_call.action.sources`: Include the sources of the web search tool call.\n- `code_interpreter_call.outputs`: Includes the outputs of python code execution in code interpreter tool call items.\n- `computer_call_output.output.image_url`: Include image urls from the computer call output.\n- `file_search_call.results`: Include the search results of the file search tool call.\n- `message.input_image.image_url`: Include image urls from the input message.\n- `message.output_text.logprobs`: Include logprobs with assistant messages.\n- `reasoning.encrypted_content`: Includes an encrypted version of reasoning tokens in reasoning item outputs. This enables reasoning items to be used in multi-turn conversations when using the Responses API statelessly (like when the `store` parameter is set to `false`, or when an organization is enrolled in the zero data retention program).","uniqueKey":"include.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"null","uniqueKey":"include.oneOf.1","typeLabel":"null"}],"uniqueKey":"include","typeLabel":"enum\u003cstring>[] | null"},"parallel_tool_calls":{"oneOf":[{"type":"boolean","description":"Whether to allow the model to run tool calls in parallel.\n","default":true,"uniqueKey":"parallel_tool_calls.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"parallel_tool_calls.oneOf.1","typeLabel":"null"}],"uniqueKey":"parallel_tool_calls","typeLabel":"boolean | null"},"store":{"oneOf":[{"type":"boolean","description":"Whether to store the generated model response for later retrieval via\nAPI.\nDefaults to true when omitted.\nIf set to true, response data will be stored for at least 30 days, subject to the [data retention exceptions](https://developers.openai.com/api/docs/guides/your-data#v1responses).\n","default":true,"uniqueKey":"store.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"store.oneOf.1","typeLabel":"null"}],"uniqueKey":"store","typeLabel":"boolean | null"},"instructions":{"oneOf":[{"type":"string","description":"A system (or developer) message inserted into the model's context.\n\nWhen using along with `previous_response_id`, the instructions from a previous\nresponse will not be carried over to the next response. This makes it simple\nto swap out system (or developer) messages in new responses.\n","uniqueKey":"instructions.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"instructions.oneOf.1","typeLabel":"null"}],"uniqueKey":"instructions","typeLabel":"string | null"},"moderation":{"oneOf":[{"type":"object","description":"Configuration for running moderation on the input and output of this response.\n","required":["model"],"properties":{"model":{"type":"string","description":"The moderation model to use for moderated completions, e.g. 'omni-moderation-latest'.","isRequired":true,"uniqueKey":"moderation.oneOf.0.model","typeLabel":"string"},"policy":{"oneOf":[{"type":"object","description":"The policy to apply to moderated response input and output.","required":[],"properties":{"input":{"oneOf":[{"type":"object","description":"The moderation policy for the response input.","required":["mode"],"properties":{"mode":{"type":"string","enum":["score","block"],"isRequired":true,"uniqueKey":"moderation.oneOf.0.policy.oneOf.0.input.oneOf.0.mode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"moderation.oneOf.0.policy.oneOf.0.input.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"moderation.oneOf.0.policy.oneOf.0.input.oneOf.1","typeLabel":"null"}],"uniqueKey":"moderation.oneOf.0.policy.oneOf.0.input","typeLabel":"object | null"},"output":{"oneOf":[{"type":"object","description":"The moderation policy for the response output.","required":["mode"],"properties":{"mode":{"type":"string","enum":["score","block"],"isRequired":true,"uniqueKey":"moderation.oneOf.0.policy.oneOf.0.output.oneOf.0.mode","typeLabel":"enum\u003cstring>"}},"uniqueKey":"moderation.oneOf.0.policy.oneOf.0.output.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"moderation.oneOf.0.policy.oneOf.0.output.oneOf.1","typeLabel":"null"}],"uniqueKey":"moderation.oneOf.0.policy.oneOf.0.output","typeLabel":"object | null"}},"uniqueKey":"moderation.oneOf.0.policy.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"moderation.oneOf.0.policy.oneOf.1","typeLabel":"null"}],"uniqueKey":"moderation.oneOf.0.policy","typeLabel":"object | null"}},"uniqueKey":"moderation.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"moderation.oneOf.1","typeLabel":"null"}],"uniqueKey":"moderation","typeLabel":"object | null"},"stream":{"oneOf":[{"type":"boolean","description":"If set to true, the model response data will be streamed to the client\nas it is generated using [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format).\nSee the [Streaming section below](https://developers.openai.com/api/reference/resources/responses/streaming-events)\nfor more information.\n","default":false,"uniqueKey":"stream.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"stream.oneOf.1","typeLabel":"null"}],"uniqueKey":"stream","typeLabel":"boolean | null"},"stream_options":{"oneOf":[{"type":"object","description":"Options for streaming responses. Only set this when you set `stream: true`.\n","properties":{"include_obfuscation":{"type":"boolean","description":"When true, stream obfuscation will be enabled. Stream obfuscation adds\nrandom characters to an `obfuscation` field on streaming delta events to\nnormalize payload sizes as a mitigation to certain side-channel attacks.\nThese obfuscation fields are included by default, but add a small amount\nof overhead to the data stream. You can set `include_obfuscation` to\nfalse to optimize for bandwidth if you trust the network links between\nyour application and the OpenAI API.\n","uniqueKey":"stream_options.oneOf.0.include_obfuscation","typeLabel":"boolean"}},"uniqueKey":"stream_options.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"stream_options.oneOf.1","typeLabel":"null"}],"uniqueKey":"stream_options","typeLabel":"object | null"},"conversation":{"oneOf":[{"type":"string","title":"Conversation ID","description":"The conversation that this response belongs to. Items from this conversation are prepended to `input_items` for this response request.\nInput items and output items from this response are automatically added to this conversation after this response completes.\n","uniqueKey":"conversation.oneOf.0","typeLabel":"string"},{"type":"object","title":"Conversation object","description":"The conversation that this response belongs to. Items from this conversation are prepended to `input_items` for this response request.\nInput items and output items from this response are automatically added to this conversation after this response completes.\n","required":["id"],"properties":{"id":{"type":"string","description":"The unique ID of the conversation.","example":"conv_123","isRequired":true,"uniqueKey":"conversation.oneOf.1.id","typeLabel":"string"}},"uniqueKey":"conversation.oneOf.1","typeLabel":"Conversation object · object"},{"type":"null","uniqueKey":"conversation.oneOf.2","typeLabel":"null"}],"uniqueKey":"conversation","typeLabel":"string | Conversation object · object | null"},"context_management":{"oneOf":[{"type":"array","items":{"properties":{"type":{"type":"string","description":"The context management entry type. Currently only 'compaction' is supported.","isRequired":true,"uniqueKey":"context_management.oneOf.0.items.[INDEX].type","typeLabel":"string"},"compact_threshold":{"oneOf":[{"type":"integer","description":"Token threshold at which compaction should be triggered for this entry.","minimum":1000,"uniqueKey":"context_management.oneOf.0.items.[INDEX].compact_threshold.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"context_management.oneOf.0.items.[INDEX].compact_threshold.oneOf.1","typeLabel":"null"}],"uniqueKey":"context_management.oneOf.0.items.[INDEX].compact_threshold","typeLabel":"integer | null"}},"type":"object","required":["type"],"uniqueKey":"context_management.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"Context management configuration for this request.\n","minItems":1,"example":[{"type":"compaction","compact_threshold":1000}],"uniqueKey":"context_management.oneOf.0","typeLabel":"object[]"},{"type":"null","uniqueKey":"context_management.oneOf.1","typeLabel":"null"}],"uniqueKey":"context_management","typeLabel":"object[] | null"},"max_output_tokens":{"oneOf":[{"type":"integer","description":"An upper bound for the number of tokens that can be generated for a response, including visible output tokens and [reasoning tokens](https://developers.openai.com/api/docs/guides/reasoning).\n","minimum":16,"uniqueKey":"max_output_tokens.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"max_output_tokens.oneOf.1","typeLabel":"null"}],"uniqueKey":"max_output_tokens","typeLabel":"integer | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Basic request":{"title":"Basic request","summary":"Basic request","description":"`input` can be a plain string.","value":{"model":"gpt-6.2-sol","input":"Explain quantum computing in three sentences."}},"Instructions and multi-turn input":{"title":"Instructions and multi-turn input","summary":"Instructions and multi-turn input","description":"`instructions` is the system prompt; pass `input` as a message array to include earlier turns.","value":{"model":"gpt-6.2-sol","instructions":"You are a concise, professional assistant.","input":[{"role":"user","content":"Suggest a name for a coffee shop."},{"role":"assistant","content":"How about \"Morning Light Coffee\"?"},{"role":"user","content":"Now add a tagline for that name."}]}},"Streaming":{"title":"Streaming","summary":"Streaming","description":"With `stream: true` the API returns typed SSE events such as `response.output_text.delta`, ending with `response.completed`.","value":{"model":"gpt-6.2-sol","stream":true,"input":"Write a four-line poem about autumn."}},"Reasoning effort":{"title":"Reasoning effort","summary":"Reasoning effort","description":"`reasoning.effort` controls how deeply the model thinks.","value":{"model":"gpt-6.2-astra","reasoning":{"effort":"high"},"input":"Prove that among any five integers there are three whose sum is divisible by 3."}},"Image input":{"title":"Image input","summary":"Image input","description":"Use an `input_image` content item with an image URL or a Base64 data URL.","value":{"model":"gpt-6.1-terra","input":[{"role":"user","content":[{"type":"input_text","text":"What is in this image?"},{"type":"input_image","image_url":"https://your-cdn.example.com/photo.jpg"}]}]}},"Function calling":{"title":"Function calling","summary":"Function calling","description":"The model returns a `function_call` item in `output` when it needs outside data; send the result back as a `function_call_output` item.","value":{"model":"gpt-6.2-sol","input":"What's the weather like in Hangzhou today?","tools":[{"type":"function","name":"get_weather","description":"Get the current weather for a city","parameters":{"type":"object","properties":{"city":{"type":"string","description":"City name, e.g. Hangzhou"},"unit":{"type":"string","enum":["celsius","fahrenheit"]}},"required":["city"]}}]}},"Structured output":{"title":"Structured output","summary":"Structured output","description":"`text.format` makes the model answer in a JSON Schema.","value":{"model":"gpt-6.2-sol","input":"Extract the contact from this sentence: I'm Li Lei from Galaxy Tech, lilei@example.com.","text":{"format":{"type":"json_schema","name":"contact","strict":true,"schema":{"type":"object","properties":{"name":{"type":"string"},"company":{"type":"string"},"email":{"type":"string"}},"required":["name","company","email"],"additionalProperties":false}}}}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"ddf63c72-f4a5-4191-88b5-6e97672d931b":{"description":"A Response object for a non-streaming request; with `stream: true`, server-sent events (`text/event-stream`), each a `ResponseStreamEvent`.","content":{"application/json":{"schema":{"type":"object","title":"The response object","required":["access_programs","id","object","created_at","error","incomplete_details","instructions","model","tools","output","parallel_tool_calls","metadata","tool_choice","temperature","top_p"],"example":{"id":"resp_67ccd3a9da748190baa7f1570fe91ac604becb25c45c1d41","object":"response","access_programs":null,"created_at":1741476777,"status":"completed","completed_at":1741476778,"error":null,"incomplete_details":null,"instructions":null,"max_output_tokens":null,"model":"gpt-6.2-astra","output":[{"type":"message","id":"msg_67ccd3acc8d48190a77525dc6de64b4104becb25c45c1d41","status":"completed","role":"assistant","content":[{"type":"output_text","text":"The image depicts a scenic landscape with a wooden boardwalk or pathway leading through lush, green grass under a blue sky with some clouds. The setting suggests a peaceful natural area, possibly a park or nature reserve. There are trees and shrubs in the background.","annotations":[],"logprobs":[]}]}],"parallel_tool_calls":true,"previous_response_id":null,"reasoning":{"effort":null,"summary":null,"context":null},"temperature":1,"text":{"format":{"type":"text"}},"tool_choice":"auto","tools":[],"top_p":1,"truncation":"disabled","usage":{"input_tokens":328,"input_tokens_details":{"cached_tokens":0,"cache_write_tokens":0},"output_tokens":52,"output_tokens_details":{"reasoning_tokens":0},"total_tokens":380},"tool_usage":{"image_gen":{"input_tokens":0,"input_tokens_details":{"text_tokens":0,"image_tokens":0},"output_tokens":0,"output_tokens_details":{"text_tokens":0,"image_tokens":0},"total_tokens":0},"web_search":{"num_requests":0}},"user":null,"metadata":{}},"properties":{"metadata":{"oneOf":[{"type":"object","description":"Set of 16 key-value pairs that can be attached to an object. This can be\nuseful for storing additional information about the object in a structured\nformat, and querying for objects via API or the dashboard.\n\nKeys are strings with a maximum length of 64 characters. Values are strings\nwith a maximum length of 512 characters.\n","additionalProperties":{"type":"string","uniqueKey":"metadata.oneOf.0.additionalProperties","typeLabel":"string"},"isRequired":true,"uniqueKey":"metadata.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"metadata.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"metadata","typeLabel":"object | null"},"temperature":{"oneOf":[{"type":"number","description":"What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.\nWe generally recommend altering this or `top_p` but not both.\n","default":1,"maximum":2,"minimum":0,"example":1,"isRequired":true,"uniqueKey":"temperature.oneOf.0","typeLabel":"number"},{"type":"null","isRequired":true,"uniqueKey":"temperature.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"temperature","typeLabel":"number | null"},"top_p":{"oneOf":[{"type":"number","description":"An alternative to sampling with temperature, called nucleus sampling,\nwhere the model considers the results of the tokens with top_p probability\nmass. So 0.1 means only the tokens comprising the top 10% probability mass\nare considered.\n\nWe generally recommend altering this or `temperature` but not both.\n","default":1,"maximum":1,"minimum":0,"example":1,"isRequired":true,"uniqueKey":"top_p.oneOf.0","typeLabel":"number"},{"type":"null","isRequired":true,"uniqueKey":"top_p.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"top_p","typeLabel":"number | null"},"model":{"type":"string","description":"ID of the model to use, for example `gpt-6.2-sol`. See [Models](/en/llm/openai-responses) for the available models.","example":"gpt-6.2-sol","isRequired":true,"uniqueKey":"model","typeLabel":"string"},"tools":{"type":"array","description":"An array of tools the model may call while generating a response. You\ncan specify which tool to use by setting the `tool_choice` parameter.\n\nWe support the following categories of tools:\n- **Built-in tools**: Tools that are provided by OpenAI that extend the\n model's capabilities, like [web search](https://developers.openai.com/api/docs/guides/tools-web-search)\n or [file search](https://developers.openai.com/api/docs/guides/tools-file-search). Learn more about\n [built-in tools](https://developers.openai.com/api/docs/guides/tools).\n- **MCP Tools**: Integrations with third-party systems via custom MCP servers\n or predefined connectors such as Google Drive and SharePoint. Learn more about\n [MCP Tools](https://developers.openai.com/api/docs/guides/tools-connectors-mcp).\n- **Function calls (custom tools)**: Functions that are defined by you,\n enabling the model to call your own code with strongly typed arguments\n and outputs. Learn more about\n [function calling](https://developers.openai.com/api/docs/guides/function-calling). You can also use\n custom tools to call your own code.\n","items":{"oneOf":[{"type":"object","title":"Function","description":"A tool that can be used to generate a response.\n","required":["type","name","strict","parameters"],"properties":{"type":{"type":"string","enum":["function"],"description":"The type of the function tool. Always `function`.","default":"function","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"The name of the function to call.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.0.name","typeLabel":"string"},"parameters":{"oneOf":[{"type":"object","description":"A JSON schema object describing the parameters of the function.","additionalProperties":{"oneOf":[{}],"uniqueKey":"tools.items.[INDEX].oneOf.0.parameters.oneOf.0.additionalProperties","typeLabel":"any"},"isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.0.parameters.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.0.parameters.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.0.parameters","typeLabel":"object | null"},"strict":{"oneOf":[{"type":"boolean","description":"Whether strict parameter validation is enforced for this function tool.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.0.strict.oneOf.0","typeLabel":"boolean"},{"type":"null","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.0.strict.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.0.strict","typeLabel":"boolean | null"},"async":{"type":"boolean","uniqueKey":"tools.items.[INDEX].oneOf.0.async","typeLabel":"boolean"},"description":{"oneOf":[{"type":"string","description":"A description of the function. Used by the model to determine whether or not to call the function.","uniqueKey":"tools.items.[INDEX].oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.0.description","typeLabel":"string | null"},"output_schema":{"oneOf":[{"type":"object","description":"A JSON schema object describing the JSON value encoded in string outputs for this function.","additionalProperties":{"oneOf":[{}],"uniqueKey":"tools.items.[INDEX].oneOf.0.output_schema.oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"tools.items.[INDEX].oneOf.0.output_schema.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.0.output_schema.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.0.output_schema","typeLabel":"object | null"},"defer_loading":{"type":"boolean","description":"Whether this function is deferred and loaded via tool search.","uniqueKey":"tools.items.[INDEX].oneOf.0.defer_loading","typeLabel":"boolean"},"allowed_callers":{"oneOf":[{"type":"array","items":{"type":"string","enum":["direct","programmatic"],"uniqueKey":"tools.items.[INDEX].oneOf.0.allowed_callers.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"The tool invocation context(s).","uniqueKey":"tools.items.[INDEX].oneOf.0.allowed_callers.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.0.allowed_callers.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.0.allowed_callers","typeLabel":"enum\u003cstring>[] | null"}},"uniqueKey":"tools.items.[INDEX].oneOf.0","typeLabel":"Function · object"},{"type":"object","title":"File search","description":"A tool that can be used to generate a response.\n","required":["type","vector_store_ids"],"properties":{"type":{"type":"string","enum":["file_search"],"description":"The type of the file search tool. Always `file_search`.","default":"file_search","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"vector_store_ids":{"items":{"type":"string","uniqueKey":"tools.items.[INDEX].oneOf.1.vector_store_ids.items.[INDEX]","typeLabel":"string"},"type":"array","description":"The IDs of the vector stores to search.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.1.vector_store_ids","typeLabel":"string[]"},"max_num_results":{"type":"integer","description":"The maximum number of results to return. This number should be between 1 and 50 inclusive.","uniqueKey":"tools.items.[INDEX].oneOf.1.max_num_results","typeLabel":"integer"},"ranking_options":{"properties":{"ranker":{"type":"string","enum":["auto","default-2024-11-15"],"description":"The ranker to use for the file search.","uniqueKey":"tools.items.[INDEX].oneOf.1.ranking_options.ranker","typeLabel":"enum\u003cstring>"},"score_threshold":{"type":"number","description":"The score threshold for the file search, a number between 0 and 1. Numbers closer to 1 will attempt to return only the most relevant results, but may return fewer results.","uniqueKey":"tools.items.[INDEX].oneOf.1.ranking_options.score_threshold","typeLabel":"number"},"hybrid_search":{"properties":{"embedding_weight":{"type":"number","description":"The weight of the embedding in the reciprocal ranking fusion.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.1.ranking_options.hybrid_search.embedding_weight","typeLabel":"number"},"text_weight":{"type":"number","description":"The weight of the text in the reciprocal ranking fusion.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.1.ranking_options.hybrid_search.text_weight","typeLabel":"number"}},"type":"object","required":["embedding_weight","text_weight"],"description":"Weights that control how reciprocal rank fusion balances semantic embedding matches versus sparse keyword matches when hybrid search is enabled.","uniqueKey":"tools.items.[INDEX].oneOf.1.ranking_options.hybrid_search","typeLabel":"object"}},"type":"object","required":[],"description":"Ranking options for search.","uniqueKey":"tools.items.[INDEX].oneOf.1.ranking_options","typeLabel":"object"},"filters":{"oneOf":[{"type":"object","title":"Comparison Filter","description":"A filter to apply.","required":["type","key","value"],"properties":{"type":{"type":"string","default":"eq","enum":["eq","ne","gt","gte","lt","lte","in","nin"],"description":"Specifies the comparison operator: `eq`, `ne`, `gt`, `gte`, `lt`, `lte`, `in`, `nin`.\n- `eq`: equals\n- `ne`: not equal\n- `gt`: greater than\n- `gte`: greater than or equal\n- `lt`: less than\n- `lte`: less than or equal\n- `in`: in\n- `nin`: not in\n","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.1.filters.oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"The key to compare against the value.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.1.filters.oneOf.0.key","typeLabel":"string"},"value":{"oneOf":[{"type":"string","description":"The value to compare against the attribute key; supports string, number, or boolean types.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.1.filters.oneOf.0.value.oneOf.0","typeLabel":"string"},{"type":"number","description":"The value to compare against the attribute key; supports string, number, or boolean types.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.1.filters.oneOf.0.value.oneOf.1","typeLabel":"number"},{"type":"boolean","description":"The value to compare against the attribute key; supports string, number, or boolean types.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.1.filters.oneOf.0.value.oneOf.2","typeLabel":"boolean"},{"type":"array","items":{"oneOf":[{"type":"string","uniqueKey":"tools.items.[INDEX].oneOf.1.filters.oneOf.0.value.oneOf.3.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"tools.items.[INDEX].oneOf.1.filters.oneOf.0.value.oneOf.3.items.[INDEX].oneOf.1","typeLabel":"number"}],"uniqueKey":"tools.items.[INDEX].oneOf.1.filters.oneOf.0.value.oneOf.3.items.[INDEX]","typeLabel":"string | number"},"description":"The value to compare against the attribute key; supports string, number, or boolean types.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.1.filters.oneOf.0.value.oneOf.3","typeLabel":"(string | number)[]"}],"isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.1.filters.oneOf.0.value","typeLabel":"string | number | boolean | (string | number)[]"}},"additionalProperties":false,"uniqueKey":"tools.items.[INDEX].oneOf.1.filters.oneOf.0","typeLabel":"Comparison Filter · object"},{"type":"object","title":"Compound Filter","description":"A filter to apply.","required":["type","filters"],"properties":{"type":{"type":"string","description":"Type of operation: `and` or `or`.","enum":["and","or"],"isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.1.filters.oneOf.1.type","typeLabel":"enum\u003cstring>"},"filters":{"type":"array","description":"Array of filters to combine. Items can be `ComparisonFilter` or `CompoundFilter`.","items":{"oneOf":[{"type":"object","title":"Comparison Filter","description":"A filter used to compare a specified attribute key to a given value using a defined comparison operation.\n","required":["type","key","value"],"properties":{"type":{"type":"string","default":"eq","enum":["eq","ne","gt","gte","lt","lte","in","nin"],"description":"Specifies the comparison operator: `eq`, `ne`, `gt`, `gte`, `lt`, `lte`, `in`, `nin`.\n- `eq`: equals\n- `ne`: not equal\n- `gt`: greater than\n- `gte`: greater than or equal\n- `lt`: less than\n- `lte`: less than or equal\n- `in`: in\n- `nin`: not in\n","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.1.filters.oneOf.1.filters.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"key":{"type":"string","description":"The key to compare against the value.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.1.filters.oneOf.1.filters.items.[INDEX].oneOf.0.key","typeLabel":"string"},"value":{"oneOf":[{"type":"string","description":"The value to compare against the attribute key; supports string, number, or boolean types.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.1.filters.oneOf.1.filters.items.[INDEX].oneOf.0.value.oneOf.0","typeLabel":"string"},{"type":"number","description":"The value to compare against the attribute key; supports string, number, or boolean types.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.1.filters.oneOf.1.filters.items.[INDEX].oneOf.0.value.oneOf.1","typeLabel":"number"},{"type":"boolean","description":"The value to compare against the attribute key; supports string, number, or boolean types.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.1.filters.oneOf.1.filters.items.[INDEX].oneOf.0.value.oneOf.2","typeLabel":"boolean"},{"type":"array","items":{"type":"any","uniqueKey":"tools.items.[INDEX].oneOf.1.filters.oneOf.1.filters.items.[INDEX].oneOf.0.value.oneOf.3.items.[INDEX]","typeLabel":"any"},"description":"The value to compare against the attribute key; supports string, number, or boolean types.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.1.filters.oneOf.1.filters.items.[INDEX].oneOf.0.value.oneOf.3","typeLabel":"any[]"}],"isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.1.filters.oneOf.1.filters.items.[INDEX].oneOf.0.value","typeLabel":"string | number | boolean | any[]"}},"additionalProperties":false,"uniqueKey":"tools.items.[INDEX].oneOf.1.filters.oneOf.1.filters.items.[INDEX].oneOf.0","typeLabel":"Comparison Filter · object"},{}],"uniqueKey":"tools.items.[INDEX].oneOf.1.filters.oneOf.1.filters.items.[INDEX]","typeLabel":"Comparison Filter · object"},"isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.1.filters.oneOf.1.filters","typeLabel":"Comparison Filter · object[]"}},"additionalProperties":false,"uniqueKey":"tools.items.[INDEX].oneOf.1.filters.oneOf.1","typeLabel":"Compound Filter · object"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.1.filters.oneOf.2","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.1.filters","typeLabel":"Comparison Filter · object | Compound Filter · object | null"}},"uniqueKey":"tools.items.[INDEX].oneOf.1","typeLabel":"File search · object"},{"type":"object","title":"Computer","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["computer"],"description":"The type of the computer tool. Always `computer`.","default":"computer","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"tools.items.[INDEX].oneOf.2","typeLabel":"Computer · object"},{"type":"object","title":"Computer use preview","description":"A tool that can be used to generate a response.\n","required":["type","environment","display_width","display_height"],"properties":{"type":{"type":"string","enum":["computer_use_preview"],"description":"The type of the computer use tool. Always `computer_use_preview`.","default":"computer_use_preview","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"environment":{"type":"string","enum":["windows","mac","linux","ubuntu","browser"],"description":"The type of computer environment to control.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.3.environment","typeLabel":"enum\u003cstring>"},"display_width":{"type":"integer","description":"The width of the computer display.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.3.display_width","typeLabel":"integer"},"display_height":{"type":"integer","description":"The height of the computer display.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.3.display_height","typeLabel":"integer"}},"uniqueKey":"tools.items.[INDEX].oneOf.3","typeLabel":"Computer use preview · object"},{"type":"object","title":"Web search","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["web_search","web_search_2025_08_26"],"description":"The type of the web search tool. One of `web_search` or `web_search_2025_08_26`.","default":"web_search","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.4.type","typeLabel":"enum\u003cstring>"},"external_web_access":{"type":"boolean","default":true,"description":"Allow live internet access for web search. Defaults to true when omitted. When false, the web search tool runs in offline/cache-only mode and will not fetch new external content.","uniqueKey":"tools.items.[INDEX].oneOf.4.external_web_access","typeLabel":"boolean"},"filters":{"oneOf":[{"type":"object","description":"Filters for the search.\n","properties":{"allowed_domains":{"oneOf":[{"type":"array","items":{"type":"string","description":"Allowed domain for the search.","uniqueKey":"tools.items.[INDEX].oneOf.4.filters.oneOf.0.allowed_domains.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Allowed domains for the search.","description":"Allowed domains for the search. If not provided, all domains are allowed.\nSubdomains of the provided domains are allowed as well.\n\nExample: `[\"pubmed.ncbi.nlm.nih.gov\"]`\n","default":[],"uniqueKey":"tools.items.[INDEX].oneOf.4.filters.oneOf.0.allowed_domains.oneOf.0","typeLabel":"string[]"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.4.filters.oneOf.0.allowed_domains.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.4.filters.oneOf.0.allowed_domains","typeLabel":"string[] | null"}},"uniqueKey":"tools.items.[INDEX].oneOf.4.filters.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.4.filters.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.4.filters","typeLabel":"object | null"},"user_location":{"oneOf":[{"type":"object","title":"Web search approximate location","description":"The approximate location of the user. If omitted or null, defaults to the\nUnited States. To avoid this fallback, pass `{\"type\": \"approximate\"}` without\nlocation fields. To localize results, provide the relevant location fields.\n","properties":{"type":{"type":"string","const":"approximate","description":"The type of location approximation. Always `approximate`.","default":"approximate","uniqueKey":"tools.items.[INDEX].oneOf.4.user_location.oneOf.0.type","typeLabel":"string"},"country":{"oneOf":[{"type":"string","description":"The two-letter [ISO country code](https://en.wikipedia.org/wiki/ISO_3166-1) of the user, e.g. `US`.","uniqueKey":"tools.items.[INDEX].oneOf.4.user_location.oneOf.0.country.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.4.user_location.oneOf.0.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.4.user_location.oneOf.0.country","typeLabel":"string | null"},"region":{"oneOf":[{"type":"string","description":"Free text input for the region of the user, e.g. `California`.","uniqueKey":"tools.items.[INDEX].oneOf.4.user_location.oneOf.0.region.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.4.user_location.oneOf.0.region.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.4.user_location.oneOf.0.region","typeLabel":"string | null"},"city":{"oneOf":[{"type":"string","description":"Free text input for the city of the user, e.g. `San Francisco`.","uniqueKey":"tools.items.[INDEX].oneOf.4.user_location.oneOf.0.city.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.4.user_location.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.4.user_location.oneOf.0.city","typeLabel":"string | null"},"timezone":{"oneOf":[{"type":"string","description":"The [IANA timezone](https://timeapi.io/documentation/iana-timezones) of the user, e.g. `America/Los_Angeles`.","uniqueKey":"tools.items.[INDEX].oneOf.4.user_location.oneOf.0.timezone.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.4.user_location.oneOf.0.timezone.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.4.user_location.oneOf.0.timezone","typeLabel":"string | null"}},"uniqueKey":"tools.items.[INDEX].oneOf.4.user_location.oneOf.0","typeLabel":"Web search approximate location · object"},{"type":"null","description":"The approximate location of the user. If omitted or null, defaults to the\nUnited States. To avoid this fallback, pass `{\"type\": \"approximate\"}` without\nlocation fields. To localize results, provide the relevant location fields.\n","uniqueKey":"tools.items.[INDEX].oneOf.4.user_location.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.4.user_location","typeLabel":"Web search approximate location · object | null"},"search_context_size":{"type":"string","enum":["low","medium","high"],"default":"medium","description":"High level guidance for the amount of context window space to use for the search. One of `low`, `medium`, or `high`. `medium` is the default.","uniqueKey":"tools.items.[INDEX].oneOf.4.search_context_size","typeLabel":"enum\u003cstring>"}},"uniqueKey":"tools.items.[INDEX].oneOf.4","typeLabel":"Web search · object"},{"type":"object","title":"MCP tool","description":"A tool that can be used to generate a response.\n","required":["type","server_label"],"properties":{"type":{"type":"string","const":"mcp","description":"The type of the MCP tool. Always `mcp`.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.5.type","typeLabel":"string"},"server_label":{"type":"string","description":"A label for this MCP server, used to identify it in tool calls.\n","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.5.server_label","typeLabel":"string"},"server_url":{"type":"string","format":"uri","description":"The URL for the MCP server. One of `server_url`, `connector_id`, or\n`tunnel_id` must be provided.\n","uniqueKey":"tools.items.[INDEX].oneOf.5.server_url","typeLabel":"string\u003curi>"},"connector_id":{"type":"string","deprecated":true,"enum":["connector_dropbox","connector_gmail","connector_googlecalendar","connector_googledrive","connector_microsoftteams","connector_outlookcalendar","connector_outlookemail","connector_sharepoint"],"description":"Identifier for service connectors, like those available in ChatGPT. One of\n`server_url`, `connector_id`, or `tunnel_id` must be provided. Learn more\nabout service connectors [here](https://developers.openai.com/api/docs/guides/tools-connectors-mcp#connectors).\n\nThis field is deprecated for models released after September 1, 2026.\nUse `server_url` to connect to a remote MCP server, or `tunnel_id` to\nconnect through a Secure MCP Tunnel.\n\nCurrently supported `connector_id` values are:\n\n- Dropbox: `connector_dropbox`\n- Gmail: `connector_gmail`\n- Google Calendar: `connector_googlecalendar`\n- Google Drive: `connector_googledrive`\n- Microsoft Teams: `connector_microsoftteams`\n- Outlook Calendar: `connector_outlookcalendar`\n- Outlook Email: `connector_outlookemail`\n- SharePoint: `connector_sharepoint`\n","uniqueKey":"tools.items.[INDEX].oneOf.5.connector_id","typeLabel":"enum\u003cstring>"},"tunnel_id":{"type":"string","pattern":"^tunnel_[a-z0-9]{32}$","description":"The Secure MCP Tunnel ID to use instead of a direct server URL. One of\n`server_url`, `connector_id`, or `tunnel_id` must be provided.\n","uniqueKey":"tools.items.[INDEX].oneOf.5.tunnel_id","typeLabel":"string"},"authorization":{"type":"string","description":"An OAuth access token that can be used with a remote MCP server, either\nwith a custom MCP server URL or a service connector. Your application\nmust handle the OAuth authorization flow and provide the token here.\n","uniqueKey":"tools.items.[INDEX].oneOf.5.authorization","typeLabel":"string"},"server_description":{"type":"string","description":"Optional description of the MCP server, used to provide more context.\n","uniqueKey":"tools.items.[INDEX].oneOf.5.server_description","typeLabel":"string"},"headers":{"oneOf":[{"type":"object","description":"Optional HTTP headers to send to the MCP server. Use for authentication\nor other purposes.\n","additionalProperties":{"type":"string","uniqueKey":"tools.items.[INDEX].oneOf.5.headers.oneOf.0.additionalProperties","typeLabel":"string"},"uniqueKey":"tools.items.[INDEX].oneOf.5.headers.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.5.headers.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.5.headers","typeLabel":"object | null"},"allowed_tools":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"tools.items.[INDEX].oneOf.5.allowed_tools.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"MCP allowed tools","description":"List of allowed tool names or a filter object.\n","uniqueKey":"tools.items.[INDEX].oneOf.5.allowed_tools.oneOf.0","typeLabel":"string[]"},{"type":"object","title":"MCP tool filter","description":"List of allowed tool names or a filter object.\n","required":[],"properties":{"tool_names":{"type":"array","title":"MCP allowed tools","items":{"type":"string","uniqueKey":"tools.items.[INDEX].oneOf.5.allowed_tools.oneOf.1.tool_names.items.[INDEX]","typeLabel":"string"},"description":"List of allowed tool names.","uniqueKey":"tools.items.[INDEX].oneOf.5.allowed_tools.oneOf.1.tool_names","typeLabel":"string[]"},"read_only":{"type":"boolean","description":"Indicates whether or not a tool modifies data or is read-only. If an\nMCP server is [annotated with `readOnlyHint`](https://modelcontextprotocol.io/specification/2025-06-18/schema#toolannotations-readonlyhint),\nit will match this filter.\n","uniqueKey":"tools.items.[INDEX].oneOf.5.allowed_tools.oneOf.1.read_only","typeLabel":"boolean"}},"additionalProperties":false,"uniqueKey":"tools.items.[INDEX].oneOf.5.allowed_tools.oneOf.1","typeLabel":"MCP tool filter · object"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.5.allowed_tools.oneOf.2","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.5.allowed_tools","typeLabel":"string[] | MCP tool filter · object | null"},"allowed_callers":{"oneOf":[{"type":"array","items":{"type":"string","enum":["direct","programmatic"],"uniqueKey":"tools.items.[INDEX].oneOf.5.allowed_callers.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"The tool invocation context(s).","minItems":1,"uniqueKey":"tools.items.[INDEX].oneOf.5.allowed_callers.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.5.allowed_callers.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.5.allowed_callers","typeLabel":"enum\u003cstring>[] | null"},"require_approval":{"oneOf":[{"type":"object","title":"MCP tool approval filter","description":"Specify which of the MCP server's tools require approval.","default":"always","properties":{"always":{"type":"object","title":"MCP tool filter","description":"A filter object to specify which tools are allowed.\n","properties":{"tool_names":{"type":"array","title":"MCP allowed tools","items":{"type":"string","uniqueKey":"tools.items.[INDEX].oneOf.5.require_approval.oneOf.0.always.tool_names.items.[INDEX]","typeLabel":"string"},"description":"List of allowed tool names.","uniqueKey":"tools.items.[INDEX].oneOf.5.require_approval.oneOf.0.always.tool_names","typeLabel":"string[]"},"read_only":{"type":"boolean","description":"Indicates whether or not a tool modifies data or is read-only. If an\nMCP server is [annotated with `readOnlyHint`](https://modelcontextprotocol.io/specification/2025-06-18/schema#toolannotations-readonlyhint),\nit will match this filter.\n","uniqueKey":"tools.items.[INDEX].oneOf.5.require_approval.oneOf.0.always.read_only","typeLabel":"boolean"}},"required":[],"additionalProperties":false,"uniqueKey":"tools.items.[INDEX].oneOf.5.require_approval.oneOf.0.always","typeLabel":"MCP tool filter · object"},"never":{"type":"object","title":"MCP tool filter","description":"A filter object to specify which tools are allowed.\n","properties":{"tool_names":{"type":"array","title":"MCP allowed tools","items":{"type":"string","uniqueKey":"tools.items.[INDEX].oneOf.5.require_approval.oneOf.0.never.tool_names.items.[INDEX]","typeLabel":"string"},"description":"List of allowed tool names.","uniqueKey":"tools.items.[INDEX].oneOf.5.require_approval.oneOf.0.never.tool_names","typeLabel":"string[]"},"read_only":{"type":"boolean","description":"Indicates whether or not a tool modifies data or is read-only. If an\nMCP server is [annotated with `readOnlyHint`](https://modelcontextprotocol.io/specification/2025-06-18/schema#toolannotations-readonlyhint),\nit will match this filter.\n","uniqueKey":"tools.items.[INDEX].oneOf.5.require_approval.oneOf.0.never.read_only","typeLabel":"boolean"}},"required":[],"additionalProperties":false,"uniqueKey":"tools.items.[INDEX].oneOf.5.require_approval.oneOf.0.never","typeLabel":"MCP tool filter · object"}},"additionalProperties":false,"uniqueKey":"tools.items.[INDEX].oneOf.5.require_approval.oneOf.0","typeLabel":"MCP tool approval filter · object"},{"type":"string","title":"MCP tool approval setting","description":"Specify which of the MCP server's tools require approval.","default":"always","enum":["always","never"],"uniqueKey":"tools.items.[INDEX].oneOf.5.require_approval.oneOf.1","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.5.require_approval.oneOf.2","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.5.require_approval","typeLabel":"MCP tool approval filter · object | enum\u003cstring> | null"},"defer_loading":{"type":"boolean","description":"Whether this MCP tool is deferred and discovered via tool search.\n","uniqueKey":"tools.items.[INDEX].oneOf.5.defer_loading","typeLabel":"boolean"}},"uniqueKey":"tools.items.[INDEX].oneOf.5","typeLabel":"MCP tool · object"},{"type":"object","title":"Code interpreter","description":"A tool that can be used to generate a response.\n","required":["type","container"],"properties":{"type":{"type":"string","enum":["code_interpreter"],"description":"The type of the code interpreter tool. Always `code_interpreter`.\n","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.6.type","typeLabel":"enum\u003cstring>"},"container":{"oneOf":[{"type":"string","description":"The code interpreter container. Can be a container ID or an object that\nspecifies uploaded file IDs to make available to your code, along with an\noptional `memory_limit` setting.\n","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.6.container.oneOf.0","typeLabel":"string"},{"type":"object","title":"CodeInterpreterToolAuto","description":"The code interpreter container. Can be a container ID or an object that\nspecifies uploaded file IDs to make available to your code, along with an\noptional `memory_limit` setting.\n","required":["type"],"properties":{"type":{"type":"string","enum":["auto"],"description":"Always `auto`.","default":"auto","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.6.container.oneOf.1.type","typeLabel":"enum\u003cstring>"},"file_ids":{"items":{"type":"string","example":"file-123","uniqueKey":"tools.items.[INDEX].oneOf.6.container.oneOf.1.file_ids.items.[INDEX]","typeLabel":"string"},"type":"array","maxItems":50,"description":"An optional list of uploaded files to make available to your code.","uniqueKey":"tools.items.[INDEX].oneOf.6.container.oneOf.1.file_ids","typeLabel":"string[]"},"memory_limit":{"oneOf":[{"type":"string","description":"The memory limit for the code interpreter container.","enum":["1g","4g","16g","64g"],"uniqueKey":"tools.items.[INDEX].oneOf.6.container.oneOf.1.memory_limit.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.6.container.oneOf.1.memory_limit.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.6.container.oneOf.1.memory_limit","typeLabel":"enum\u003cstring> | null"},"network_policy":{"oneOf":[{"type":"object","description":"Network access policy for the container.","required":["type"],"properties":{"type":{"type":"string","enum":["disabled"],"description":"Disable outbound network access. Always `disabled`.","default":"disabled","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.6.container.oneOf.1.network_policy.oneOf.0.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"tools.items.[INDEX].oneOf.6.container.oneOf.1.network_policy.oneOf.0","typeLabel":"object"},{"type":"object","description":"Network access policy for the container.","required":["type","allowed_domains"],"properties":{"type":{"type":"string","enum":["allowlist"],"description":"Allow outbound network access only to specified domains. Always `allowlist`.","default":"allowlist","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.6.container.oneOf.1.network_policy.oneOf.1.type","typeLabel":"enum\u003cstring>"},"allowed_domains":{"items":{"type":"string","uniqueKey":"tools.items.[INDEX].oneOf.6.container.oneOf.1.network_policy.oneOf.1.allowed_domains.items.[INDEX]","typeLabel":"string"},"type":"array","minItems":1,"description":"A list of allowed domains when type is `allowlist`.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.6.container.oneOf.1.network_policy.oneOf.1.allowed_domains","typeLabel":"string[]"},"domain_secrets":{"items":{"properties":{"domain":{"type":"string","minLength":1,"description":"The domain associated with the secret.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.6.container.oneOf.1.network_policy.oneOf.1.domain_secrets.items.[INDEX].domain","typeLabel":"string"},"name":{"type":"string","minLength":1,"description":"The name of the secret to inject for the domain.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.6.container.oneOf.1.network_policy.oneOf.1.domain_secrets.items.[INDEX].name","typeLabel":"string"},"value":{"type":"string","maxLength":10485760,"minLength":1,"description":"The secret value to inject for the domain.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.6.container.oneOf.1.network_policy.oneOf.1.domain_secrets.items.[INDEX].value","typeLabel":"string"}},"type":"object","required":["domain","name","value"],"uniqueKey":"tools.items.[INDEX].oneOf.6.container.oneOf.1.network_policy.oneOf.1.domain_secrets.items.[INDEX]","typeLabel":"object"},"type":"array","minItems":1,"description":"Optional domain-scoped secrets for allowlisted domains.","uniqueKey":"tools.items.[INDEX].oneOf.6.container.oneOf.1.network_policy.oneOf.1.domain_secrets","typeLabel":"object[]"}},"uniqueKey":"tools.items.[INDEX].oneOf.6.container.oneOf.1.network_policy.oneOf.1","typeLabel":"object"}],"uniqueKey":"tools.items.[INDEX].oneOf.6.container.oneOf.1.network_policy","typeLabel":"object"}},"isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.6.container.oneOf.1","typeLabel":"CodeInterpreterToolAuto · object"}],"isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.6.container","typeLabel":"string | CodeInterpreterToolAuto · object"},"allowed_callers":{"oneOf":[{"type":"array","items":{"type":"string","enum":["direct","programmatic"],"uniqueKey":"tools.items.[INDEX].oneOf.6.allowed_callers.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"The tool invocation context(s).","minItems":1,"uniqueKey":"tools.items.[INDEX].oneOf.6.allowed_callers.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.6.allowed_callers.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.6.allowed_callers","typeLabel":"enum\u003cstring>[] | null"}},"uniqueKey":"tools.items.[INDEX].oneOf.6","typeLabel":"Code interpreter · object"},{"type":"object","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["programmatic_tool_calling"],"description":"The type of the tool. Always `programmatic_tool_calling`.","default":"programmatic_tool_calling","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.7.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"tools.items.[INDEX].oneOf.7","typeLabel":"object"},{"type":"object","title":"Image generation tool","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["image_generation"],"description":"The type of the image generation tool. Always `image_generation`.\n","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.8.type","typeLabel":"enum\u003cstring>"},"model":{"oneOf":[{"type":"string","uniqueKey":"tools.items.[INDEX].oneOf.8.model.oneOf.0","typeLabel":"string"},{"type":"string","description":"The image generation model to use. One of `gpt-image-1-mini`,\n`gpt-image-1.5`, `gpt-image-2`,\n`gpt-image-2-2026-04-21`, `gpt-image-2.5-sunburst`,\n`gpt-image-2.5-sunburst-2026-09-08`, `gpt-image-2.5-flare`,\n`gpt-image-2.5-flare-2026-09-08`, `gpt-image-2.6-sunburst`,\n`gpt-image-2.6-flare`, or `chatgpt-image-latest`. Default:\n`gpt-image-2.6-sunburst`.\n\n`gpt-image-1` was shut down on October 23, 2026. Use\n`gpt-image-2.5-sunburst` or `gpt-image-2.5-flare` instead.\n","default":"gpt-image-2.6-sunburst","enum":["gpt-image-1","gpt-image-1-mini","gpt-image-2","gpt-image-2-2026-04-21","gpt-image-2.5-sunburst","gpt-image-2.5-sunburst-2026-09-08","gpt-image-2.5-flare","gpt-image-2.5-flare-2026-09-08","gpt-image-2.6-sunburst","gpt-image-2.6-flare","gpt-image-1.5","chatgpt-image-latest"],"uniqueKey":"tools.items.[INDEX].oneOf.8.model.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"tools.items.[INDEX].oneOf.8.model","typeLabel":"string | enum\u003cstring>"},"complexity":{"type":"string","enum":["low","medium","high"],"description":"Computation spent planning the image, independently of rendering quality.\nOverrides the outer response's `reasoning.effort` for image generation.\nWhen omitted, inherits a supported outer reasoning effort or uses the\nimage model's configured default.\nFor SVG output, controls the reference image, not the SVG author's\nreasoning.\n","uniqueKey":"tools.items.[INDEX].oneOf.8.complexity","typeLabel":"enum\u003cstring>"},"quality":{"type":"string","enum":["low","medium","high","xhigh","max","auto"],"description":"The quality of the generated image. The GPT image models support `low`,\n`medium`, and `high`. `gpt-image-2.5-sunburst` and `gpt-image-2.5-flare`,\nincluding their `2026-09-08` snapshots, also support `xhigh` and `max`.\nDefault: `auto`.\n","default":"auto","uniqueKey":"tools.items.[INDEX].oneOf.8.quality","typeLabel":"enum\u003cstring>"},"size":{"oneOf":[{"type":"string","description":"The size of the generated images. For `gpt-image-2`, `gpt-image-2-2026-04-21`, `gpt-image-2.5-sunburst`, `gpt-image-2.5-sunburst-2026-09-08`, `gpt-image-2.5-flare`, and `gpt-image-2.5-flare-2026-09-08`, arbitrary resolutions are supported as `WIDTHxHEIGHT` strings, for example `1536x864`. Width and height must both be divisible by 16 and the requested aspect ratio must be between 1:3 and 3:1. Resolutions above `2560x1440` are experimental, and the maximum supported resolution is `3840x2160`. The requested size must also satisfy the model's current pixel and edge limits. The standard sizes `1024x1024`, `1536x1024`, and `1024x1536` are supported by the GPT image models; `auto` is supported for models that allow automatic sizing.","default":"auto","uniqueKey":"tools.items.[INDEX].oneOf.8.size.oneOf.0","typeLabel":"string"},{"type":"string","description":"The size of the generated images. For `gpt-image-2`, `gpt-image-2-2026-04-21`, `gpt-image-2.5-sunburst`, `gpt-image-2.5-sunburst-2026-09-08`, `gpt-image-2.5-flare`, and `gpt-image-2.5-flare-2026-09-08`, arbitrary resolutions are supported as `WIDTHxHEIGHT` strings, for example `1536x864`. Width and height must both be divisible by 16 and the requested aspect ratio must be between 1:3 and 3:1. Resolutions above `2560x1440` are experimental, and the maximum supported resolution is `3840x2160`. The requested size must also satisfy the model's current pixel and edge limits. The standard sizes `1024x1024`, `1536x1024`, and `1024x1536` are supported by the GPT image models; `auto` is supported for models that allow automatic sizing.","default":"auto","enum":["1024x1024","1024x1536","1536x1024","auto"],"uniqueKey":"tools.items.[INDEX].oneOf.8.size.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"tools.items.[INDEX].oneOf.8.size","typeLabel":"string | enum\u003cstring>"},"output_format":{"type":"string","enum":["png","webp","jpeg","gif","svg"],"description":"The output format of the generated image. One of `png`, `webp`, `jpeg`,\n`gif`, or `svg`. Default: `png`. GIF and SVG output require a model\nthat supports the selected format. GIF output does not support\npartial image streaming (`partial_images` greater than `0`),\n`input_image_mask`, or custom `output_compression`.\nResponses lifecycle events can still be streamed for GIF output.\n","default":"png","uniqueKey":"tools.items.[INDEX].oneOf.8.output_format","typeLabel":"enum\u003cstring>"},"frame_count":{"type":"integer","minimum":2,"maximum":16,"default":9,"description":"Number of GIF frames. Requires `output_format` to be `gif`. Default: 9.\n","uniqueKey":"tools.items.[INDEX].oneOf.8.frame_count","typeLabel":"integer"},"frame_duration_ms":{"type":"integer","minimum":20,"maximum":2000,"default":200,"description":"Duration of each GIF frame in milliseconds, rounded to 10 ms.\nRequires `output_format` to be `gif`. Default: 200.\n","uniqueKey":"tools.items.[INDEX].oneOf.8.frame_duration_ms","typeLabel":"integer"},"svg":{"properties":{"model":{"type":"string","minLength":1,"uniqueKey":"tools.items.[INDEX].oneOf.8.svg.model","typeLabel":"string"},"reasoning":{"oneOf":[{"type":"object","description":"Reasoning effort for SVG authoring. When omitted, uses the author model's default in both Images and Responses.","required":[],"properties":{"effort":{"type":"string","description":"Controls how much effort the model should spend on reasoning for this request.","enum":["none","minimal","low","medium","high","xhigh","max"],"uniqueKey":"tools.items.[INDEX].oneOf.8.svg.reasoning.oneOf.0.effort","typeLabel":"enum\u003cstring>"}},"uniqueKey":"tools.items.[INDEX].oneOf.8.svg.reasoning.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.8.svg.reasoning.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.8.svg.reasoning","typeLabel":"object | null"}},"type":"object","required":[],"description":"SVG author model settings. Requires `output_format` to be `svg`.\nWhen SVG model selection is enabled, omitting this object uses the\nouter response model. Otherwise, the default SVG author is used and\nexplicit model overrides are unavailable.\n","uniqueKey":"tools.items.[INDEX].oneOf.8.svg","typeLabel":"object"},"output_compression":{"type":"integer","minimum":0,"maximum":100,"description":"Compression level for the output image. Default: 100.\n","default":100,"uniqueKey":"tools.items.[INDEX].oneOf.8.output_compression","typeLabel":"integer"},"moderation":{"type":"string","enum":["auto","low"],"description":"Moderation level for the generated image. Default: `auto`.\n","default":"auto","uniqueKey":"tools.items.[INDEX].oneOf.8.moderation","typeLabel":"enum\u003cstring>"},"background":{"type":"string","enum":["transparent","opaque","auto"],"description":"Set the background of the generated image. One of `transparent`, `opaque`,\nor `auto`. `gpt-image-2.5-sunburst` and `gpt-image-2.5-flare`, including\ntheir `2026-09-08` snapshots, support `opaque` and `transparent`\nbackgrounds. Transparent backgrounds are available for supported GPT Image\nmodels. For `gpt-image-2` and `gpt-image-2-2026-04-21`, this support is in\npreview. When using `transparent`, set the output format to `png` or `webp`.\nDefault: `auto`.\n","default":"auto","uniqueKey":"tools.items.[INDEX].oneOf.8.background","typeLabel":"enum\u003cstring>"},"input_fidelity":{"oneOf":[{"type":"string","description":"Control how much effort the model will exert to match the style and features, especially facial features, of input images. Supports `high` and `low` on `gpt-image-1.5`; `gpt-image-1-mini` supports only `low`. For `gpt-image-2`, omit this parameter. Defaults to `low` on supported models.","enum":["high","low"],"uniqueKey":"tools.items.[INDEX].oneOf.8.input_fidelity.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.8.input_fidelity.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.8.input_fidelity","typeLabel":"enum\u003cstring> | null"},"input_image_mask":{"type":"object","description":"Optional mask for inpainting. Contains `image_url`\n(string, optional) and `file_id` (string, optional).\n","properties":{"image_url":{"type":"string","description":"Base64-encoded mask image.\n","uniqueKey":"tools.items.[INDEX].oneOf.8.input_image_mask.image_url","typeLabel":"string"},"file_id":{"type":"string","description":"File ID for the mask image.\n","uniqueKey":"tools.items.[INDEX].oneOf.8.input_image_mask.file_id","typeLabel":"string"}},"required":[],"additionalProperties":false,"uniqueKey":"tools.items.[INDEX].oneOf.8.input_image_mask","typeLabel":"object"},"partial_images":{"type":"integer","minimum":0,"maximum":3,"description":"Number of partial images to generate in streaming mode, from 0 (default value) to 3.\n","default":0,"uniqueKey":"tools.items.[INDEX].oneOf.8.partial_images","typeLabel":"integer"},"action":{"type":"string","enum":["generate","edit","auto"],"description":"Whether to generate a new image or edit an existing image. Default: `auto`.\n","uniqueKey":"tools.items.[INDEX].oneOf.8.action","typeLabel":"enum\u003cstring>"}},"uniqueKey":"tools.items.[INDEX].oneOf.8","typeLabel":"Image generation tool · object"},{"type":"object","title":"Local shell tool","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["local_shell"],"description":"The type of the local shell tool. Always `local_shell`.","default":"local_shell","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.9.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"tools.items.[INDEX].oneOf.9","typeLabel":"Local shell tool · object"},{"type":"object","title":"Shell tool","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["shell"],"description":"The type of the shell tool. Always `shell`.","default":"shell","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.10.type","typeLabel":"enum\u003cstring>"},"environment":{"oneOf":[{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["container_auto"],"description":"Automatically creates a container for this request","default":"container_auto","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0.type","typeLabel":"enum\u003cstring>"},"file_ids":{"items":{"type":"string","example":"file-123","uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0.file_ids.items.[INDEX]","typeLabel":"string"},"type":"array","maxItems":50,"description":"An optional list of uploaded files to make available to your code.","uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0.file_ids","typeLabel":"string[]"},"memory_limit":{"oneOf":[{"type":"string","description":"The memory limit for the container.","enum":["1g","4g","16g","64g"],"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0.memory_limit.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0.memory_limit.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0.memory_limit","typeLabel":"enum\u003cstring> | null"},"network_policy":{"oneOf":[{"type":"object","description":"Network access policy for the container.","required":["type"],"properties":{"type":{"type":"string","enum":["disabled"],"description":"Disable outbound network access. Always `disabled`.","default":"disabled","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0.network_policy.oneOf.0.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0.network_policy.oneOf.0","typeLabel":"object"},{"type":"object","description":"Network access policy for the container.","required":["type","allowed_domains"],"properties":{"type":{"type":"string","enum":["allowlist"],"description":"Allow outbound network access only to specified domains. Always `allowlist`.","default":"allowlist","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0.network_policy.oneOf.1.type","typeLabel":"enum\u003cstring>"},"allowed_domains":{"items":{"type":"string","uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0.network_policy.oneOf.1.allowed_domains.items.[INDEX]","typeLabel":"string"},"type":"array","minItems":1,"description":"A list of allowed domains when type is `allowlist`.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0.network_policy.oneOf.1.allowed_domains","typeLabel":"string[]"},"domain_secrets":{"items":{"properties":{"domain":{"type":"string","minLength":1,"description":"The domain associated with the secret.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0.network_policy.oneOf.1.domain_secrets.items.[INDEX].domain","typeLabel":"string"},"name":{"type":"string","minLength":1,"description":"The name of the secret to inject for the domain.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0.network_policy.oneOf.1.domain_secrets.items.[INDEX].name","typeLabel":"string"},"value":{"type":"string","maxLength":10485760,"minLength":1,"description":"The secret value to inject for the domain.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0.network_policy.oneOf.1.domain_secrets.items.[INDEX].value","typeLabel":"string"}},"type":"object","required":["domain","name","value"],"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0.network_policy.oneOf.1.domain_secrets.items.[INDEX]","typeLabel":"object"},"type":"array","minItems":1,"description":"Optional domain-scoped secrets for allowlisted domains.","uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0.network_policy.oneOf.1.domain_secrets","typeLabel":"object[]"}},"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0.network_policy.oneOf.1","typeLabel":"object"}],"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0.network_policy","typeLabel":"object"},"skills":{"items":{"oneOf":[{"type":"object","required":["type","skill_id"],"properties":{"type":{"type":"string","enum":["skill_reference"],"description":"References a skill created with the /v1/skills endpoint.","default":"skill_reference","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0.skills.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"skill_id":{"type":"string","maxLength":64,"minLength":1,"description":"The ID of the referenced skill.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0.skills.items.[INDEX].oneOf.0.skill_id","typeLabel":"string"},"version":{"type":"string","description":"Optional skill version. Use a positive integer or 'latest'. Omit for default.","uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0.skills.items.[INDEX].oneOf.0.version","typeLabel":"string"}},"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0.skills.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","required":["type","name","description","source"],"properties":{"type":{"type":"string","enum":["inline"],"description":"Defines an inline skill for this request.","default":"inline","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0.skills.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"The name of the skill.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0.skills.items.[INDEX].oneOf.1.name","typeLabel":"string"},"description":{"type":"string","description":"The description of the skill.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0.skills.items.[INDEX].oneOf.1.description","typeLabel":"string"},"source":{"properties":{"type":{"type":"string","enum":["base64"],"description":"The type of the inline skill source. Must be `base64`.","default":"base64","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0.skills.items.[INDEX].oneOf.1.source.type","typeLabel":"enum\u003cstring>"},"media_type":{"type":"string","enum":["application/zip"],"description":"The media type of the inline skill payload. Must be `application/zip`.","default":"application/zip","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0.skills.items.[INDEX].oneOf.1.source.media_type","typeLabel":"enum\u003cstring>"},"data":{"type":"string","maxLength":70254592,"minLength":1,"description":"Base64-encoded skill zip bundle.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0.skills.items.[INDEX].oneOf.1.source.data","typeLabel":"string"}},"type":"object","required":["type","media_type","data"],"description":"Inline skill payload","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0.skills.items.[INDEX].oneOf.1.source","typeLabel":"object"}},"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0.skills.items.[INDEX].oneOf.1","typeLabel":"object"}],"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0.skills.items.[INDEX]","typeLabel":"object"},"type":"array","maxItems":200,"description":"An optional list of skills referenced by id or inline data.","uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0.skills","typeLabel":"object[]"}},"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.0","typeLabel":"object"},{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["local"],"description":"Use a local computer environment.","default":"local","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.1.type","typeLabel":"enum\u003cstring>"},"skills":{"items":{"properties":{"name":{"type":"string","description":"The name of the skill.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.1.skills.items.[INDEX].name","typeLabel":"string"},"description":{"type":"string","description":"The description of the skill.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.1.skills.items.[INDEX].description","typeLabel":"string"},"path":{"type":"string","description":"The path to the directory containing the skill.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.1.skills.items.[INDEX].path","typeLabel":"string"}},"type":"object","required":["name","description","path"],"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.1.skills.items.[INDEX]","typeLabel":"object"},"type":"array","maxItems":200,"description":"An optional list of skills.","uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.1.skills","typeLabel":"object[]"}},"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.1","typeLabel":"object"},{"type":"object","required":["type","container_id"],"properties":{"type":{"type":"string","enum":["container_reference"],"description":"References a container created with the /v1/containers endpoint","default":"container_reference","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.2.type","typeLabel":"enum\u003cstring>"},"container_id":{"type":"string","description":"The ID of the referenced container.","example":"cntr_123","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.2.container_id","typeLabel":"string"}},"uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.2","typeLabel":"object"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.10.environment.oneOf.3","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.10.environment","typeLabel":"object · object · object · null"},"allowed_callers":{"oneOf":[{"type":"array","items":{"type":"string","enum":["direct","programmatic"],"uniqueKey":"tools.items.[INDEX].oneOf.10.allowed_callers.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"The tool invocation context(s).","minItems":1,"uniqueKey":"tools.items.[INDEX].oneOf.10.allowed_callers.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.10.allowed_callers.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.10.allowed_callers","typeLabel":"enum\u003cstring>[] | null"}},"uniqueKey":"tools.items.[INDEX].oneOf.10","typeLabel":"Shell tool · object"},{"type":"object","title":"Custom tool","description":"A tool that can be used to generate a response.\n","required":["type","name"],"properties":{"type":{"type":"string","enum":["custom"],"description":"The type of the custom tool. Always `custom`.","default":"custom","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.11.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"The name of the custom tool, used to identify it in tool calls.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.11.name","typeLabel":"string"},"async":{"type":"boolean","description":"Whether the tool response can be returned asynchronously versus immediately returned on next response creation.","uniqueKey":"tools.items.[INDEX].oneOf.11.async","typeLabel":"boolean"},"description":{"type":"string","description":"Optional description of the custom tool, used to provide more context.","uniqueKey":"tools.items.[INDEX].oneOf.11.description","typeLabel":"string"},"format":{"oneOf":[{"type":"object","title":"Text format","description":"The input format for the custom tool. Default is unconstrained text.","required":["type"],"properties":{"type":{"type":"string","enum":["text"],"description":"Unconstrained text format. Always `text`.","default":"text","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.11.format.oneOf.0.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"tools.items.[INDEX].oneOf.11.format.oneOf.0","typeLabel":"Text format · object"},{"type":"object","title":"Grammar format","description":"The input format for the custom tool. Default is unconstrained text.","required":["type","syntax","definition"],"properties":{"type":{"type":"string","enum":["grammar"],"description":"Grammar format. Always `grammar`.","default":"grammar","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.11.format.oneOf.1.type","typeLabel":"enum\u003cstring>"},"syntax":{"type":"string","enum":["lark","regex"],"description":"The syntax of the grammar definition. One of `lark` or `regex`.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.11.format.oneOf.1.syntax","typeLabel":"enum\u003cstring>"},"definition":{"type":"string","description":"The grammar definition.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.11.format.oneOf.1.definition","typeLabel":"string"}},"uniqueKey":"tools.items.[INDEX].oneOf.11.format.oneOf.1","typeLabel":"Grammar format · object"}],"uniqueKey":"tools.items.[INDEX].oneOf.11.format","typeLabel":"Text format · object | Grammar format · object"},"defer_loading":{"type":"boolean","description":"Whether this tool should be deferred and discovered via tool search.","uniqueKey":"tools.items.[INDEX].oneOf.11.defer_loading","typeLabel":"boolean"},"allowed_callers":{"oneOf":[{"type":"array","items":{"type":"string","enum":["direct","programmatic"],"uniqueKey":"tools.items.[INDEX].oneOf.11.allowed_callers.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"The tool invocation context(s).","minItems":1,"uniqueKey":"tools.items.[INDEX].oneOf.11.allowed_callers.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.11.allowed_callers.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.11.allowed_callers","typeLabel":"enum\u003cstring>[] | null"}},"uniqueKey":"tools.items.[INDEX].oneOf.11","typeLabel":"Custom tool · object"},{"type":"object","title":"Namespace","description":"A tool that can be used to generate a response.\n","required":["type","name","description","tools"],"properties":{"type":{"type":"string","enum":["namespace"],"description":"The type of the tool. Always `namespace`.","default":"namespace","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.12.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","minLength":1,"description":"The namespace name used in tool calls (for example, `crm`).","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.12.name","typeLabel":"string"},"description":{"type":"string","description":"A description of the namespace shown to the model.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.12.description","typeLabel":"string"},"tools":{"items":{"oneOf":[{"type":"object","description":"A function or custom tool that belongs to a namespace.","required":["name","type"],"properties":{"name":{"type":"string","maxLength":128,"minLength":1,"pattern":"^[a-zA-Z0-9_-]+$","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.0.name","typeLabel":"string"},"type":{"type":"string","enum":["function"],"default":"function","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"description":{"oneOf":[{"type":"string","uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.0.description.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.0.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.0.description","typeLabel":"string | null"},"parameters":{"oneOf":[{"type":"object","required":[],"properties":{},"uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.0.parameters.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.0.parameters.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.0.parameters","typeLabel":"object | null"},"strict":{"oneOf":[{"type":"boolean","description":"Whether to enforce strict parameter validation. If omitted, Responses attempts to use strict validation when the schema is compatible, and falls back to non-strict validation otherwise.","uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.0.strict.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.0.strict.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.0.strict","typeLabel":"boolean | null"},"async":{"type":"boolean","description":"Whether the tool response can be returned asynchronously versus immediately returned on next response creation.","uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.0.async","typeLabel":"boolean"},"output_schema":{"oneOf":[{"type":"object","description":"A JSON Schema describing the JSON value encoded in string outputs for this function tool. This does not describe content-array outputs.","additionalProperties":{"oneOf":[{}],"uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.0.output_schema.oneOf.0.additionalProperties","typeLabel":"any"},"uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.0.output_schema.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.0.output_schema.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.0.output_schema","typeLabel":"object | null"},"defer_loading":{"type":"boolean","description":"Whether this function should be deferred and discovered via tool search.","uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.0.defer_loading","typeLabel":"boolean"},"allowed_callers":{"oneOf":[{"type":"array","items":{"type":"string","enum":["direct","programmatic"],"uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.0.allowed_callers.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"The tool invocation context(s).","minItems":1,"uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.0.allowed_callers.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.0.allowed_callers.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.0.allowed_callers","typeLabel":"enum\u003cstring>[] | null"}},"uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"object","title":"Custom tool","description":"A function or custom tool that belongs to a namespace.","required":["type","name"],"properties":{"type":{"type":"string","enum":["custom"],"description":"The type of the custom tool. Always `custom`.","default":"custom","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"The name of the custom tool, used to identify it in tool calls.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.1.name","typeLabel":"string"},"async":{"type":"boolean","description":"Whether the tool response can be returned asynchronously versus immediately returned on next response creation.","uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.1.async","typeLabel":"boolean"},"description":{"type":"string","description":"Optional description of the custom tool, used to provide more context.","uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.1.description","typeLabel":"string"},"format":{"oneOf":[{"type":"object","title":"Text format","description":"The input format for the custom tool. Default is unconstrained text.","required":["type"],"properties":{"type":{"type":"string","enum":["text"],"description":"Unconstrained text format. Always `text`.","default":"text","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.1.format.oneOf.0.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.1.format.oneOf.0","typeLabel":"Text format · object"},{"type":"object","title":"Grammar format","description":"The input format for the custom tool. Default is unconstrained text.","required":["type","syntax","definition"],"properties":{"type":{"type":"string","enum":["grammar"],"description":"Grammar format. Always `grammar`.","default":"grammar","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.1.format.oneOf.1.type","typeLabel":"enum\u003cstring>"},"syntax":{"type":"string","enum":["lark","regex"],"description":"The syntax of the grammar definition. One of `lark` or `regex`.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.1.format.oneOf.1.syntax","typeLabel":"enum\u003cstring>"},"definition":{"type":"string","description":"The grammar definition.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.1.format.oneOf.1.definition","typeLabel":"string"}},"uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.1.format.oneOf.1","typeLabel":"Grammar format · object"}],"uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.1.format","typeLabel":"Text format · object | Grammar format · object"},"defer_loading":{"type":"boolean","description":"Whether this tool should be deferred and discovered via tool search.","uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.1.defer_loading","typeLabel":"boolean"},"allowed_callers":{"oneOf":[{"type":"array","items":{"type":"string","enum":["direct","programmatic"],"uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.1.allowed_callers.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"The tool invocation context(s).","minItems":1,"uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.1.allowed_callers.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.1.allowed_callers.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.1.allowed_callers","typeLabel":"enum\u003cstring>[] | null"}},"uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.1","typeLabel":"Custom tool · object"}],"uniqueKey":"tools.items.[INDEX].oneOf.12.tools.items.[INDEX]","typeLabel":"object | Custom tool · object"},"type":"array","minItems":1,"description":"The function/custom tools available inside this namespace.","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.12.tools","typeLabel":"(object | Custom tool · object)[]"}},"uniqueKey":"tools.items.[INDEX].oneOf.12","typeLabel":"Namespace · object"},{"type":"object","title":"Tool search tool","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["tool_search"],"description":"The type of the tool. Always `tool_search`.","default":"tool_search","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.13.type","typeLabel":"enum\u003cstring>"},"execution":{"type":"string","enum":["server","client"],"description":"Whether tool search is executed by the server or by the client.","uniqueKey":"tools.items.[INDEX].oneOf.13.execution","typeLabel":"enum\u003cstring>"},"description":{"oneOf":[{"type":"string","description":"Description shown to the model for a client-executed tool search tool.","uniqueKey":"tools.items.[INDEX].oneOf.13.description.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.13.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.13.description","typeLabel":"string | null"},"parameters":{"oneOf":[{"type":"object","description":"Parameter schema for a client-executed tool search tool.","required":[],"properties":{},"uniqueKey":"tools.items.[INDEX].oneOf.13.parameters.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.13.parameters.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.13.parameters","typeLabel":"object | null"}},"uniqueKey":"tools.items.[INDEX].oneOf.13","typeLabel":"Tool search tool · object"},{"type":"object","title":"Web search preview","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["web_search_preview","web_search_preview_2025_03_11"],"description":"The type of the web search tool. One of `web_search_preview` or `web_search_preview_2025_03_11`.","default":"web_search_preview","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.14.type","typeLabel":"enum\u003cstring>"},"user_location":{"oneOf":[{"type":"object","description":"The approximate location of the user. If omitted or null, defaults to the United States. To avoid this fallback, pass `{\"type\": \"approximate\"}` without location fields. To localize results, provide the relevant location fields.","required":["type"],"properties":{"type":{"type":"string","enum":["approximate"],"description":"The type of location approximation. Always `approximate`.","default":"approximate","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.14.user_location.oneOf.0.type","typeLabel":"enum\u003cstring>"},"country":{"oneOf":[{"type":"string","description":"The two-letter [ISO country code](https://en.wikipedia.org/wiki/ISO_3166-1) of the user, e.g. `US`.","uniqueKey":"tools.items.[INDEX].oneOf.14.user_location.oneOf.0.country.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.14.user_location.oneOf.0.country.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.14.user_location.oneOf.0.country","typeLabel":"string | null"},"region":{"oneOf":[{"type":"string","description":"Free text input for the region of the user, e.g. `California`.","uniqueKey":"tools.items.[INDEX].oneOf.14.user_location.oneOf.0.region.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.14.user_location.oneOf.0.region.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.14.user_location.oneOf.0.region","typeLabel":"string | null"},"city":{"oneOf":[{"type":"string","description":"Free text input for the city of the user, e.g. `San Francisco`.","uniqueKey":"tools.items.[INDEX].oneOf.14.user_location.oneOf.0.city.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.14.user_location.oneOf.0.city.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.14.user_location.oneOf.0.city","typeLabel":"string | null"},"timezone":{"oneOf":[{"type":"string","description":"The [IANA timezone](https://timeapi.io/documentation/iana-timezones) of the user, e.g. `America/Los_Angeles`.","uniqueKey":"tools.items.[INDEX].oneOf.14.user_location.oneOf.0.timezone.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.14.user_location.oneOf.0.timezone.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.14.user_location.oneOf.0.timezone","typeLabel":"string | null"}},"uniqueKey":"tools.items.[INDEX].oneOf.14.user_location.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.14.user_location.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.14.user_location","typeLabel":"object | null"},"search_context_size":{"type":"string","enum":["low","medium","high"],"description":"High level guidance for the amount of context window space to use for the search. One of `low`, `medium`, or `high`. `medium` is the default.","uniqueKey":"tools.items.[INDEX].oneOf.14.search_context_size","typeLabel":"enum\u003cstring>"},"search_content_types":{"items":{"type":"string","enum":["text","image"],"uniqueKey":"tools.items.[INDEX].oneOf.14.search_content_types.items.[INDEX]","typeLabel":"enum\u003cstring>"},"type":"array","uniqueKey":"tools.items.[INDEX].oneOf.14.search_content_types","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"tools.items.[INDEX].oneOf.14","typeLabel":"Web search preview · object"},{"type":"object","title":"Apply patch tool","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["apply_patch"],"description":"The type of the tool. Always `apply_patch`.","default":"apply_patch","isRequired":true,"uniqueKey":"tools.items.[INDEX].oneOf.15.type","typeLabel":"enum\u003cstring>"},"allowed_callers":{"oneOf":[{"type":"array","items":{"type":"string","enum":["direct","programmatic"],"uniqueKey":"tools.items.[INDEX].oneOf.15.allowed_callers.oneOf.0.items.[INDEX]","typeLabel":"enum\u003cstring>"},"description":"The tool invocation context(s).","minItems":1,"uniqueKey":"tools.items.[INDEX].oneOf.15.allowed_callers.oneOf.0","typeLabel":"enum\u003cstring>[]"},{"type":"null","uniqueKey":"tools.items.[INDEX].oneOf.15.allowed_callers.oneOf.1","typeLabel":"null"}],"uniqueKey":"tools.items.[INDEX].oneOf.15.allowed_callers","typeLabel":"enum\u003cstring>[] | null"}},"uniqueKey":"tools.items.[INDEX].oneOf.15","typeLabel":"Apply patch tool · object"}],"uniqueKey":"tools.items.[INDEX]","typeLabel":"Function · object | File search · object | Computer · object | Computer use preview · object | Web search · object | MCP tool · object | Code interpreter · object | object | Image generation tool · object | Local shell tool · object | Shell tool · object | Custom tool · object | Namespace · object | Tool search tool · object | Web search preview · object | Apply patch tool · object"},"isRequired":true,"uniqueKey":"tools","typeLabel":"(Function · object | File search · object | Computer · object | Computer use preview · object | Web search · object | MCP tool · object | Code interpreter · object | object | Image generation tool · object | Local shell tool · object | Shell tool · object | Custom tool · object | Namespace · object | Tool search tool · object | Web search preview · object | Apply patch tool · object)[]"},"tool_choice":{"oneOf":[{"type":"string","title":"Tool choice mode","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","enum":["none","auto","required"],"isRequired":true,"uniqueKey":"tool_choice.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"object","title":"Allowed tools","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","required":["type","mode","tools"],"properties":{"type":{"type":"string","enum":["allowed_tools"],"description":"Allowed tool configuration type. Always `allowed_tools`.","isRequired":true,"uniqueKey":"tool_choice.oneOf.1.type","typeLabel":"enum\u003cstring>"},"mode":{"type":"string","enum":["auto","required"],"description":"Constrains the tools available to the model to a pre-defined set.\n\n`auto` allows the model to pick from among the allowed tools and generate a\nmessage.\n\n`required` requires the model to call one or more of the allowed tools.\n","isRequired":true,"uniqueKey":"tool_choice.oneOf.1.mode","typeLabel":"enum\u003cstring>"},"tools":{"type":"array","description":"A list of tool definitions that the model should be allowed to call.\n\nFor the Responses API, the list of tool definitions might look like:\n```json\n[\n { \"type\": \"function\", \"name\": \"get_weather\" },\n { \"type\": \"mcp\", \"server_label\": \"deepwiki\" },\n { \"type\": \"image_generation\" }\n]\n```\n","items":{"type":"object","description":"A tool definition that the model should be allowed to call.\n","additionalProperties":true,"uniqueKey":"tool_choice.oneOf.1.tools.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"tool_choice.oneOf.1.tools","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"tool_choice.oneOf.1","typeLabel":"Allowed tools · object"},{"type":"object","title":"Hosted tool","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","required":["type"],"properties":{"type":{"type":"string","description":"The type of hosted tool the model should to use. Learn more about\n[built-in tools](https://developers.openai.com/api/docs/guides/tools).\n\nAllowed values are:\n- `file_search`\n- `web_search_preview`\n- `computer`\n- `computer_use_preview`\n- `computer_use`\n- `code_interpreter`\n- `image_generation`\n","enum":["file_search","web_search_preview","computer","computer_use_preview","computer_use","web_search_preview_2025_03_11","image_generation","code_interpreter"],"isRequired":true,"uniqueKey":"tool_choice.oneOf.2.type","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"tool_choice.oneOf.2","typeLabel":"Hosted tool · object"},{"type":"object","title":"Function tool","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","required":["type","name"],"properties":{"type":{"type":"string","enum":["function"],"description":"For function calling, the type is always `function`.","isRequired":true,"uniqueKey":"tool_choice.oneOf.3.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"The name of the function to call.","isRequired":true,"uniqueKey":"tool_choice.oneOf.3.name","typeLabel":"string"}},"isRequired":true,"uniqueKey":"tool_choice.oneOf.3","typeLabel":"Function tool · object"},{"type":"object","title":"MCP tool","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","required":["type","server_label"],"properties":{"type":{"type":"string","enum":["mcp"],"description":"For MCP tools, the type is always `mcp`.","isRequired":true,"uniqueKey":"tool_choice.oneOf.4.type","typeLabel":"enum\u003cstring>"},"server_label":{"type":"string","description":"The label of the MCP server to use.\n","isRequired":true,"uniqueKey":"tool_choice.oneOf.4.server_label","typeLabel":"string"},"name":{"oneOf":[{"type":"string","description":"The name of the tool to call on the server.\n","uniqueKey":"tool_choice.oneOf.4.name.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"tool_choice.oneOf.4.name.oneOf.1","typeLabel":"null"}],"uniqueKey":"tool_choice.oneOf.4.name","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"tool_choice.oneOf.4","typeLabel":"MCP tool · object"},{"type":"object","title":"Custom tool","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","required":["type","name"],"properties":{"type":{"type":"string","enum":["custom"],"description":"For custom tool calling, the type is always `custom`.","isRequired":true,"uniqueKey":"tool_choice.oneOf.5.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"The name of the custom tool to call.","isRequired":true,"uniqueKey":"tool_choice.oneOf.5.name","typeLabel":"string"}},"isRequired":true,"uniqueKey":"tool_choice.oneOf.5","typeLabel":"Custom tool · object"},{"type":"object","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","required":["type"],"properties":{"type":{"type":"string","enum":["programmatic_tool_calling"],"description":"The tool to call. Always `programmatic_tool_calling`.","default":"programmatic_tool_calling","isRequired":true,"uniqueKey":"tool_choice.oneOf.6.type","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"tool_choice.oneOf.6","typeLabel":"object"},{"type":"object","title":"Specific apply patch tool choice","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","required":["type"],"properties":{"type":{"type":"string","enum":["apply_patch"],"description":"The tool to call. Always `apply_patch`.","default":"apply_patch","isRequired":true,"uniqueKey":"tool_choice.oneOf.7.type","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"tool_choice.oneOf.7","typeLabel":"Specific apply patch tool choice · object"},{"type":"object","title":"Specific shell tool choice","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","required":["type"],"properties":{"type":{"type":"string","enum":["shell"],"description":"The tool to call. Always `shell`.","default":"shell","isRequired":true,"uniqueKey":"tool_choice.oneOf.8.type","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"tool_choice.oneOf.8","typeLabel":"Specific shell tool choice · object"}],"isRequired":true,"uniqueKey":"tool_choice","typeLabel":"enum\u003cstring> | Allowed tools · object | Hosted tool · object | Function tool · object | MCP tool · object | Custom tool · object | object | Specific apply patch tool choice · object | Specific shell tool choice · object"},"id":{"type":"string","description":"Unique identifier for this Response.\n","isRequired":true,"uniqueKey":"id","typeLabel":"string"},"object":{"type":"string","description":"The object type of this resource - always set to `response`.\n","const":"response","isRequired":true,"uniqueKey":"object","typeLabel":"string"},"access_programs":{"oneOf":[{"type":"object","required":["cyber"],"properties":{"cyber":{"type":"string","enum":["standard","daybreak_blue","daybreak_red"],"description":"The effective Cyber access program used for this response.","isRequired":true,"uniqueKey":"access_programs.oneOf.0.cyber","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"access_programs.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"access_programs.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"access_programs","typeLabel":"object | null"},"created_at":{"type":"number","format":"unixtime","description":"Unix timestamp (in seconds) of when this Response was created.\n","isRequired":true,"uniqueKey":"created_at","typeLabel":"number\u003cunixtime>"},"error":{"oneOf":[{"type":"object","description":"An error object returned when the model fails to generate a Response.\n","required":["code","message"],"properties":{"code":{"type":"string","description":"The error code for the response.\n","enum":["server_error","rate_limit_exceeded","invalid_prompt","data_residency_mismatch","bio_policy","misalignment_policy_violation","vector_store_timeout","invalid_image","invalid_image_format","invalid_base64_image","invalid_image_url","image_too_large","image_too_small","image_parse_error","image_content_policy_violation","invalid_image_mode","image_file_too_large","unsupported_image_media_type","empty_image_file","failed_to_download_image","image_file_not_found"],"isRequired":true,"uniqueKey":"error.oneOf.0.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"A human-readable description of the error.\n","isRequired":true,"uniqueKey":"error.oneOf.0.message","typeLabel":"string"},"type":{"oneOf":[{"type":"string","description":"The original error type, or null if it was not recorded.","uniqueKey":"error.oneOf.0.type.oneOf.0","typeLabel":"string"},{"type":"null","description":"The original error type, or null if it was not recorded.","uniqueKey":"error.oneOf.0.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.oneOf.0.type","typeLabel":"string | null"},"param":{"oneOf":[{"type":"string","description":"The request parameter associated with the error, or null if none was recorded.","uniqueKey":"error.oneOf.0.param.oneOf.0","typeLabel":"string"},{"type":"null","description":"The request parameter associated with the error, or null if none was recorded.","uniqueKey":"error.oneOf.0.param.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.oneOf.0.param","typeLabel":"string | null"},"misalignment":{"properties":{"review_target":{"oneOf":[{"type":"string","description":"An opaque target for explicitly continuing this review, or null when unavailable.","maxLength":96,"minLength":1,"pattern":"^[A-Za-z0-9._~:-]+$","uniqueKey":"error.oneOf.0.misalignment.review_target.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"error.oneOf.0.misalignment.review_target.oneOf.1","typeLabel":"null"}],"uniqueKey":"error.oneOf.0.misalignment.review_target","typeLabel":"string | null"},"error_type":{"oneOf":[{"type":"string","description":"An optional classification; clients must accept additional values.","uniqueKey":"error.oneOf.0.misalignment.error_type.oneOf.0","typeLabel":"string"},{"type":"string","description":"An optional classification; clients must accept additional values.","enum":["potentially_unintended_data_transfer","potentially_unintended_data_access","potentially_unintended_destructive_activity","other"],"uniqueKey":"error.oneOf.0.misalignment.error_type.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"error.oneOf.0.misalignment.error_type","typeLabel":"string | enum\u003cstring>"},"detailed_explanation":{"type":"string","description":"The public explanation for this block.","uniqueKey":"error.oneOf.0.misalignment.detailed_explanation","typeLabel":"string"},"steer":{"properties":{"message":{"type":"string","description":"The public continuation instruction.","isRequired":true,"uniqueKey":"error.oneOf.0.misalignment.steer.message","typeLabel":"string"}},"type":"object","required":["message"],"description":"An optional public continuation instruction.","uniqueKey":"error.oneOf.0.misalignment.steer","typeLabel":"object"}},"type":"object","required":[],"uniqueKey":"error.oneOf.0.misalignment","typeLabel":"object"}},"isRequired":true,"uniqueKey":"error.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"error.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error","typeLabel":"object | null"},"incomplete_details":{"oneOf":[{"type":"object","description":"Details about why the response is incomplete.\n","properties":{"reason":{"type":"string","description":"The reason why the response is incomplete. `steered` means\nthe response stopped at a safe output boundary after a\nWebSocket `response.steer` event. The server can then create\na successor response automatically with the queued input.\n","enum":["max_output_tokens","max_messages","content_filter","steered"],"uniqueKey":"incomplete_details.oneOf.0.reason","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"incomplete_details.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"incomplete_details.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"incomplete_details","typeLabel":"object | null"},"output":{"type":"array","description":"An array of content items generated by the model.\n\n- The length and order of items in the `output` array is dependent\n on the model's response.\n- Rather than accessing the first item in the `output` array and\n assuming it's an `assistant` message with the content generated by\n the model, you might consider using the `output_text` property where\n supported in SDKs.\n","items":{"oneOf":[{"type":"object","title":"Output message","description":"An output message from the model.\n","required":["id","type","role","content","status"],"properties":{"id":{"type":"string","description":"The unique ID of the output message.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.0.id","typeLabel":"string"},"type":{"type":"string","description":"The type of the output message. Always `message`.\n","const":"message","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.0.type","typeLabel":"string"},"role":{"type":"string","description":"The role of the output message. Always `assistant`.\n","const":"assistant","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.0.role","typeLabel":"string"},"content":{"type":"array","description":"The content of the output message.\n","items":{"oneOf":[{"type":"object","title":"Output text","description":"A text output from the model.","required":["type","text","annotations","logprobs"],"properties":{"type":{"type":"string","enum":["output_text"],"description":"The type of the output text. Always `output_text`.","default":"output_text","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"The text output from the model.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.0.text","typeLabel":"string"},"annotations":{"items":{"oneOf":[{"type":"object","title":"File citation","description":"An annotation that applies to a span of output text.","required":["type","file_id","index","filename"],"properties":{"type":{"type":"string","enum":["file_citation"],"description":"The type of the file citation. Always `file_citation`.","default":"file_citation","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.0.annotations.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"file_id":{"type":"string","description":"The ID of the file.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.0.annotations.items.[INDEX].oneOf.0.file_id","typeLabel":"string"},"index":{"type":"integer","description":"The index in the output text at which to insert the file citation.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.0.annotations.items.[INDEX].oneOf.0.index","typeLabel":"integer"},"filename":{"type":"string","description":"The filename of the file cited.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.0.annotations.items.[INDEX].oneOf.0.filename","typeLabel":"string"}},"uniqueKey":"output.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.0.annotations.items.[INDEX].oneOf.0","typeLabel":"File citation · object"},{"type":"object","title":"URL citation","description":"An annotation that applies to a span of output text.","required":["type","url","start_index","end_index","title"],"properties":{"type":{"type":"string","enum":["url_citation"],"description":"The type of the URL citation. Always `url_citation`.","default":"url_citation","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.0.annotations.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"url":{"type":"string","format":"uri","description":"The URL of the web resource.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.0.annotations.items.[INDEX].oneOf.1.url","typeLabel":"string\u003curi>"},"start_index":{"type":"integer","description":"The index of the first character of the URL citation in the message.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.0.annotations.items.[INDEX].oneOf.1.start_index","typeLabel":"integer"},"end_index":{"type":"integer","description":"The index of the last character of the URL citation in the message.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.0.annotations.items.[INDEX].oneOf.1.end_index","typeLabel":"integer"},"title":{"type":"string","description":"The title of the web resource.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.0.annotations.items.[INDEX].oneOf.1.title","typeLabel":"string"}},"uniqueKey":"output.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.0.annotations.items.[INDEX].oneOf.1","typeLabel":"URL citation · object"},{"type":"object","title":"Container file citation","description":"An annotation that applies to a span of output text.","required":["type","container_id","file_id","start_index","end_index","filename"],"properties":{"type":{"type":"string","enum":["container_file_citation"],"description":"The type of the container file citation. Always `container_file_citation`.","default":"container_file_citation","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.0.annotations.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"container_id":{"type":"string","description":"The ID of the container file.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.0.annotations.items.[INDEX].oneOf.2.container_id","typeLabel":"string"},"file_id":{"type":"string","description":"The ID of the file.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.0.annotations.items.[INDEX].oneOf.2.file_id","typeLabel":"string"},"start_index":{"type":"integer","description":"The index of the first character of the container file citation in the message.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.0.annotations.items.[INDEX].oneOf.2.start_index","typeLabel":"integer"},"end_index":{"type":"integer","description":"The index of the last character of the container file citation in the message.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.0.annotations.items.[INDEX].oneOf.2.end_index","typeLabel":"integer"},"filename":{"type":"string","description":"The filename of the container file cited.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.0.annotations.items.[INDEX].oneOf.2.filename","typeLabel":"string"}},"uniqueKey":"output.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.0.annotations.items.[INDEX].oneOf.2","typeLabel":"Container file citation · object"},{"type":"object","title":"File path","description":"An annotation that applies to a span of output text.","required":["type","file_id","index"],"properties":{"type":{"type":"string","description":"The type of the file path. Always `file_path`.\n","enum":["file_path"],"isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.0.annotations.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"file_id":{"type":"string","description":"The ID of the file.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.0.annotations.items.[INDEX].oneOf.3.file_id","typeLabel":"string"},"index":{"type":"integer","description":"The index of the file in the list of files.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.0.annotations.items.[INDEX].oneOf.3.index","typeLabel":"integer"}},"uniqueKey":"output.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.0.annotations.items.[INDEX].oneOf.3","typeLabel":"File path · object"}],"uniqueKey":"output.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.0.annotations.items.[INDEX]","typeLabel":"File citation · object | URL citation · object | Container file citation · object | File path · object"},"type":"array","description":"The annotations of the text output.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.0.annotations","typeLabel":"(File citation · object | URL citation · object | Container file citation · object | File path · object)[]"},"logprobs":{"items":{"properties":{"token":{"type":"string","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.0.logprobs.items.[INDEX].token","typeLabel":"string"},"logprob":{"type":"number","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.0.logprobs.items.[INDEX].logprob","typeLabel":"number"},"bytes":{"items":{"type":"integer","uniqueKey":"output.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.0.logprobs.items.[INDEX].bytes.items.[INDEX]","typeLabel":"integer"},"type":"array","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.0.logprobs.items.[INDEX].bytes","typeLabel":"integer[]"},"top_logprobs":{"items":{"properties":{"token":{"type":"string","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.0.logprobs.items.[INDEX].top_logprobs.items.[INDEX].token","typeLabel":"string"},"logprob":{"type":"number","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.0.logprobs.items.[INDEX].top_logprobs.items.[INDEX].logprob","typeLabel":"number"},"bytes":{"items":{"type":"integer","uniqueKey":"output.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.0.logprobs.items.[INDEX].top_logprobs.items.[INDEX].bytes.items.[INDEX]","typeLabel":"integer"},"type":"array","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.0.logprobs.items.[INDEX].top_logprobs.items.[INDEX].bytes","typeLabel":"integer[]"}},"type":"object","required":["token","logprob","bytes"],"title":"Top log probability","description":"The top log probability of a token.","uniqueKey":"output.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.0.logprobs.items.[INDEX].top_logprobs.items.[INDEX]","typeLabel":"Top log probability · object"},"type":"array","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.0.logprobs.items.[INDEX].top_logprobs","typeLabel":"Top log probability · object[]"}},"type":"object","required":["token","logprob","bytes","top_logprobs"],"title":"Log probability","description":"The log probability of a token.","uniqueKey":"output.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.0.logprobs.items.[INDEX]","typeLabel":"Log probability · object"},"type":"array","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.0.logprobs","typeLabel":"Log probability · object[]"}},"uniqueKey":"output.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.0","typeLabel":"Output text · object"},{"type":"object","title":"Refusal","description":"A refusal from the model.","required":["type","refusal"],"properties":{"type":{"type":"string","enum":["refusal"],"description":"The type of the refusal. Always `refusal`.","default":"refusal","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"refusal":{"type":"string","description":"The refusal explanation from the model.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.1.refusal","typeLabel":"string"}},"uniqueKey":"output.items.[INDEX].oneOf.0.content.items.[INDEX].oneOf.1","typeLabel":"Refusal · object"}],"uniqueKey":"output.items.[INDEX].oneOf.0.content.items.[INDEX]","typeLabel":"Output text · object | Refusal · object"},"isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.0.content","typeLabel":"(Output text · object | Refusal · object)[]"},"status":{"type":"string","description":"The status of the message input. One of `in_progress`, `completed`, or\n`incomplete`. Populated when input items are returned via API.\n","enum":["in_progress","completed","incomplete"],"isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.0.status","typeLabel":"enum\u003cstring>"},"phase":{"oneOf":[{"type":"string","description":"Labels an `assistant` message as intermediate commentary (`commentary`) or the final answer (`final_answer`).\nFor models like `gpt-5.3-codex` and beyond, when sending follow-up requests, preserve and resend\nphase on all assistant messages — dropping it can degrade performance. Not used for user messages.\n","enum":["commentary","final_answer"],"uniqueKey":"output.items.[INDEX].oneOf.0.phase.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"output.items.[INDEX].oneOf.0.phase.oneOf.1","typeLabel":"null"}],"uniqueKey":"output.items.[INDEX].oneOf.0.phase","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"output.items.[INDEX].oneOf.0","typeLabel":"Output message · object"},{"type":"object","title":"File search tool call","description":"The results of a file search tool call. See the\n[file search guide](https://developers.openai.com/api/docs/guides/tools-file-search) for more information.\n","required":["id","type","status","queries"],"properties":{"id":{"type":"string","description":"The unique ID of the file search tool call.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.1.id","typeLabel":"string"},"type":{"type":"string","enum":["file_search_call"],"description":"The type of the file search tool call. Always `file_search_call`.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"status":{"type":"string","description":"The status of the file search tool call. One of `in_progress`,\n`searching`, `incomplete` or `failed`,\n","enum":["in_progress","searching","completed","incomplete","failed"],"isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.1.status","typeLabel":"enum\u003cstring>"},"queries":{"type":"array","items":{"type":"string","uniqueKey":"output.items.[INDEX].oneOf.1.queries.items.[INDEX]","typeLabel":"string"},"description":"The queries used to search for files.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.1.queries","typeLabel":"string[]"},"results":{"oneOf":[{"type":"array","items":{"type":"object","properties":{"file_id":{"type":"string","description":"The unique ID of the file.\n","uniqueKey":"output.items.[INDEX].oneOf.1.results.oneOf.0.items.[INDEX].file_id","typeLabel":"string"},"text":{"type":"string","description":"The text that was retrieved from the file.\n","uniqueKey":"output.items.[INDEX].oneOf.1.results.oneOf.0.items.[INDEX].text","typeLabel":"string"},"filename":{"type":"string","description":"The name of the file.\n","uniqueKey":"output.items.[INDEX].oneOf.1.results.oneOf.0.items.[INDEX].filename","typeLabel":"string"},"attributes":{"oneOf":[{"type":"object","description":"Set of 16 key-value pairs that can be attached to an object. This can be\nuseful for storing additional information about the object in a structured\nformat, and querying for objects via API or the dashboard. Keys are strings\nwith a maximum length of 64 characters. Values are strings with a maximum\nlength of 512 characters, booleans, or numbers.\n","maxProperties":16,"additionalProperties":{"oneOf":[{"type":"string","maxLength":512,"uniqueKey":"output.items.[INDEX].oneOf.1.results.oneOf.0.items.[INDEX].attributes.oneOf.0.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"output.items.[INDEX].oneOf.1.results.oneOf.0.items.[INDEX].attributes.oneOf.0.additionalProperties.oneOf.1","typeLabel":"number"},{"type":"boolean","uniqueKey":"output.items.[INDEX].oneOf.1.results.oneOf.0.items.[INDEX].attributes.oneOf.0.additionalProperties.oneOf.2","typeLabel":"boolean"}],"uniqueKey":"output.items.[INDEX].oneOf.1.results.oneOf.0.items.[INDEX].attributes.oneOf.0.additionalProperties","typeLabel":"string | number | boolean"},"uniqueKey":"output.items.[INDEX].oneOf.1.results.oneOf.0.items.[INDEX].attributes.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"output.items.[INDEX].oneOf.1.results.oneOf.0.items.[INDEX].attributes.oneOf.1","typeLabel":"null"}],"uniqueKey":"output.items.[INDEX].oneOf.1.results.oneOf.0.items.[INDEX].attributes","typeLabel":"object | null"},"score":{"type":"number","format":"float","description":"The relevance score of the file - a value between 0 and 1.\n","uniqueKey":"output.items.[INDEX].oneOf.1.results.oneOf.0.items.[INDEX].score","typeLabel":"number\u003cfloat>"}},"uniqueKey":"output.items.[INDEX].oneOf.1.results.oneOf.0.items.[INDEX]","typeLabel":"object"},"description":"The results of the file search tool call.\n","uniqueKey":"output.items.[INDEX].oneOf.1.results.oneOf.0","typeLabel":"object[]"},{"type":"null","uniqueKey":"output.items.[INDEX].oneOf.1.results.oneOf.1","typeLabel":"null"}],"uniqueKey":"output.items.[INDEX].oneOf.1.results","typeLabel":"object[] | null"}},"uniqueKey":"output.items.[INDEX].oneOf.1","typeLabel":"File search tool call · object"},{"type":"object","title":"Function tool call","description":"A tool call to run a function. See the\n[function calling guide](https://developers.openai.com/api/docs/guides/function-calling) for more information.\n","required":["type","call_id","name","arguments"],"properties":{"type":{"type":"string","const":"function_call","description":"The type of the function tool call. Always `function_call`.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.2.type","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the function tool call generated by the model.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.2.call_id","typeLabel":"string"},"name":{"type":"string","description":"The name of the function to run.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.2.name","typeLabel":"string"},"arguments":{"type":"string","description":"A JSON string of the arguments to pass to the function.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.2.arguments","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the function tool call.\n","uniqueKey":"output.items.[INDEX].oneOf.2.id","typeLabel":"string"},"caller":{"oneOf":[{"type":"object","description":"The execution context that produced this tool call.","required":["type"],"properties":{"type":{"type":"string","enum":["direct"],"default":"direct","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.2.caller.oneOf.0.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"output.items.[INDEX].oneOf.2.caller.oneOf.0","typeLabel":"object"},{"type":"object","description":"The execution context that produced this tool call.","required":["type","caller_id"],"properties":{"type":{"type":"string","enum":["program"],"default":"program","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.2.caller.oneOf.1.type","typeLabel":"enum\u003cstring>"},"caller_id":{"type":"string","description":"The call ID of the program item that produced this tool call.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.2.caller.oneOf.1.caller_id","typeLabel":"string"}},"uniqueKey":"output.items.[INDEX].oneOf.2.caller.oneOf.1","typeLabel":"object"},{"type":"null","uniqueKey":"output.items.[INDEX].oneOf.2.caller.oneOf.2","typeLabel":"null"}],"uniqueKey":"output.items.[INDEX].oneOf.2.caller","typeLabel":"object · object · null"},"namespace":{"type":"string","description":"The namespace of the function to run.\n","uniqueKey":"output.items.[INDEX].oneOf.2.namespace","typeLabel":"string"},"status":{"type":"string","description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"uniqueKey":"output.items.[INDEX].oneOf.2.status","typeLabel":"enum\u003cstring>"},"async":{"type":"boolean","description":"Whether the function tool call runs asynchronously.\n","uniqueKey":"output.items.[INDEX].oneOf.2.async","typeLabel":"boolean"}},"uniqueKey":"output.items.[INDEX].oneOf.2","typeLabel":"Function tool call · object"},{"type":"object","title":"Function tool call output","description":"The output of a function tool call.\n","required":["id","status","type","output"],"properties":{"id":{"type":"string","description":"The unique ID of the function call tool output.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.3.id","typeLabel":"string"},"type":{"type":"string","const":"function_call_output","description":"The type of the function tool call output. Always `function_call_output`.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.3.type","typeLabel":"string"},"output":{"oneOf":[{"type":"string","title":"string output","description":"The output from the function call generated by your code.\nCan be a string or an list of output content.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.3.output.oneOf.0","typeLabel":"string"},{"type":"array","items":{"oneOf":[{"type":"object","title":"Input text","description":"A text input to the model.","required":["type","text"],"properties":{"type":{"type":"string","enum":["input_text"],"description":"The type of the input item. Always `input_text`.","default":"input_text","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.3.output.oneOf.1.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"The text input to the model.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.3.output.oneOf.1.items.[INDEX].oneOf.0.text","typeLabel":"string"},"prompt_cache_breakpoint":{"properties":{"mode":{"type":"string","enum":["explicit"],"description":"The breakpoint mode. Always `explicit`.","default":"explicit","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.3.output.oneOf.1.items.[INDEX].oneOf.0.prompt_cache_breakpoint.mode","typeLabel":"enum\u003cstring>"},"ttl":{"type":"string","enum":["30m","12h"],"description":"The minimum lifetime of this cache breakpoint. Defaults to the request TTL.","uniqueKey":"output.items.[INDEX].oneOf.3.output.oneOf.1.items.[INDEX].oneOf.0.prompt_cache_breakpoint.ttl","typeLabel":"enum\u003cstring>"}},"type":"object","required":["mode"],"title":"Prompt cache breakpoint","description":"Marks the exact end of a reusable prompt prefix. When `ttl` is omitted, the breakpoint inherits the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block.","uniqueKey":"output.items.[INDEX].oneOf.3.output.oneOf.1.items.[INDEX].oneOf.0.prompt_cache_breakpoint","typeLabel":"Prompt cache breakpoint · object"}},"uniqueKey":"output.items.[INDEX].oneOf.3.output.oneOf.1.items.[INDEX].oneOf.0","typeLabel":"Input text · object"},{"type":"object","title":"Input image","description":"An image input to the model. Learn about [image inputs](https://developers.openai.com/api/docs/guides/images-vision).","required":["type","detail"],"properties":{"type":{"type":"string","enum":["input_image"],"description":"The type of the input item. Always `input_image`.","default":"input_image","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.3.output.oneOf.1.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"detail":{"type":"string","enum":["low","high","auto","original"],"description":"The detail level of the image to be sent to the model. One of `high`, `low`, `auto`, or `original`. Defaults to `auto`.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.3.output.oneOf.1.items.[INDEX].oneOf.1.detail","typeLabel":"enum\u003cstring>"},"image_url":{"type":"any","uniqueKey":"output.items.[INDEX].oneOf.3.output.oneOf.1.items.[INDEX].oneOf.1.image_url","typeLabel":"any"},"file_id":{"type":"any","uniqueKey":"output.items.[INDEX].oneOf.3.output.oneOf.1.items.[INDEX].oneOf.1.file_id","typeLabel":"any"},"prompt_cache_breakpoint":{"properties":{"mode":{"type":"string","enum":["explicit"],"description":"The breakpoint mode. Always `explicit`.","default":"explicit","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.3.output.oneOf.1.items.[INDEX].oneOf.1.prompt_cache_breakpoint.mode","typeLabel":"enum\u003cstring>"},"ttl":{"type":"string","enum":["30m","12h"],"description":"The minimum lifetime of this cache breakpoint. Defaults to the request TTL.","uniqueKey":"output.items.[INDEX].oneOf.3.output.oneOf.1.items.[INDEX].oneOf.1.prompt_cache_breakpoint.ttl","typeLabel":"enum\u003cstring>"}},"type":"object","required":["mode"],"title":"Prompt cache breakpoint","description":"Marks the exact end of a reusable prompt prefix. When `ttl` is omitted, the breakpoint inherits the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block.","uniqueKey":"output.items.[INDEX].oneOf.3.output.oneOf.1.items.[INDEX].oneOf.1.prompt_cache_breakpoint","typeLabel":"Prompt cache breakpoint · object"}},"uniqueKey":"output.items.[INDEX].oneOf.3.output.oneOf.1.items.[INDEX].oneOf.1","typeLabel":"Input image · object"},{"type":"object","title":"Input file","description":"A file input to the model.","required":["type"],"properties":{"type":{"type":"string","enum":["input_file"],"description":"The type of the input item. Always `input_file`.","default":"input_file","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.3.output.oneOf.1.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"file_id":{"type":"any","uniqueKey":"output.items.[INDEX].oneOf.3.output.oneOf.1.items.[INDEX].oneOf.2.file_id","typeLabel":"any"},"filename":{"type":"string","description":"The name of the file to be sent to the model.","uniqueKey":"output.items.[INDEX].oneOf.3.output.oneOf.1.items.[INDEX].oneOf.2.filename","typeLabel":"string"},"file_data":{"type":"string","description":"The content of the file to be sent to the model.\n","uniqueKey":"output.items.[INDEX].oneOf.3.output.oneOf.1.items.[INDEX].oneOf.2.file_data","typeLabel":"string"},"prompt_cache_breakpoint":{"properties":{"mode":{"type":"string","enum":["explicit"],"description":"The breakpoint mode. Always `explicit`.","default":"explicit","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.3.output.oneOf.1.items.[INDEX].oneOf.2.prompt_cache_breakpoint.mode","typeLabel":"enum\u003cstring>"},"ttl":{"type":"string","enum":["30m","12h"],"description":"The minimum lifetime of this cache breakpoint. Defaults to the request TTL.","uniqueKey":"output.items.[INDEX].oneOf.3.output.oneOf.1.items.[INDEX].oneOf.2.prompt_cache_breakpoint.ttl","typeLabel":"enum\u003cstring>"}},"type":"object","required":["mode"],"title":"Prompt cache breakpoint","description":"Marks the exact end of a reusable prompt prefix. When `ttl` is omitted, the breakpoint inherits the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block.","uniqueKey":"output.items.[INDEX].oneOf.3.output.oneOf.1.items.[INDEX].oneOf.2.prompt_cache_breakpoint","typeLabel":"Prompt cache breakpoint · object"},"file_url":{"type":"string","format":"uri","description":"The URL of the file to be sent to the model.","uniqueKey":"output.items.[INDEX].oneOf.3.output.oneOf.1.items.[INDEX].oneOf.2.file_url","typeLabel":"string\u003curi>"},"detail":{"type":"string","enum":["auto","low","high"],"description":"The detail level of the file to be sent to the model. Use `auto` to let the system select the detail level; for GPT-5.6 and later models, `auto` uses high-quality rendering, which may increase input token usage. Use `low` for lower-cost rendering, or `high` to render the file at higher quality. Defaults to `auto`.","uniqueKey":"output.items.[INDEX].oneOf.3.output.oneOf.1.items.[INDEX].oneOf.2.detail","typeLabel":"enum\u003cstring>"}},"uniqueKey":"output.items.[INDEX].oneOf.3.output.oneOf.1.items.[INDEX].oneOf.2","typeLabel":"Input file · object"}],"uniqueKey":"output.items.[INDEX].oneOf.3.output.oneOf.1.items.[INDEX]","typeLabel":"Input text · object | Input image · object | Input file · object"},"title":"output content list","description":"The output from the function call generated by your code.\nCan be a string or an list of output content.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.3.output.oneOf.1","typeLabel":"(Input text · object | Input image · object | Input file · object)[]"}],"isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.3.output","typeLabel":"string | (Input text · object | Input image · object | Input file · object)[]"},"status":{"type":"string","description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.3.status","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","description":"The unique ID of the function tool call generated by the model.\n","uniqueKey":"output.items.[INDEX].oneOf.3.call_id","typeLabel":"string"},"name":{"type":"string","description":"The name of the tool that produced the output.\n","uniqueKey":"output.items.[INDEX].oneOf.3.name","typeLabel":"string"},"namespace":{"type":"string","description":"The namespace of the tool that produced the output.\n","uniqueKey":"output.items.[INDEX].oneOf.3.namespace","typeLabel":"string"},"caller":{"oneOf":[{"type":"object","description":"The execution context that produced this tool call.","required":["type"],"properties":{"type":{"type":"string","enum":["direct"],"description":"The caller type. Always `direct`.","default":"direct","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.3.caller.oneOf.0.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"output.items.[INDEX].oneOf.3.caller.oneOf.0","typeLabel":"object"},{"type":"object","description":"The execution context that produced this tool call.","required":["type","caller_id"],"properties":{"type":{"type":"string","enum":["program"],"description":"The caller type. Always `program`.","default":"program","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.3.caller.oneOf.1.type","typeLabel":"enum\u003cstring>"},"caller_id":{"type":"string","maxLength":64,"minLength":1,"description":"The call ID of the program item that produced this tool call.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.3.caller.oneOf.1.caller_id","typeLabel":"string"}},"uniqueKey":"output.items.[INDEX].oneOf.3.caller.oneOf.1","typeLabel":"object"},{"type":"null","uniqueKey":"output.items.[INDEX].oneOf.3.caller.oneOf.2","typeLabel":"null"}],"uniqueKey":"output.items.[INDEX].oneOf.3.caller","typeLabel":"object · object · null"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.\n","uniqueKey":"output.items.[INDEX].oneOf.3.created_by","typeLabel":"string"}},"uniqueKey":"output.items.[INDEX].oneOf.3","typeLabel":"Function tool call output · object"},{"type":"object","title":"Web search tool call","description":"The results of a web search tool call. See the\n[web search guide](https://developers.openai.com/api/docs/guides/tools-web-search) for more information.\n","required":["id","type","status"],"properties":{"id":{"type":"string","description":"The unique ID of the web search tool call.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.4.id","typeLabel":"string"},"type":{"type":"string","const":"web_search_call","description":"The type of the web search tool call. Always `web_search_call`.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.4.type","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","searching","completed","failed","incomplete"],"description":"The status of the web search tool call.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.4.status","typeLabel":"enum\u003cstring>"},"action":{"oneOf":[{"type":"object","title":"Search action","description":"Action type \"search\" - Performs a web search query.\n","required":["type"],"properties":{"type":{"type":"string","const":"search","description":"The action type.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.4.action.oneOf.0.type","typeLabel":"string"},"query":{"type":"string","deprecated":true,"description":"The search query.\n","uniqueKey":"output.items.[INDEX].oneOf.4.action.oneOf.0.query","typeLabel":"string"},"queries":{"type":"array","title":"Search queries","description":"The search queries.\n","items":{"type":"string","description":"A search query.\n","uniqueKey":"output.items.[INDEX].oneOf.4.action.oneOf.0.queries.items.[INDEX]","typeLabel":"string"},"uniqueKey":"output.items.[INDEX].oneOf.4.action.oneOf.0.queries","typeLabel":"string[]"},"sources":{"type":"array","title":"Web search sources","description":"The sources used in the search.\n","items":{"type":"object","title":"Web search source","description":"A source used in the search.\n","properties":{"type":{"type":"string","const":"url","description":"The type of source. Always `url`.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.4.action.oneOf.0.sources.items.[INDEX].type","typeLabel":"string"},"url":{"type":"string","format":"uri","description":"The URL of the source.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.4.action.oneOf.0.sources.items.[INDEX].url","typeLabel":"string\u003curi>"}},"required":["type","url"],"uniqueKey":"output.items.[INDEX].oneOf.4.action.oneOf.0.sources.items.[INDEX]","typeLabel":"Web search source · object"},"uniqueKey":"output.items.[INDEX].oneOf.4.action.oneOf.0.sources","typeLabel":"Web search source · object[]"}},"uniqueKey":"output.items.[INDEX].oneOf.4.action.oneOf.0","typeLabel":"Search action · object"},{"type":"object","title":"Open page action","description":"Action type \"open_page\" - Opens a specific URL from search results.\n","required":["type"],"properties":{"type":{"type":"string","const":"open_page","description":"The action type.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.4.action.oneOf.1.type","typeLabel":"string"},"url":{"oneOf":[{"type":"string","description":"The URL opened by the model.\n","format":"uri","uniqueKey":"output.items.[INDEX].oneOf.4.action.oneOf.1.url.oneOf.0","typeLabel":"string\u003curi>"},{"type":"null","description":"The URL opened by the model.\n","uniqueKey":"output.items.[INDEX].oneOf.4.action.oneOf.1.url.oneOf.1","typeLabel":"null"}],"uniqueKey":"output.items.[INDEX].oneOf.4.action.oneOf.1.url","typeLabel":"string\u003curi> | null"}},"uniqueKey":"output.items.[INDEX].oneOf.4.action.oneOf.1","typeLabel":"Open page action · object"},{"type":"object","title":"Find action","description":"Action type \"find_in_page\": Searches for a pattern within a loaded page.\n","required":["type","pattern"],"properties":{"type":{"type":"string","const":"find_in_page","description":"The action type.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.4.action.oneOf.2.type","typeLabel":"string"},"pattern":{"type":"string","description":"The pattern or text to search for within the page.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.4.action.oneOf.2.pattern","typeLabel":"string"},"url":{"oneOf":[{"type":"string","description":"The URL of the page searched for the pattern, when available.\n","format":"uri","uniqueKey":"output.items.[INDEX].oneOf.4.action.oneOf.2.url.oneOf.0","typeLabel":"string\u003curi>"},{"type":"null","description":"The URL of the page searched for the pattern, when available.\n","uniqueKey":"output.items.[INDEX].oneOf.4.action.oneOf.2.url.oneOf.1","typeLabel":"null"}],"uniqueKey":"output.items.[INDEX].oneOf.4.action.oneOf.2.url","typeLabel":"string\u003curi> | null"}},"uniqueKey":"output.items.[INDEX].oneOf.4.action.oneOf.2","typeLabel":"Find action · object"}],"uniqueKey":"output.items.[INDEX].oneOf.4.action","typeLabel":"Search action · object | Open page action · object | Find action · object"}},"uniqueKey":"output.items.[INDEX].oneOf.4","typeLabel":"Web search tool call · object"},{"type":"object","title":"Computer tool call","description":"A tool call to a computer use tool. See the\n[computer use guide](https://developers.openai.com/api/docs/guides/tools-computer-use) for more information.\n","required":["type","id","call_id","pending_safety_checks","status"],"properties":{"type":{"type":"string","description":"The type of the computer call. Always `computer_call`.","enum":["computer_call"],"default":"computer_call","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.5.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the computer call.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.5.id","typeLabel":"string"},"call_id":{"type":"string","description":"An identifier used when responding to the tool call with output.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.5.call_id","typeLabel":"string"},"pending_safety_checks":{"type":"array","items":{"properties":{"id":{"type":"string","description":"The ID of the pending safety check.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.5.pending_safety_checks.items.[INDEX].id","typeLabel":"string"},"code":{"oneOf":[{"type":"string","description":"The type of the pending safety check.","uniqueKey":"output.items.[INDEX].oneOf.5.pending_safety_checks.items.[INDEX].code.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"output.items.[INDEX].oneOf.5.pending_safety_checks.items.[INDEX].code.oneOf.1","typeLabel":"null"}],"uniqueKey":"output.items.[INDEX].oneOf.5.pending_safety_checks.items.[INDEX].code","typeLabel":"string | null"},"message":{"oneOf":[{"type":"string","description":"Details about the pending safety check.","uniqueKey":"output.items.[INDEX].oneOf.5.pending_safety_checks.items.[INDEX].message.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"output.items.[INDEX].oneOf.5.pending_safety_checks.items.[INDEX].message.oneOf.1","typeLabel":"null"}],"uniqueKey":"output.items.[INDEX].oneOf.5.pending_safety_checks.items.[INDEX].message","typeLabel":"string | null"}},"type":"object","required":["id"],"description":"A pending safety check for the computer call.","uniqueKey":"output.items.[INDEX].oneOf.5.pending_safety_checks.items.[INDEX]","typeLabel":"object"},"description":"The pending safety checks for the computer call.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.5.pending_safety_checks","typeLabel":"object[]"},"status":{"type":"string","description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.5.status","typeLabel":"enum\u003cstring>"},"action":{"oneOf":[{"type":"object","title":"Click","description":"A click action.","required":["type","button","x","y"],"properties":{"type":{"type":"string","enum":["click"],"description":"Specifies the event type. For a click action, this property is always `click`.","default":"click","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.5.action.oneOf.0.type","typeLabel":"enum\u003cstring>"},"button":{"type":"string","enum":["left","right","wheel","back","forward"],"description":"Indicates which mouse button was pressed during the click. One of `left`, `right`, `wheel`, `back`, or `forward`.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.5.action.oneOf.0.button","typeLabel":"enum\u003cstring>"},"x":{"type":"integer","description":"The x-coordinate where the click occurred.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.5.action.oneOf.0.x","typeLabel":"integer"},"y":{"type":"integer","description":"The y-coordinate where the click occurred.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.5.action.oneOf.0.y","typeLabel":"integer"},"keys":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"output.items.[INDEX].oneOf.5.action.oneOf.0.keys.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"The keys being held while clicking.","uniqueKey":"output.items.[INDEX].oneOf.5.action.oneOf.0.keys.oneOf.0","typeLabel":"string[]"},{"type":"null","uniqueKey":"output.items.[INDEX].oneOf.5.action.oneOf.0.keys.oneOf.1","typeLabel":"null"}],"uniqueKey":"output.items.[INDEX].oneOf.5.action.oneOf.0.keys","typeLabel":"string[] | null"}},"uniqueKey":"output.items.[INDEX].oneOf.5.action.oneOf.0","typeLabel":"Click · object"},{"type":"object","title":"DoubleClick","description":"A double click action.","required":["type","x","y","keys"],"properties":{"type":{"type":"string","enum":["double_click"],"description":"Specifies the event type. For a double click action, this property is always set to `double_click`.","default":"double_click","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.5.action.oneOf.1.type","typeLabel":"enum\u003cstring>"},"x":{"type":"integer","description":"The x-coordinate where the double click occurred.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.5.action.oneOf.1.x","typeLabel":"integer"},"y":{"type":"integer","description":"The y-coordinate where the double click occurred.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.5.action.oneOf.1.y","typeLabel":"integer"},"keys":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"output.items.[INDEX].oneOf.5.action.oneOf.1.keys.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"The keys being held while double-clicking.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.5.action.oneOf.1.keys.oneOf.0","typeLabel":"string[]"},{"type":"null","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.5.action.oneOf.1.keys.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.5.action.oneOf.1.keys","typeLabel":"string[] | null"}},"uniqueKey":"output.items.[INDEX].oneOf.5.action.oneOf.1","typeLabel":"DoubleClick · object"},{"type":"object","title":"Drag","description":"A drag action.","required":["type","path"],"properties":{"type":{"type":"string","enum":["drag"],"description":"Specifies the event type. For a drag action, this property is always set to `drag`.","default":"drag","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.5.action.oneOf.2.type","typeLabel":"enum\u003cstring>"},"path":{"items":{"properties":{"x":{"type":"integer","description":"The x-coordinate.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.5.action.oneOf.2.path.items.[INDEX].x","typeLabel":"integer"},"y":{"type":"integer","description":"The y-coordinate.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.5.action.oneOf.2.path.items.[INDEX].y","typeLabel":"integer"}},"type":"object","required":["x","y"],"title":"Coordinate","description":"An x/y coordinate pair, e.g. `{ x: 100, y: 200 }`.","uniqueKey":"output.items.[INDEX].oneOf.5.action.oneOf.2.path.items.[INDEX]","typeLabel":"Coordinate · object"},"type":"array","description":"An array of coordinates representing the path of the drag action. Coordinates will appear as an array of objects, eg\n```\n[\n { x: 100, y: 200 },\n { x: 200, y: 300 }\n]\n```","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.5.action.oneOf.2.path","typeLabel":"Coordinate · object[]"},"keys":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"output.items.[INDEX].oneOf.5.action.oneOf.2.keys.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"The keys being held while dragging the mouse.","uniqueKey":"output.items.[INDEX].oneOf.5.action.oneOf.2.keys.oneOf.0","typeLabel":"string[]"},{"type":"null","uniqueKey":"output.items.[INDEX].oneOf.5.action.oneOf.2.keys.oneOf.1","typeLabel":"null"}],"uniqueKey":"output.items.[INDEX].oneOf.5.action.oneOf.2.keys","typeLabel":"string[] | null"}},"uniqueKey":"output.items.[INDEX].oneOf.5.action.oneOf.2","typeLabel":"Drag · object"},{"type":"object","title":"KeyPress","description":"A collection of keypresses the model would like to perform.","required":["type","keys"],"properties":{"type":{"type":"string","enum":["keypress"],"description":"Specifies the event type. For a keypress action, this property is always set to `keypress`.","default":"keypress","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.5.action.oneOf.3.type","typeLabel":"enum\u003cstring>"},"keys":{"items":{"type":"string","description":"One of the keys the model is requesting to be pressed.","uniqueKey":"output.items.[INDEX].oneOf.5.action.oneOf.3.keys.items.[INDEX]","typeLabel":"string"},"type":"array","description":"The combination of keys the model is requesting to be pressed. This is an array of strings, each representing a key.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.5.action.oneOf.3.keys","typeLabel":"string[]"}},"uniqueKey":"output.items.[INDEX].oneOf.5.action.oneOf.3","typeLabel":"KeyPress · object"},{"type":"object","title":"Move","description":"A mouse move action.","required":["type","x","y"],"properties":{"type":{"type":"string","enum":["move"],"description":"Specifies the event type. For a move action, this property is always set to `move`.","default":"move","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.5.action.oneOf.4.type","typeLabel":"enum\u003cstring>"},"x":{"type":"integer","description":"The x-coordinate to move to.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.5.action.oneOf.4.x","typeLabel":"integer"},"y":{"type":"integer","description":"The y-coordinate to move to.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.5.action.oneOf.4.y","typeLabel":"integer"},"keys":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"output.items.[INDEX].oneOf.5.action.oneOf.4.keys.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"The keys being held while moving the mouse.","uniqueKey":"output.items.[INDEX].oneOf.5.action.oneOf.4.keys.oneOf.0","typeLabel":"string[]"},{"type":"null","uniqueKey":"output.items.[INDEX].oneOf.5.action.oneOf.4.keys.oneOf.1","typeLabel":"null"}],"uniqueKey":"output.items.[INDEX].oneOf.5.action.oneOf.4.keys","typeLabel":"string[] | null"}},"uniqueKey":"output.items.[INDEX].oneOf.5.action.oneOf.4","typeLabel":"Move · object"},{"type":"object","title":"Screenshot","description":"A screenshot action.","required":["type"],"properties":{"type":{"type":"string","enum":["screenshot"],"description":"Specifies the event type. For a screenshot action, this property is always set to `screenshot`.","default":"screenshot","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.5.action.oneOf.5.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"output.items.[INDEX].oneOf.5.action.oneOf.5","typeLabel":"Screenshot · object"},{"type":"object","title":"Scroll","description":"A scroll action.","required":["type","x","y","scroll_x","scroll_y"],"properties":{"type":{"type":"string","enum":["scroll"],"description":"Specifies the event type. For a scroll action, this property is always set to `scroll`.","default":"scroll","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.5.action.oneOf.6.type","typeLabel":"enum\u003cstring>"},"x":{"type":"integer","description":"The x-coordinate where the scroll occurred.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.5.action.oneOf.6.x","typeLabel":"integer"},"y":{"type":"integer","description":"The y-coordinate where the scroll occurred.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.5.action.oneOf.6.y","typeLabel":"integer"},"scroll_x":{"type":"integer","description":"The horizontal scroll distance.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.5.action.oneOf.6.scroll_x","typeLabel":"integer"},"scroll_y":{"type":"integer","description":"The vertical scroll distance.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.5.action.oneOf.6.scroll_y","typeLabel":"integer"},"keys":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"output.items.[INDEX].oneOf.5.action.oneOf.6.keys.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"The keys being held while scrolling.","uniqueKey":"output.items.[INDEX].oneOf.5.action.oneOf.6.keys.oneOf.0","typeLabel":"string[]"},{"type":"null","uniqueKey":"output.items.[INDEX].oneOf.5.action.oneOf.6.keys.oneOf.1","typeLabel":"null"}],"uniqueKey":"output.items.[INDEX].oneOf.5.action.oneOf.6.keys","typeLabel":"string[] | null"}},"uniqueKey":"output.items.[INDEX].oneOf.5.action.oneOf.6","typeLabel":"Scroll · object"},{"type":"object","title":"Type","description":"An action to type in text.","required":["type","text"],"properties":{"type":{"type":"string","enum":["type"],"description":"Specifies the event type. For a type action, this property is always set to `type`.","default":"type","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.5.action.oneOf.7.type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"The text to type.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.5.action.oneOf.7.text","typeLabel":"string"}},"uniqueKey":"output.items.[INDEX].oneOf.5.action.oneOf.7","typeLabel":"Type · object"},{"type":"object","title":"Wait","description":"A wait action.","required":["type"],"properties":{"type":{"type":"string","enum":["wait"],"description":"Specifies the event type. For a wait action, this property is always set to `wait`.","default":"wait","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.5.action.oneOf.8.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"output.items.[INDEX].oneOf.5.action.oneOf.8","typeLabel":"Wait · object"}],"uniqueKey":"output.items.[INDEX].oneOf.5.action","typeLabel":"Click · object | DoubleClick · object | Drag · object | KeyPress · object | Move · object | Screenshot · object | Scroll · object | Type · object | Wait · object"},"actions":{"title":"Computer Action List","type":"array","description":"Flattened batched actions for `computer_use`. Each action includes an\n`type` discriminator and action-specific fields.\n","items":{"oneOf":[{"type":"object","title":"Click","description":"A click action.","required":["type","button","x","y"],"properties":{"type":{"type":"string","enum":["click"],"description":"Specifies the event type. For a click action, this property is always `click`.","default":"click","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.5.actions.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"button":{"type":"string","enum":["left","right","wheel","back","forward"],"description":"Indicates which mouse button was pressed during the click. One of `left`, `right`, `wheel`, `back`, or `forward`.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.5.actions.items.[INDEX].oneOf.0.button","typeLabel":"enum\u003cstring>"},"x":{"type":"integer","description":"The x-coordinate where the click occurred.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.5.actions.items.[INDEX].oneOf.0.x","typeLabel":"integer"},"y":{"type":"integer","description":"The y-coordinate where the click occurred.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.5.actions.items.[INDEX].oneOf.0.y","typeLabel":"integer"},"keys":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"output.items.[INDEX].oneOf.5.actions.items.[INDEX].oneOf.0.keys.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"The keys being held while clicking.","uniqueKey":"output.items.[INDEX].oneOf.5.actions.items.[INDEX].oneOf.0.keys.oneOf.0","typeLabel":"string[]"},{"type":"null","uniqueKey":"output.items.[INDEX].oneOf.5.actions.items.[INDEX].oneOf.0.keys.oneOf.1","typeLabel":"null"}],"uniqueKey":"output.items.[INDEX].oneOf.5.actions.items.[INDEX].oneOf.0.keys","typeLabel":"string[] | null"}},"uniqueKey":"output.items.[INDEX].oneOf.5.actions.items.[INDEX].oneOf.0","typeLabel":"Click · object"},{"type":"object","title":"DoubleClick","description":"A double click action.","required":["type","x","y","keys"],"properties":{"type":{"type":"string","enum":["double_click"],"description":"Specifies the event type. For a double click action, this property is always set to `double_click`.","default":"double_click","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.5.actions.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"x":{"type":"integer","description":"The x-coordinate where the double click occurred.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.5.actions.items.[INDEX].oneOf.1.x","typeLabel":"integer"},"y":{"type":"integer","description":"The y-coordinate where the double click occurred.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.5.actions.items.[INDEX].oneOf.1.y","typeLabel":"integer"},"keys":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"output.items.[INDEX].oneOf.5.actions.items.[INDEX].oneOf.1.keys.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"The keys being held while double-clicking.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.5.actions.items.[INDEX].oneOf.1.keys.oneOf.0","typeLabel":"string[]"},{"type":"null","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.5.actions.items.[INDEX].oneOf.1.keys.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.5.actions.items.[INDEX].oneOf.1.keys","typeLabel":"string[] | null"}},"uniqueKey":"output.items.[INDEX].oneOf.5.actions.items.[INDEX].oneOf.1","typeLabel":"DoubleClick · object"},{"type":"object","title":"Drag","description":"A drag action.","required":["type","path"],"properties":{"type":{"type":"string","enum":["drag"],"description":"Specifies the event type. For a drag action, this property is always set to `drag`.","default":"drag","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.5.actions.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"path":{"items":{"properties":{"x":{"type":"integer","description":"The x-coordinate.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.5.actions.items.[INDEX].oneOf.2.path.items.[INDEX].x","typeLabel":"integer"},"y":{"type":"integer","description":"The y-coordinate.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.5.actions.items.[INDEX].oneOf.2.path.items.[INDEX].y","typeLabel":"integer"}},"type":"object","required":["x","y"],"title":"Coordinate","description":"An x/y coordinate pair, e.g. `{ x: 100, y: 200 }`.","uniqueKey":"output.items.[INDEX].oneOf.5.actions.items.[INDEX].oneOf.2.path.items.[INDEX]","typeLabel":"Coordinate · object"},"type":"array","description":"An array of coordinates representing the path of the drag action. Coordinates will appear as an array of objects, eg\n```\n[\n { x: 100, y: 200 },\n { x: 200, y: 300 }\n]\n```","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.5.actions.items.[INDEX].oneOf.2.path","typeLabel":"Coordinate · object[]"},"keys":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"output.items.[INDEX].oneOf.5.actions.items.[INDEX].oneOf.2.keys.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"The keys being held while dragging the mouse.","uniqueKey":"output.items.[INDEX].oneOf.5.actions.items.[INDEX].oneOf.2.keys.oneOf.0","typeLabel":"string[]"},{"type":"null","uniqueKey":"output.items.[INDEX].oneOf.5.actions.items.[INDEX].oneOf.2.keys.oneOf.1","typeLabel":"null"}],"uniqueKey":"output.items.[INDEX].oneOf.5.actions.items.[INDEX].oneOf.2.keys","typeLabel":"string[] | null"}},"uniqueKey":"output.items.[INDEX].oneOf.5.actions.items.[INDEX].oneOf.2","typeLabel":"Drag · object"},{"type":"object","title":"KeyPress","description":"A collection of keypresses the model would like to perform.","required":["type","keys"],"properties":{"type":{"type":"string","enum":["keypress"],"description":"Specifies the event type. For a keypress action, this property is always set to `keypress`.","default":"keypress","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.5.actions.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"keys":{"items":{"type":"string","description":"One of the keys the model is requesting to be pressed.","uniqueKey":"output.items.[INDEX].oneOf.5.actions.items.[INDEX].oneOf.3.keys.items.[INDEX]","typeLabel":"string"},"type":"array","description":"The combination of keys the model is requesting to be pressed. This is an array of strings, each representing a key.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.5.actions.items.[INDEX].oneOf.3.keys","typeLabel":"string[]"}},"uniqueKey":"output.items.[INDEX].oneOf.5.actions.items.[INDEX].oneOf.3","typeLabel":"KeyPress · object"},{"type":"object","title":"Move","description":"A mouse move action.","required":["type","x","y"],"properties":{"type":{"type":"string","enum":["move"],"description":"Specifies the event type. For a move action, this property is always set to `move`.","default":"move","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.5.actions.items.[INDEX].oneOf.4.type","typeLabel":"enum\u003cstring>"},"x":{"type":"integer","description":"The x-coordinate to move to.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.5.actions.items.[INDEX].oneOf.4.x","typeLabel":"integer"},"y":{"type":"integer","description":"The y-coordinate to move to.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.5.actions.items.[INDEX].oneOf.4.y","typeLabel":"integer"},"keys":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"output.items.[INDEX].oneOf.5.actions.items.[INDEX].oneOf.4.keys.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"The keys being held while moving the mouse.","uniqueKey":"output.items.[INDEX].oneOf.5.actions.items.[INDEX].oneOf.4.keys.oneOf.0","typeLabel":"string[]"},{"type":"null","uniqueKey":"output.items.[INDEX].oneOf.5.actions.items.[INDEX].oneOf.4.keys.oneOf.1","typeLabel":"null"}],"uniqueKey":"output.items.[INDEX].oneOf.5.actions.items.[INDEX].oneOf.4.keys","typeLabel":"string[] | null"}},"uniqueKey":"output.items.[INDEX].oneOf.5.actions.items.[INDEX].oneOf.4","typeLabel":"Move · object"},{"type":"object","title":"Screenshot","description":"A screenshot action.","required":["type"],"properties":{"type":{"type":"string","enum":["screenshot"],"description":"Specifies the event type. For a screenshot action, this property is always set to `screenshot`.","default":"screenshot","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.5.actions.items.[INDEX].oneOf.5.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"output.items.[INDEX].oneOf.5.actions.items.[INDEX].oneOf.5","typeLabel":"Screenshot · object"},{"type":"object","title":"Scroll","description":"A scroll action.","required":["type","x","y","scroll_x","scroll_y"],"properties":{"type":{"type":"string","enum":["scroll"],"description":"Specifies the event type. For a scroll action, this property is always set to `scroll`.","default":"scroll","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.5.actions.items.[INDEX].oneOf.6.type","typeLabel":"enum\u003cstring>"},"x":{"type":"integer","description":"The x-coordinate where the scroll occurred.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.5.actions.items.[INDEX].oneOf.6.x","typeLabel":"integer"},"y":{"type":"integer","description":"The y-coordinate where the scroll occurred.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.5.actions.items.[INDEX].oneOf.6.y","typeLabel":"integer"},"scroll_x":{"type":"integer","description":"The horizontal scroll distance.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.5.actions.items.[INDEX].oneOf.6.scroll_x","typeLabel":"integer"},"scroll_y":{"type":"integer","description":"The vertical scroll distance.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.5.actions.items.[INDEX].oneOf.6.scroll_y","typeLabel":"integer"},"keys":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"output.items.[INDEX].oneOf.5.actions.items.[INDEX].oneOf.6.keys.oneOf.0.items.[INDEX]","typeLabel":"string"},"description":"The keys being held while scrolling.","uniqueKey":"output.items.[INDEX].oneOf.5.actions.items.[INDEX].oneOf.6.keys.oneOf.0","typeLabel":"string[]"},{"type":"null","uniqueKey":"output.items.[INDEX].oneOf.5.actions.items.[INDEX].oneOf.6.keys.oneOf.1","typeLabel":"null"}],"uniqueKey":"output.items.[INDEX].oneOf.5.actions.items.[INDEX].oneOf.6.keys","typeLabel":"string[] | null"}},"uniqueKey":"output.items.[INDEX].oneOf.5.actions.items.[INDEX].oneOf.6","typeLabel":"Scroll · object"},{"type":"object","title":"Type","description":"An action to type in text.","required":["type","text"],"properties":{"type":{"type":"string","enum":["type"],"description":"Specifies the event type. For a type action, this property is always set to `type`.","default":"type","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.5.actions.items.[INDEX].oneOf.7.type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"The text to type.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.5.actions.items.[INDEX].oneOf.7.text","typeLabel":"string"}},"uniqueKey":"output.items.[INDEX].oneOf.5.actions.items.[INDEX].oneOf.7","typeLabel":"Type · object"},{"type":"object","title":"Wait","description":"A wait action.","required":["type"],"properties":{"type":{"type":"string","enum":["wait"],"description":"Specifies the event type. For a wait action, this property is always set to `wait`.","default":"wait","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.5.actions.items.[INDEX].oneOf.8.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"output.items.[INDEX].oneOf.5.actions.items.[INDEX].oneOf.8","typeLabel":"Wait · object"}],"uniqueKey":"output.items.[INDEX].oneOf.5.actions.items.[INDEX]","typeLabel":"Click · object | DoubleClick · object | Drag · object | KeyPress · object | Move · object | Screenshot · object | Scroll · object | Type · object | Wait · object"},"uniqueKey":"output.items.[INDEX].oneOf.5.actions","typeLabel":"(Click · object | DoubleClick · object | Drag · object | KeyPress · object | Move · object | Screenshot · object | Scroll · object | Type · object | Wait · object)[]"}},"uniqueKey":"output.items.[INDEX].oneOf.5","typeLabel":"Computer tool call · object"},{"type":"object","title":"Computer tool call output","description":"The output of a computer tool call.\n","required":["id","status","type","call_id","output"],"properties":{"type":{"type":"string","description":"The type of the computer tool call output. Always `computer_call_output`.\n","const":"computer_call_output","default":"computer_call_output","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.6.type","typeLabel":"string"},"id":{"type":"string","description":"The ID of the computer tool call output.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.6.id","typeLabel":"string"},"call_id":{"type":"string","description":"The ID of the computer tool call that produced the output.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.6.call_id","typeLabel":"string"},"output":{"type":"object","description":"A computer screenshot image used with the computer use tool.\n","properties":{"type":{"type":"string","const":"computer_screenshot","default":"computer_screenshot","description":"Specifies the event type. For a computer screenshot, this property is \nalways set to `computer_screenshot`.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.6.output.type","typeLabel":"string"},"image_url":{"type":"string","format":"uri","description":"The URL of the screenshot image.","uniqueKey":"output.items.[INDEX].oneOf.6.output.image_url","typeLabel":"string\u003curi>"},"file_id":{"type":"string","description":"The identifier of an uploaded file that contains the screenshot.","uniqueKey":"output.items.[INDEX].oneOf.6.output.file_id","typeLabel":"string"}},"required":["type"],"isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.6.output","typeLabel":"object"},"status":{"type":"string","description":"The status of the message input. One of `in_progress`, `completed`, or\n`incomplete`. Populated when input items are returned via API.\n","enum":["completed","incomplete"],"isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.6.status","typeLabel":"enum\u003cstring>"},"acknowledged_safety_checks":{"type":"array","description":"The safety checks reported by the API that have been acknowledged by the\ndeveloper.\n","items":{"properties":{"id":{"type":"string","description":"The ID of the pending safety check.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.6.acknowledged_safety_checks.items.[INDEX].id","typeLabel":"string"},"code":{"oneOf":[{"type":"string","description":"The type of the pending safety check.","uniqueKey":"output.items.[INDEX].oneOf.6.acknowledged_safety_checks.items.[INDEX].code.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"output.items.[INDEX].oneOf.6.acknowledged_safety_checks.items.[INDEX].code.oneOf.1","typeLabel":"null"}],"uniqueKey":"output.items.[INDEX].oneOf.6.acknowledged_safety_checks.items.[INDEX].code","typeLabel":"string | null"},"message":{"oneOf":[{"type":"string","description":"Details about the pending safety check.","uniqueKey":"output.items.[INDEX].oneOf.6.acknowledged_safety_checks.items.[INDEX].message.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"output.items.[INDEX].oneOf.6.acknowledged_safety_checks.items.[INDEX].message.oneOf.1","typeLabel":"null"}],"uniqueKey":"output.items.[INDEX].oneOf.6.acknowledged_safety_checks.items.[INDEX].message","typeLabel":"string | null"}},"type":"object","required":["id"],"description":"A pending safety check for the computer call.","uniqueKey":"output.items.[INDEX].oneOf.6.acknowledged_safety_checks.items.[INDEX]","typeLabel":"object"},"uniqueKey":"output.items.[INDEX].oneOf.6.acknowledged_safety_checks","typeLabel":"object[]"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.\n","uniqueKey":"output.items.[INDEX].oneOf.6.created_by","typeLabel":"string"}},"uniqueKey":"output.items.[INDEX].oneOf.6","typeLabel":"Computer tool call output · object"},{"type":"object","title":"Reasoning","description":"A description of the chain of thought used by a reasoning model while generating\na response. Be sure to include these items in your `input` to the Responses API\nfor subsequent turns of a conversation if you are manually\n[managing context](https://developers.openai.com/api/docs/guides/conversation-state).\n","required":["id","summary","type"],"properties":{"type":{"type":"string","description":"The type of the object. Always `reasoning`.\n","enum":["reasoning"],"isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.7.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique identifier of the reasoning content.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.7.id","typeLabel":"string"},"summary":{"type":"array","description":"Reasoning summary content.\n","items":{"properties":{"type":{"type":"string","enum":["summary_text"],"description":"The type of the object. Always `summary_text`.","default":"summary_text","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.7.summary.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"A summary of the reasoning output from the model so far.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.7.summary.items.[INDEX].text","typeLabel":"string"}},"type":"object","required":["type","text"],"title":"Summary text","description":"A summary text from the model.","uniqueKey":"output.items.[INDEX].oneOf.7.summary.items.[INDEX]","typeLabel":"Summary text · object"},"isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.7.summary","typeLabel":"Summary text · object[]"},"encrypted_content":{"oneOf":[{"type":"string","description":"The encrypted content of the reasoning item. This is populated by default\nfor reasoning items returned by `POST /v1/responses` and WebSocket\n`response.create` requests.\n\nWhen streaming, use the completed reasoning item and its\n`encrypted_content` from the `response.output_item.done` event in\nsubsequent requests. The `encrypted_content` in\n`response.output_item.added` may be incomplete. This is especially\nimportant when `store` is `false` or when using Zero Data Retention.\n","uniqueKey":"output.items.[INDEX].oneOf.7.encrypted_content.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"output.items.[INDEX].oneOf.7.encrypted_content.oneOf.1","typeLabel":"null"}],"uniqueKey":"output.items.[INDEX].oneOf.7.encrypted_content","typeLabel":"string | null"},"content":{"type":"array","description":"Reasoning text content.\n","items":{"properties":{"type":{"type":"string","enum":["reasoning_text"],"description":"The type of the reasoning text. Always `reasoning_text`.","default":"reasoning_text","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.7.content.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"The reasoning text from the model.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.7.content.items.[INDEX].text","typeLabel":"string"}},"type":"object","required":["type","text"],"title":"Reasoning text","description":"Reasoning text from the model.","uniqueKey":"output.items.[INDEX].oneOf.7.content.items.[INDEX]","typeLabel":"Reasoning text · object"},"uniqueKey":"output.items.[INDEX].oneOf.7.content","typeLabel":"Reasoning text · object[]"},"status":{"type":"string","description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"uniqueKey":"output.items.[INDEX].oneOf.7.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"output.items.[INDEX].oneOf.7","typeLabel":"Reasoning · object"},{"type":"object","required":["type","id","call_id","code","fingerprint"],"properties":{"type":{"type":"string","enum":["program"],"description":"The type of the item. Always `program`.","default":"program","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.8.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the program item.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.8.id","typeLabel":"string"},"call_id":{"type":"string","description":"The stable call ID of the program item.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.8.call_id","typeLabel":"string"},"code":{"type":"string","description":"The JavaScript source executed by programmatic tool calling.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.8.code","typeLabel":"string"},"fingerprint":{"type":"string","description":"Opaque program replay fingerprint that must be round-tripped.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.8.fingerprint","typeLabel":"string"}},"uniqueKey":"output.items.[INDEX].oneOf.8","typeLabel":"object"},{"type":"object","required":["type","id","call_id","result","status"],"properties":{"type":{"type":"string","enum":["program_output"],"description":"The type of the item. Always `program_output`.","default":"program_output","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.9.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the program output item.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.9.id","typeLabel":"string"},"call_id":{"type":"string","description":"The call ID of the program item.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.9.call_id","typeLabel":"string"},"result":{"type":"string","description":"The result produced by the program item.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.9.result","typeLabel":"string"},"status":{"type":"string","enum":["completed","incomplete"],"description":"The terminal status of the program output item.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.9.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"output.items.[INDEX].oneOf.9","typeLabel":"object"},{"type":"object","required":["type","id","call_id","execution","arguments","status"],"properties":{"type":{"type":"string","enum":["tool_search_call"],"description":"The type of the item. Always `tool_search_call`.","default":"tool_search_call","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.10.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the tool search call item.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.10.id","typeLabel":"string"},"call_id":{"oneOf":[{"type":"string","description":"The unique ID of the tool search call generated by the model.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.10.call_id.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.10.call_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.10.call_id","typeLabel":"string | null"},"execution":{"type":"string","enum":["server","client"],"description":"Whether tool search was executed by the server or by the client.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.10.execution","typeLabel":"enum\u003cstring>"},"arguments":{"description":"Arguments used for the tool search call.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.10.arguments","typeLabel":"any"},"status":{"type":"string","enum":["in_progress","completed","incomplete"],"description":"The status of the tool search call item that was recorded.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.10.status","typeLabel":"enum\u003cstring>"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.","uniqueKey":"output.items.[INDEX].oneOf.10.created_by","typeLabel":"string"}},"uniqueKey":"output.items.[INDEX].oneOf.10","typeLabel":"object"},{"type":"object","required":["type","id","call_id","execution","tools","status"],"properties":{"type":{"type":"string","enum":["tool_search_output"],"description":"The type of the item. Always `tool_search_output`.","default":"tool_search_output","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.11.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the tool search output item.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.11.id","typeLabel":"string"},"call_id":{"oneOf":[{"type":"string","description":"The unique ID of the tool search call generated by the model.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.11.call_id.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.11.call_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.11.call_id","typeLabel":"string | null"},"execution":{"type":"string","enum":["server","client"],"description":"Whether tool search was executed by the server or by the client.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.11.execution","typeLabel":"enum\u003cstring>"},"tools":{"items":{"oneOf":[{"type":"object","title":"Function","description":"A tool that can be used to generate a response.\n","required":["type","name","strict","parameters"],"properties":{"type":{"type":"string","enum":["function"],"description":"The type of the function tool. Always `function`.","default":"function","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"The name of the function to call.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.0.name","typeLabel":"string"},"parameters":{"type":"any","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.0.parameters","typeLabel":"any"},"strict":{"type":"any","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.0.strict","typeLabel":"any"},"async":{"type":"boolean","uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.0.async","typeLabel":"boolean"},"description":{"type":"any","uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.0.description","typeLabel":"any"},"output_schema":{"type":"any","uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.0.output_schema","typeLabel":"any"},"defer_loading":{"type":"boolean","description":"Whether this function is deferred and loaded via tool search.","uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.0.defer_loading","typeLabel":"boolean"},"allowed_callers":{"type":"any","uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.0.allowed_callers","typeLabel":"any"}},"uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.0","typeLabel":"Function · object"},{"type":"object","title":"File search","description":"A tool that can be used to generate a response.\n","required":["type","vector_store_ids"],"properties":{"type":{"type":"string","enum":["file_search"],"description":"The type of the file search tool. Always `file_search`.","default":"file_search","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"vector_store_ids":{"items":{"type":"string","uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.1.vector_store_ids.items.[INDEX]","typeLabel":"string"},"type":"array","description":"The IDs of the vector stores to search.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.1.vector_store_ids","typeLabel":"string[]"},"max_num_results":{"type":"integer","description":"The maximum number of results to return. This number should be between 1 and 50 inclusive.","uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.1.max_num_results","typeLabel":"integer"},"ranking_options":{"properties":{"ranker":{"type":"string","enum":["auto","default-2024-11-15"],"description":"The ranker to use for the file search.","uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.1.ranking_options.ranker","typeLabel":"enum\u003cstring>"},"score_threshold":{"type":"number","description":"The score threshold for the file search, a number between 0 and 1. Numbers closer to 1 will attempt to return only the most relevant results, but may return fewer results.","uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.1.ranking_options.score_threshold","typeLabel":"number"},"hybrid_search":{"properties":{"embedding_weight":{"type":"number","description":"The weight of the embedding in the reciprocal ranking fusion.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.1.ranking_options.hybrid_search.embedding_weight","typeLabel":"number"},"text_weight":{"type":"number","description":"The weight of the text in the reciprocal ranking fusion.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.1.ranking_options.hybrid_search.text_weight","typeLabel":"number"}},"type":"object","required":["embedding_weight","text_weight"],"description":"Weights that control how reciprocal rank fusion balances semantic embedding matches versus sparse keyword matches when hybrid search is enabled.","uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.1.ranking_options.hybrid_search","typeLabel":"object"}},"type":"object","required":[],"description":"Ranking options for search.","uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.1.ranking_options","typeLabel":"object"},"filters":{"type":"any","uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.1.filters","typeLabel":"any"}},"uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.1","typeLabel":"File search · object"},{"type":"object","title":"Computer","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["computer"],"description":"The type of the computer tool. Always `computer`.","default":"computer","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.2","typeLabel":"Computer · object"},{"type":"object","title":"Computer use preview","description":"A tool that can be used to generate a response.\n","required":["type","environment","display_width","display_height"],"properties":{"type":{"type":"string","enum":["computer_use_preview"],"description":"The type of the computer use tool. Always `computer_use_preview`.","default":"computer_use_preview","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"environment":{"type":"string","enum":["windows","mac","linux","ubuntu","browser"],"description":"The type of computer environment to control.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.3.environment","typeLabel":"enum\u003cstring>"},"display_width":{"type":"integer","description":"The width of the computer display.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.3.display_width","typeLabel":"integer"},"display_height":{"type":"integer","description":"The height of the computer display.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.3.display_height","typeLabel":"integer"}},"uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.3","typeLabel":"Computer use preview · object"},{"type":"object","title":"Web search","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["web_search","web_search_2025_08_26"],"description":"The type of the web search tool. One of `web_search` or `web_search_2025_08_26`.","default":"web_search","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.4.type","typeLabel":"enum\u003cstring>"},"external_web_access":{"type":"boolean","default":true,"description":"Allow live internet access for web search. Defaults to true when omitted. When false, the web search tool runs in offline/cache-only mode and will not fetch new external content.","uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.4.external_web_access","typeLabel":"boolean"},"filters":{"type":"any","uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.4.filters","typeLabel":"any"},"user_location":{"type":"any","description":"The approximate location of the user. If omitted or null, defaults to the\nUnited States. To avoid this fallback, pass `{\"type\": \"approximate\"}` without\nlocation fields. To localize results, provide the relevant location fields.\n","uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.4.user_location","typeLabel":"any"},"search_context_size":{"type":"string","enum":["low","medium","high"],"default":"medium","description":"High level guidance for the amount of context window space to use for the search. One of `low`, `medium`, or `high`. `medium` is the default.","uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.4.search_context_size","typeLabel":"enum\u003cstring>"}},"uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.4","typeLabel":"Web search · object"},{"type":"object","title":"MCP tool","description":"A tool that can be used to generate a response.\n","required":["type","server_label"],"properties":{"type":{"type":"string","const":"mcp","description":"The type of the MCP tool. Always `mcp`.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.5.type","typeLabel":"string"},"server_label":{"type":"string","description":"A label for this MCP server, used to identify it in tool calls.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.5.server_label","typeLabel":"string"},"server_url":{"type":"string","format":"uri","description":"The URL for the MCP server. One of `server_url`, `connector_id`, or\n`tunnel_id` must be provided.\n","uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.5.server_url","typeLabel":"string\u003curi>"},"connector_id":{"type":"string","deprecated":true,"enum":["connector_dropbox","connector_gmail","connector_googlecalendar","connector_googledrive","connector_microsoftteams","connector_outlookcalendar","connector_outlookemail","connector_sharepoint"],"description":"Identifier for service connectors, like those available in ChatGPT. One of\n`server_url`, `connector_id`, or `tunnel_id` must be provided. Learn more\nabout service connectors [here](https://developers.openai.com/api/docs/guides/tools-connectors-mcp#connectors).\n\nThis field is deprecated for models released after September 1, 2026.\nUse `server_url` to connect to a remote MCP server, or `tunnel_id` to\nconnect through a Secure MCP Tunnel.\n\nCurrently supported `connector_id` values are:\n\n- Dropbox: `connector_dropbox`\n- Gmail: `connector_gmail`\n- Google Calendar: `connector_googlecalendar`\n- Google Drive: `connector_googledrive`\n- Microsoft Teams: `connector_microsoftteams`\n- Outlook Calendar: `connector_outlookcalendar`\n- Outlook Email: `connector_outlookemail`\n- SharePoint: `connector_sharepoint`\n","uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.5.connector_id","typeLabel":"enum\u003cstring>"},"tunnel_id":{"type":"string","pattern":"^tunnel_[a-z0-9]{32}$","description":"The Secure MCP Tunnel ID to use instead of a direct server URL. One of\n`server_url`, `connector_id`, or `tunnel_id` must be provided.\n","uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.5.tunnel_id","typeLabel":"string"},"authorization":{"type":"string","description":"An OAuth access token that can be used with a remote MCP server, either\nwith a custom MCP server URL or a service connector. Your application\nmust handle the OAuth authorization flow and provide the token here.\n","uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.5.authorization","typeLabel":"string"},"server_description":{"type":"string","description":"Optional description of the MCP server, used to provide more context.\n","uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.5.server_description","typeLabel":"string"},"headers":{"type":"any","uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.5.headers","typeLabel":"any"},"allowed_tools":{"type":"any","uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.5.allowed_tools","typeLabel":"any"},"allowed_callers":{"type":"any","uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.5.allowed_callers","typeLabel":"any"},"require_approval":{"type":"any","uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.5.require_approval","typeLabel":"any"},"defer_loading":{"type":"boolean","description":"Whether this MCP tool is deferred and discovered via tool search.\n","uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.5.defer_loading","typeLabel":"boolean"}},"uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.5","typeLabel":"MCP tool · object"},{"type":"object","title":"Code interpreter","description":"A tool that can be used to generate a response.\n","required":["type","container"],"properties":{"type":{"type":"string","enum":["code_interpreter"],"description":"The type of the code interpreter tool. Always `code_interpreter`.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.6.type","typeLabel":"enum\u003cstring>"},"container":{"type":"any","description":"The code interpreter container. Can be a container ID or an object that\nspecifies uploaded file IDs to make available to your code, along with an\noptional `memory_limit` setting.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.6.container","typeLabel":"any"},"allowed_callers":{"type":"any","uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.6.allowed_callers","typeLabel":"any"}},"uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.6","typeLabel":"Code interpreter · object"},{"type":"object","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["programmatic_tool_calling"],"description":"The type of the tool. Always `programmatic_tool_calling`.","default":"programmatic_tool_calling","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.7.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.7","typeLabel":"object"},{"type":"object","title":"Image generation tool","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["image_generation"],"description":"The type of the image generation tool. Always `image_generation`.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.8.type","typeLabel":"enum\u003cstring>"},"model":{"type":"any","uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.8.model","typeLabel":"any"},"complexity":{"type":"string","enum":["low","medium","high"],"description":"Computation spent planning the image, independently of rendering quality.\nOverrides the outer response's `reasoning.effort` for image generation.\nWhen omitted, inherits a supported outer reasoning effort or uses the\nimage model's configured default.\nFor SVG output, controls the reference image, not the SVG author's\nreasoning.\n","uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.8.complexity","typeLabel":"enum\u003cstring>"},"quality":{"type":"string","enum":["low","medium","high","xhigh","max","auto"],"description":"The quality of the generated image. The GPT image models support `low`,\n`medium`, and `high`. `gpt-image-2.5-sunburst` and `gpt-image-2.5-flare`,\nincluding their `2026-09-08` snapshots, also support `xhigh` and `max`.\nDefault: `auto`.\n","default":"auto","uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.8.quality","typeLabel":"enum\u003cstring>"},"size":{"type":"any","description":"The size of the generated images. For `gpt-image-2`, `gpt-image-2-2026-04-21`, `gpt-image-2.5-sunburst`, `gpt-image-2.5-sunburst-2026-09-08`, `gpt-image-2.5-flare`, and `gpt-image-2.5-flare-2026-09-08`, arbitrary resolutions are supported as `WIDTHxHEIGHT` strings, for example `1536x864`. Width and height must both be divisible by 16 and the requested aspect ratio must be between 1:3 and 3:1. Resolutions above `2560x1440` are experimental, and the maximum supported resolution is `3840x2160`. The requested size must also satisfy the model's current pixel and edge limits. The standard sizes `1024x1024`, `1536x1024`, and `1024x1536` are supported by the GPT image models; `auto` is supported for models that allow automatic sizing.","default":"auto","uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.8.size","typeLabel":"any"},"output_format":{"type":"string","enum":["png","webp","jpeg","gif","svg"],"description":"The output format of the generated image. One of `png`, `webp`, `jpeg`,\n`gif`, or `svg`. Default: `png`. GIF and SVG output require a model\nthat supports the selected format. GIF output does not support\npartial image streaming (`partial_images` greater than `0`),\n`input_image_mask`, or custom `output_compression`.\nResponses lifecycle events can still be streamed for GIF output.\n","default":"png","uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.8.output_format","typeLabel":"enum\u003cstring>"},"frame_count":{"type":"integer","minimum":2,"maximum":16,"default":9,"description":"Number of GIF frames. Requires `output_format` to be `gif`. Default: 9.\n","uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.8.frame_count","typeLabel":"integer"},"frame_duration_ms":{"type":"integer","minimum":20,"maximum":2000,"default":200,"description":"Duration of each GIF frame in milliseconds, rounded to 10 ms.\nRequires `output_format` to be `gif`. Default: 200.\n","uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.8.frame_duration_ms","typeLabel":"integer"},"svg":{"properties":{"model":{"type":"string","minLength":1,"uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.8.svg.model","typeLabel":"string"},"reasoning":{"type":"any","uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.8.svg.reasoning","typeLabel":"any"}},"type":"object","required":[],"description":"SVG author model settings. Requires `output_format` to be `svg`.\nWhen SVG model selection is enabled, omitting this object uses the\nouter response model. Otherwise, the default SVG author is used and\nexplicit model overrides are unavailable.\n","uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.8.svg","typeLabel":"object"},"output_compression":{"type":"integer","minimum":0,"maximum":100,"description":"Compression level for the output image. Default: 100.\n","default":100,"uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.8.output_compression","typeLabel":"integer"},"moderation":{"type":"string","enum":["auto","low"],"description":"Moderation level for the generated image. Default: `auto`.\n","default":"auto","uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.8.moderation","typeLabel":"enum\u003cstring>"},"background":{"type":"string","enum":["transparent","opaque","auto"],"description":"Set the background of the generated image. One of `transparent`, `opaque`,\nor `auto`. `gpt-image-2.5-sunburst` and `gpt-image-2.5-flare`, including\ntheir `2026-09-08` snapshots, support `opaque` and `transparent`\nbackgrounds. Transparent backgrounds are available for supported GPT Image\nmodels. For `gpt-image-2` and `gpt-image-2-2026-04-21`, this support is in\npreview. When using `transparent`, set the output format to `png` or `webp`.\nDefault: `auto`.\n","default":"auto","uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.8.background","typeLabel":"enum\u003cstring>"},"input_fidelity":{"type":"any","uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.8.input_fidelity","typeLabel":"any"},"input_image_mask":{"type":"object","description":"Optional mask for inpainting. Contains `image_url`\n(string, optional) and `file_id` (string, optional).\n","properties":{"image_url":{"type":"string","description":"Base64-encoded mask image.\n","uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.8.input_image_mask.image_url","typeLabel":"string"},"file_id":{"type":"string","description":"File ID for the mask image.\n","uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.8.input_image_mask.file_id","typeLabel":"string"}},"required":[],"additionalProperties":false,"uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.8.input_image_mask","typeLabel":"object"},"partial_images":{"type":"integer","minimum":0,"maximum":3,"description":"Number of partial images to generate in streaming mode, from 0 (default value) to 3.\n","default":0,"uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.8.partial_images","typeLabel":"integer"},"action":{"type":"string","enum":["generate","edit","auto"],"description":"Whether to generate a new image or edit an existing image. Default: `auto`.\n","uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.8.action","typeLabel":"enum\u003cstring>"}},"uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.8","typeLabel":"Image generation tool · object"},{"type":"object","title":"Local shell tool","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["local_shell"],"description":"The type of the local shell tool. Always `local_shell`.","default":"local_shell","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.9.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.9","typeLabel":"Local shell tool · object"},{"type":"object","title":"Shell tool","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["shell"],"description":"The type of the shell tool. Always `shell`.","default":"shell","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.10.type","typeLabel":"enum\u003cstring>"},"environment":{"type":"any","uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.10.environment","typeLabel":"any"},"allowed_callers":{"type":"any","uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.10.allowed_callers","typeLabel":"any"}},"uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.10","typeLabel":"Shell tool · object"},{"type":"object","title":"Custom tool","description":"A tool that can be used to generate a response.\n","required":["type","name"],"properties":{"type":{"type":"string","enum":["custom"],"description":"The type of the custom tool. Always `custom`.","default":"custom","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.11.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"The name of the custom tool, used to identify it in tool calls.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.11.name","typeLabel":"string"},"async":{"type":"boolean","description":"Whether the tool response can be returned asynchronously versus immediately returned on next response creation.","uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.11.async","typeLabel":"boolean"},"description":{"type":"string","description":"Optional description of the custom tool, used to provide more context.","uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.11.description","typeLabel":"string"},"format":{"type":"any","description":"The input format for the custom tool. Default is unconstrained text.","uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.11.format","typeLabel":"any"},"defer_loading":{"type":"boolean","description":"Whether this tool should be deferred and discovered via tool search.","uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.11.defer_loading","typeLabel":"boolean"},"allowed_callers":{"type":"any","uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.11.allowed_callers","typeLabel":"any"}},"uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.11","typeLabel":"Custom tool · object"},{"type":"object","title":"Namespace","description":"A tool that can be used to generate a response.\n","required":["type","name","description","tools"],"properties":{"type":{"type":"string","enum":["namespace"],"description":"The type of the tool. Always `namespace`.","default":"namespace","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.12.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","minLength":1,"description":"The namespace name used in tool calls (for example, `crm`).","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.12.name","typeLabel":"string"},"description":{"type":"string","description":"A description of the namespace shown to the model.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.12.description","typeLabel":"string"},"tools":{"items":{"type":"any","description":"A function or custom tool that belongs to a namespace.","uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.12.tools.items.[INDEX]","typeLabel":"any"},"type":"array","minItems":1,"description":"The function/custom tools available inside this namespace.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.12.tools","typeLabel":"any[]"}},"uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.12","typeLabel":"Namespace · object"},{"type":"object","title":"Tool search tool","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["tool_search"],"description":"The type of the tool. Always `tool_search`.","default":"tool_search","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.13.type","typeLabel":"enum\u003cstring>"},"execution":{"type":"string","enum":["server","client"],"description":"Whether tool search is executed by the server or by the client.","uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.13.execution","typeLabel":"enum\u003cstring>"},"description":{"type":"any","uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.13.description","typeLabel":"any"},"parameters":{"type":"any","uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.13.parameters","typeLabel":"any"}},"uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.13","typeLabel":"Tool search tool · object"},{"type":"object","title":"Web search preview","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["web_search_preview","web_search_preview_2025_03_11"],"description":"The type of the web search tool. One of `web_search_preview` or `web_search_preview_2025_03_11`.","default":"web_search_preview","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.14.type","typeLabel":"enum\u003cstring>"},"user_location":{"type":"any","uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.14.user_location","typeLabel":"any"},"search_context_size":{"type":"string","enum":["low","medium","high"],"description":"High level guidance for the amount of context window space to use for the search. One of `low`, `medium`, or `high`. `medium` is the default.","uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.14.search_context_size","typeLabel":"enum\u003cstring>"},"search_content_types":{"items":{"type":"string","enum":["text","image"],"uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.14.search_content_types.items.[INDEX]","typeLabel":"enum\u003cstring>"},"type":"array","uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.14.search_content_types","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.14","typeLabel":"Web search preview · object"},{"type":"object","title":"Apply patch tool","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["apply_patch"],"description":"The type of the tool. Always `apply_patch`.","default":"apply_patch","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.15.type","typeLabel":"enum\u003cstring>"},"allowed_callers":{"type":"any","uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.15.allowed_callers","typeLabel":"any"}},"uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX].oneOf.15","typeLabel":"Apply patch tool · object"}],"uniqueKey":"output.items.[INDEX].oneOf.11.tools.items.[INDEX]","typeLabel":"Function · object | File search · object | Computer · object | Computer use preview · object | Web search · object | MCP tool · object | Code interpreter · object | object | Image generation tool · object | Local shell tool · object | Shell tool · object | Custom tool · object | Namespace · object | Tool search tool · object | Web search preview · object | Apply patch tool · object"},"type":"array","description":"The loaded tool definitions returned by tool search.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.11.tools","typeLabel":"(Function · object | File search · object | Computer · object | Computer use preview · object | Web search · object | MCP tool · object | Code interpreter · object | object | Image generation tool · object | Local shell tool · object | Shell tool · object | Custom tool · object | Namespace · object | Tool search tool · object | Web search preview · object | Apply patch tool · object)[]"},"status":{"type":"string","enum":["in_progress","completed","incomplete"],"description":"The status of the tool search output item that was recorded.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.11.status","typeLabel":"enum\u003cstring>"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.","uniqueKey":"output.items.[INDEX].oneOf.11.created_by","typeLabel":"string"}},"uniqueKey":"output.items.[INDEX].oneOf.11","typeLabel":"object"},{"type":"object","required":["type","id","role","tools"],"properties":{"type":{"type":"string","enum":["additional_tools"],"description":"The type of the item. Always `additional_tools`.","default":"additional_tools","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.12.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the additional tools item.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.12.id","typeLabel":"string"},"role":{"type":"string","enum":["unknown","user","assistant","system","critic","discriminator","developer","tool"],"description":"The role that provided the additional tools.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.12.role","typeLabel":"enum\u003cstring>"},"tools":{"items":{"oneOf":[{"type":"object","title":"Function","description":"A tool that can be used to generate a response.\n","required":["type","name","strict","parameters"],"properties":{"type":{"type":"string","enum":["function"],"description":"The type of the function tool. Always `function`.","default":"function","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"The name of the function to call.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.0.name","typeLabel":"string"},"parameters":{"type":"any","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.0.parameters","typeLabel":"any"},"strict":{"type":"any","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.0.strict","typeLabel":"any"},"async":{"type":"boolean","uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.0.async","typeLabel":"boolean"},"description":{"type":"any","uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.0.description","typeLabel":"any"},"output_schema":{"type":"any","uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.0.output_schema","typeLabel":"any"},"defer_loading":{"type":"boolean","description":"Whether this function is deferred and loaded via tool search.","uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.0.defer_loading","typeLabel":"boolean"},"allowed_callers":{"type":"any","uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.0.allowed_callers","typeLabel":"any"}},"uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.0","typeLabel":"Function · object"},{"type":"object","title":"File search","description":"A tool that can be used to generate a response.\n","required":["type","vector_store_ids"],"properties":{"type":{"type":"string","enum":["file_search"],"description":"The type of the file search tool. Always `file_search`.","default":"file_search","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"vector_store_ids":{"items":{"type":"string","uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.1.vector_store_ids.items.[INDEX]","typeLabel":"string"},"type":"array","description":"The IDs of the vector stores to search.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.1.vector_store_ids","typeLabel":"string[]"},"max_num_results":{"type":"integer","description":"The maximum number of results to return. This number should be between 1 and 50 inclusive.","uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.1.max_num_results","typeLabel":"integer"},"ranking_options":{"properties":{"ranker":{"type":"string","enum":["auto","default-2024-11-15"],"description":"The ranker to use for the file search.","uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.1.ranking_options.ranker","typeLabel":"enum\u003cstring>"},"score_threshold":{"type":"number","description":"The score threshold for the file search, a number between 0 and 1. Numbers closer to 1 will attempt to return only the most relevant results, but may return fewer results.","uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.1.ranking_options.score_threshold","typeLabel":"number"},"hybrid_search":{"properties":{"embedding_weight":{"type":"number","description":"The weight of the embedding in the reciprocal ranking fusion.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.1.ranking_options.hybrid_search.embedding_weight","typeLabel":"number"},"text_weight":{"type":"number","description":"The weight of the text in the reciprocal ranking fusion.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.1.ranking_options.hybrid_search.text_weight","typeLabel":"number"}},"type":"object","required":["embedding_weight","text_weight"],"description":"Weights that control how reciprocal rank fusion balances semantic embedding matches versus sparse keyword matches when hybrid search is enabled.","uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.1.ranking_options.hybrid_search","typeLabel":"object"}},"type":"object","required":[],"description":"Ranking options for search.","uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.1.ranking_options","typeLabel":"object"},"filters":{"type":"any","uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.1.filters","typeLabel":"any"}},"uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.1","typeLabel":"File search · object"},{"type":"object","title":"Computer","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["computer"],"description":"The type of the computer tool. Always `computer`.","default":"computer","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.2","typeLabel":"Computer · object"},{"type":"object","title":"Computer use preview","description":"A tool that can be used to generate a response.\n","required":["type","environment","display_width","display_height"],"properties":{"type":{"type":"string","enum":["computer_use_preview"],"description":"The type of the computer use tool. Always `computer_use_preview`.","default":"computer_use_preview","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"environment":{"type":"string","enum":["windows","mac","linux","ubuntu","browser"],"description":"The type of computer environment to control.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.3.environment","typeLabel":"enum\u003cstring>"},"display_width":{"type":"integer","description":"The width of the computer display.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.3.display_width","typeLabel":"integer"},"display_height":{"type":"integer","description":"The height of the computer display.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.3.display_height","typeLabel":"integer"}},"uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.3","typeLabel":"Computer use preview · object"},{"type":"object","title":"Web search","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["web_search","web_search_2025_08_26"],"description":"The type of the web search tool. One of `web_search` or `web_search_2025_08_26`.","default":"web_search","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.4.type","typeLabel":"enum\u003cstring>"},"external_web_access":{"type":"boolean","default":true,"description":"Allow live internet access for web search. Defaults to true when omitted. When false, the web search tool runs in offline/cache-only mode and will not fetch new external content.","uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.4.external_web_access","typeLabel":"boolean"},"filters":{"type":"any","uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.4.filters","typeLabel":"any"},"user_location":{"type":"any","description":"The approximate location of the user. If omitted or null, defaults to the\nUnited States. To avoid this fallback, pass `{\"type\": \"approximate\"}` without\nlocation fields. To localize results, provide the relevant location fields.\n","uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.4.user_location","typeLabel":"any"},"search_context_size":{"type":"string","enum":["low","medium","high"],"default":"medium","description":"High level guidance for the amount of context window space to use for the search. One of `low`, `medium`, or `high`. `medium` is the default.","uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.4.search_context_size","typeLabel":"enum\u003cstring>"}},"uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.4","typeLabel":"Web search · object"},{"type":"object","title":"MCP tool","description":"A tool that can be used to generate a response.\n","required":["type","server_label"],"properties":{"type":{"type":"string","const":"mcp","description":"The type of the MCP tool. Always `mcp`.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.5.type","typeLabel":"string"},"server_label":{"type":"string","description":"A label for this MCP server, used to identify it in tool calls.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.5.server_label","typeLabel":"string"},"server_url":{"type":"string","format":"uri","description":"The URL for the MCP server. One of `server_url`, `connector_id`, or\n`tunnel_id` must be provided.\n","uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.5.server_url","typeLabel":"string\u003curi>"},"connector_id":{"type":"string","deprecated":true,"enum":["connector_dropbox","connector_gmail","connector_googlecalendar","connector_googledrive","connector_microsoftteams","connector_outlookcalendar","connector_outlookemail","connector_sharepoint"],"description":"Identifier for service connectors, like those available in ChatGPT. One of\n`server_url`, `connector_id`, or `tunnel_id` must be provided. Learn more\nabout service connectors [here](https://developers.openai.com/api/docs/guides/tools-connectors-mcp#connectors).\n\nThis field is deprecated for models released after September 1, 2026.\nUse `server_url` to connect to a remote MCP server, or `tunnel_id` to\nconnect through a Secure MCP Tunnel.\n\nCurrently supported `connector_id` values are:\n\n- Dropbox: `connector_dropbox`\n- Gmail: `connector_gmail`\n- Google Calendar: `connector_googlecalendar`\n- Google Drive: `connector_googledrive`\n- Microsoft Teams: `connector_microsoftteams`\n- Outlook Calendar: `connector_outlookcalendar`\n- Outlook Email: `connector_outlookemail`\n- SharePoint: `connector_sharepoint`\n","uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.5.connector_id","typeLabel":"enum\u003cstring>"},"tunnel_id":{"type":"string","pattern":"^tunnel_[a-z0-9]{32}$","description":"The Secure MCP Tunnel ID to use instead of a direct server URL. One of\n`server_url`, `connector_id`, or `tunnel_id` must be provided.\n","uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.5.tunnel_id","typeLabel":"string"},"authorization":{"type":"string","description":"An OAuth access token that can be used with a remote MCP server, either\nwith a custom MCP server URL or a service connector. Your application\nmust handle the OAuth authorization flow and provide the token here.\n","uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.5.authorization","typeLabel":"string"},"server_description":{"type":"string","description":"Optional description of the MCP server, used to provide more context.\n","uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.5.server_description","typeLabel":"string"},"headers":{"type":"any","uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.5.headers","typeLabel":"any"},"allowed_tools":{"type":"any","uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.5.allowed_tools","typeLabel":"any"},"allowed_callers":{"type":"any","uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.5.allowed_callers","typeLabel":"any"},"require_approval":{"type":"any","uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.5.require_approval","typeLabel":"any"},"defer_loading":{"type":"boolean","description":"Whether this MCP tool is deferred and discovered via tool search.\n","uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.5.defer_loading","typeLabel":"boolean"}},"uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.5","typeLabel":"MCP tool · object"},{"type":"object","title":"Code interpreter","description":"A tool that can be used to generate a response.\n","required":["type","container"],"properties":{"type":{"type":"string","enum":["code_interpreter"],"description":"The type of the code interpreter tool. Always `code_interpreter`.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.6.type","typeLabel":"enum\u003cstring>"},"container":{"type":"any","description":"The code interpreter container. Can be a container ID or an object that\nspecifies uploaded file IDs to make available to your code, along with an\noptional `memory_limit` setting.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.6.container","typeLabel":"any"},"allowed_callers":{"type":"any","uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.6.allowed_callers","typeLabel":"any"}},"uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.6","typeLabel":"Code interpreter · object"},{"type":"object","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["programmatic_tool_calling"],"description":"The type of the tool. Always `programmatic_tool_calling`.","default":"programmatic_tool_calling","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.7.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.7","typeLabel":"object"},{"type":"object","title":"Image generation tool","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["image_generation"],"description":"The type of the image generation tool. Always `image_generation`.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.8.type","typeLabel":"enum\u003cstring>"},"model":{"type":"any","uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.8.model","typeLabel":"any"},"complexity":{"type":"string","enum":["low","medium","high"],"description":"Computation spent planning the image, independently of rendering quality.\nOverrides the outer response's `reasoning.effort` for image generation.\nWhen omitted, inherits a supported outer reasoning effort or uses the\nimage model's configured default.\nFor SVG output, controls the reference image, not the SVG author's\nreasoning.\n","uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.8.complexity","typeLabel":"enum\u003cstring>"},"quality":{"type":"string","enum":["low","medium","high","xhigh","max","auto"],"description":"The quality of the generated image. The GPT image models support `low`,\n`medium`, and `high`. `gpt-image-2.5-sunburst` and `gpt-image-2.5-flare`,\nincluding their `2026-09-08` snapshots, also support `xhigh` and `max`.\nDefault: `auto`.\n","default":"auto","uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.8.quality","typeLabel":"enum\u003cstring>"},"size":{"type":"any","description":"The size of the generated images. For `gpt-image-2`, `gpt-image-2-2026-04-21`, `gpt-image-2.5-sunburst`, `gpt-image-2.5-sunburst-2026-09-08`, `gpt-image-2.5-flare`, and `gpt-image-2.5-flare-2026-09-08`, arbitrary resolutions are supported as `WIDTHxHEIGHT` strings, for example `1536x864`. Width and height must both be divisible by 16 and the requested aspect ratio must be between 1:3 and 3:1. Resolutions above `2560x1440` are experimental, and the maximum supported resolution is `3840x2160`. The requested size must also satisfy the model's current pixel and edge limits. The standard sizes `1024x1024`, `1536x1024`, and `1024x1536` are supported by the GPT image models; `auto` is supported for models that allow automatic sizing.","default":"auto","uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.8.size","typeLabel":"any"},"output_format":{"type":"string","enum":["png","webp","jpeg","gif","svg"],"description":"The output format of the generated image. One of `png`, `webp`, `jpeg`,\n`gif`, or `svg`. Default: `png`. GIF and SVG output require a model\nthat supports the selected format. GIF output does not support\npartial image streaming (`partial_images` greater than `0`),\n`input_image_mask`, or custom `output_compression`.\nResponses lifecycle events can still be streamed for GIF output.\n","default":"png","uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.8.output_format","typeLabel":"enum\u003cstring>"},"frame_count":{"type":"integer","minimum":2,"maximum":16,"default":9,"description":"Number of GIF frames. Requires `output_format` to be `gif`. Default: 9.\n","uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.8.frame_count","typeLabel":"integer"},"frame_duration_ms":{"type":"integer","minimum":20,"maximum":2000,"default":200,"description":"Duration of each GIF frame in milliseconds, rounded to 10 ms.\nRequires `output_format` to be `gif`. Default: 200.\n","uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.8.frame_duration_ms","typeLabel":"integer"},"svg":{"properties":{"model":{"type":"string","minLength":1,"uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.8.svg.model","typeLabel":"string"},"reasoning":{"type":"any","uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.8.svg.reasoning","typeLabel":"any"}},"type":"object","required":[],"description":"SVG author model settings. Requires `output_format` to be `svg`.\nWhen SVG model selection is enabled, omitting this object uses the\nouter response model. Otherwise, the default SVG author is used and\nexplicit model overrides are unavailable.\n","uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.8.svg","typeLabel":"object"},"output_compression":{"type":"integer","minimum":0,"maximum":100,"description":"Compression level for the output image. Default: 100.\n","default":100,"uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.8.output_compression","typeLabel":"integer"},"moderation":{"type":"string","enum":["auto","low"],"description":"Moderation level for the generated image. Default: `auto`.\n","default":"auto","uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.8.moderation","typeLabel":"enum\u003cstring>"},"background":{"type":"string","enum":["transparent","opaque","auto"],"description":"Set the background of the generated image. One of `transparent`, `opaque`,\nor `auto`. `gpt-image-2.5-sunburst` and `gpt-image-2.5-flare`, including\ntheir `2026-09-08` snapshots, support `opaque` and `transparent`\nbackgrounds. Transparent backgrounds are available for supported GPT Image\nmodels. For `gpt-image-2` and `gpt-image-2-2026-04-21`, this support is in\npreview. When using `transparent`, set the output format to `png` or `webp`.\nDefault: `auto`.\n","default":"auto","uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.8.background","typeLabel":"enum\u003cstring>"},"input_fidelity":{"type":"any","uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.8.input_fidelity","typeLabel":"any"},"input_image_mask":{"type":"object","description":"Optional mask for inpainting. Contains `image_url`\n(string, optional) and `file_id` (string, optional).\n","properties":{"image_url":{"type":"string","description":"Base64-encoded mask image.\n","uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.8.input_image_mask.image_url","typeLabel":"string"},"file_id":{"type":"string","description":"File ID for the mask image.\n","uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.8.input_image_mask.file_id","typeLabel":"string"}},"required":[],"additionalProperties":false,"uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.8.input_image_mask","typeLabel":"object"},"partial_images":{"type":"integer","minimum":0,"maximum":3,"description":"Number of partial images to generate in streaming mode, from 0 (default value) to 3.\n","default":0,"uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.8.partial_images","typeLabel":"integer"},"action":{"type":"string","enum":["generate","edit","auto"],"description":"Whether to generate a new image or edit an existing image. Default: `auto`.\n","uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.8.action","typeLabel":"enum\u003cstring>"}},"uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.8","typeLabel":"Image generation tool · object"},{"type":"object","title":"Local shell tool","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["local_shell"],"description":"The type of the local shell tool. Always `local_shell`.","default":"local_shell","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.9.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.9","typeLabel":"Local shell tool · object"},{"type":"object","title":"Shell tool","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["shell"],"description":"The type of the shell tool. Always `shell`.","default":"shell","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.10.type","typeLabel":"enum\u003cstring>"},"environment":{"type":"any","uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.10.environment","typeLabel":"any"},"allowed_callers":{"type":"any","uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.10.allowed_callers","typeLabel":"any"}},"uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.10","typeLabel":"Shell tool · object"},{"type":"object","title":"Custom tool","description":"A tool that can be used to generate a response.\n","required":["type","name"],"properties":{"type":{"type":"string","enum":["custom"],"description":"The type of the custom tool. Always `custom`.","default":"custom","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.11.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"The name of the custom tool, used to identify it in tool calls.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.11.name","typeLabel":"string"},"async":{"type":"boolean","description":"Whether the tool response can be returned asynchronously versus immediately returned on next response creation.","uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.11.async","typeLabel":"boolean"},"description":{"type":"string","description":"Optional description of the custom tool, used to provide more context.","uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.11.description","typeLabel":"string"},"format":{"type":"any","description":"The input format for the custom tool. Default is unconstrained text.","uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.11.format","typeLabel":"any"},"defer_loading":{"type":"boolean","description":"Whether this tool should be deferred and discovered via tool search.","uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.11.defer_loading","typeLabel":"boolean"},"allowed_callers":{"type":"any","uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.11.allowed_callers","typeLabel":"any"}},"uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.11","typeLabel":"Custom tool · object"},{"type":"object","title":"Namespace","description":"A tool that can be used to generate a response.\n","required":["type","name","description","tools"],"properties":{"type":{"type":"string","enum":["namespace"],"description":"The type of the tool. Always `namespace`.","default":"namespace","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.12.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","minLength":1,"description":"The namespace name used in tool calls (for example, `crm`).","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.12.name","typeLabel":"string"},"description":{"type":"string","description":"A description of the namespace shown to the model.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.12.description","typeLabel":"string"},"tools":{"items":{"type":"any","description":"A function or custom tool that belongs to a namespace.","uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.12.tools.items.[INDEX]","typeLabel":"any"},"type":"array","minItems":1,"description":"The function/custom tools available inside this namespace.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.12.tools","typeLabel":"any[]"}},"uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.12","typeLabel":"Namespace · object"},{"type":"object","title":"Tool search tool","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["tool_search"],"description":"The type of the tool. Always `tool_search`.","default":"tool_search","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.13.type","typeLabel":"enum\u003cstring>"},"execution":{"type":"string","enum":["server","client"],"description":"Whether tool search is executed by the server or by the client.","uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.13.execution","typeLabel":"enum\u003cstring>"},"description":{"type":"any","uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.13.description","typeLabel":"any"},"parameters":{"type":"any","uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.13.parameters","typeLabel":"any"}},"uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.13","typeLabel":"Tool search tool · object"},{"type":"object","title":"Web search preview","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["web_search_preview","web_search_preview_2025_03_11"],"description":"The type of the web search tool. One of `web_search_preview` or `web_search_preview_2025_03_11`.","default":"web_search_preview","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.14.type","typeLabel":"enum\u003cstring>"},"user_location":{"type":"any","uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.14.user_location","typeLabel":"any"},"search_context_size":{"type":"string","enum":["low","medium","high"],"description":"High level guidance for the amount of context window space to use for the search. One of `low`, `medium`, or `high`. `medium` is the default.","uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.14.search_context_size","typeLabel":"enum\u003cstring>"},"search_content_types":{"items":{"type":"string","enum":["text","image"],"uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.14.search_content_types.items.[INDEX]","typeLabel":"enum\u003cstring>"},"type":"array","uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.14.search_content_types","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.14","typeLabel":"Web search preview · object"},{"type":"object","title":"Apply patch tool","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["apply_patch"],"description":"The type of the tool. Always `apply_patch`.","default":"apply_patch","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.15.type","typeLabel":"enum\u003cstring>"},"allowed_callers":{"type":"any","uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.15.allowed_callers","typeLabel":"any"}},"uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX].oneOf.15","typeLabel":"Apply patch tool · object"}],"uniqueKey":"output.items.[INDEX].oneOf.12.tools.items.[INDEX]","typeLabel":"Function · object | File search · object | Computer · object | Computer use preview · object | Web search · object | MCP tool · object | Code interpreter · object | object | Image generation tool · object | Local shell tool · object | Shell tool · object | Custom tool · object | Namespace · object | Tool search tool · object | Web search preview · object | Apply patch tool · object"},"type":"array","description":"The additional tool definitions made available at this item.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.12.tools","typeLabel":"(Function · object | File search · object | Computer · object | Computer use preview · object | Web search · object | MCP tool · object | Code interpreter · object | object | Image generation tool · object | Local shell tool · object | Shell tool · object | Custom tool · object | Namespace · object | Tool search tool · object | Web search preview · object | Apply patch tool · object)[]"}},"uniqueKey":"output.items.[INDEX].oneOf.12","typeLabel":"object"},{"type":"object","title":"Compaction item","description":"A compaction item generated by the [`v1/responses/compact` API](https://developers.openai.com/api/reference/resources/responses/methods/compact).","required":["type","id","encrypted_content"],"properties":{"type":{"type":"string","enum":["compaction"],"description":"The type of the item. Always `compaction`.","default":"compaction","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.13.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the compaction item.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.13.id","typeLabel":"string"},"encrypted_content":{"type":"string","description":"The encrypted content that was produced by compaction.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.13.encrypted_content","typeLabel":"string"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.","uniqueKey":"output.items.[INDEX].oneOf.13.created_by","typeLabel":"string"}},"uniqueKey":"output.items.[INDEX].oneOf.13","typeLabel":"Compaction item · object"},{"type":"object","title":"Image generation call","description":"An image generation request made by the model.","required":["type","id","status","result"],"properties":{"type":{"type":"string","enum":["image_generation_call"],"description":"The type of the image generation call. Always `image_generation_call`.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.14.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the image generation call.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.14.id","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","completed","generating","failed"],"description":"The status of the image generation call.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.14.status","typeLabel":"enum\u003cstring>"},"result":{"oneOf":[{"type":"string","description":"The generated image encoded in base64.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.14.result.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.14.result.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.14.result","typeLabel":"string | null"},"error":{"properties":{"code":{"oneOf":[{"type":"string","description":"The error code.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.14.error.code.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.14.error.code.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.14.error.code","typeLabel":"string | null"},"type":{"type":"string","description":"The error type.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.14.error.type","typeLabel":"string"},"message":{"type":"string","description":"A description of the error.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.14.error.message","typeLabel":"string"},"param":{"oneOf":[{"type":"string","description":"The related request parameter.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.14.error.param.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.14.error.param.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.14.error.param","typeLabel":"string | null"},"moderation_details":{"properties":{"moderation_stage":{"type":"string","enum":["input","output","unknown"],"description":"The stage where moderation blocked the image generation call.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.14.error.moderation_details.moderation_stage","typeLabel":"enum\u003cstring>"},"categories":{"items":{"type":"string","uniqueKey":"output.items.[INDEX].oneOf.14.error.moderation_details.categories.items.[INDEX]","typeLabel":"string"},"type":"array","description":"Public moderation categories. New category values may be added over time.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.14.error.moderation_details.categories","typeLabel":"string[]"}},"type":"object","required":["moderation_stage","categories"],"description":"Public details for a `moderation_blocked` error, when available.","uniqueKey":"output.items.[INDEX].oneOf.14.error.moderation_details","typeLabel":"object"}},"type":"object","required":["code","type","message","param"],"description":"Details of a moderation failure, when available.","uniqueKey":"output.items.[INDEX].oneOf.14.error","typeLabel":"object"},"size":{"oneOf":[{"type":"string","description":"The image dimensions as a `WIDTHxHEIGHT` string, for example `1536x864`.","uniqueKey":"output.items.[INDEX].oneOf.14.size.oneOf.0","typeLabel":"string"},{"type":"string","description":"The image dimensions as a `WIDTHxHEIGHT` string, for example `1536x864`.","enum":["1024x1024","1024x1536","1536x1024"],"uniqueKey":"output.items.[INDEX].oneOf.14.size.oneOf.1","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"output.items.[INDEX].oneOf.14.size.oneOf.2","typeLabel":"null"}],"uniqueKey":"output.items.[INDEX].oneOf.14.size","typeLabel":"string | enum\u003cstring> | null"},"quality":{"oneOf":[{"type":"string","description":"The quality of the image generated by the image generation tool call. One of `low`, `medium`, `high`, `xhigh`, `max`, or `auto`.","enum":["low","medium","high","xhigh","max","auto"],"uniqueKey":"output.items.[INDEX].oneOf.14.quality.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"output.items.[INDEX].oneOf.14.quality.oneOf.1","typeLabel":"null"}],"uniqueKey":"output.items.[INDEX].oneOf.14.quality","typeLabel":"enum\u003cstring> | null"},"action":{"oneOf":[{"type":"string","description":"The action used for image generation.","enum":["generate","edit","auto"],"uniqueKey":"output.items.[INDEX].oneOf.14.action.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"output.items.[INDEX].oneOf.14.action.oneOf.1","typeLabel":"null"}],"uniqueKey":"output.items.[INDEX].oneOf.14.action","typeLabel":"enum\u003cstring> | null"},"background":{"oneOf":[{"type":"string","description":"The background setting used for generation.","enum":["transparent","opaque","auto"],"uniqueKey":"output.items.[INDEX].oneOf.14.background.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"output.items.[INDEX].oneOf.14.background.oneOf.1","typeLabel":"null"}],"uniqueKey":"output.items.[INDEX].oneOf.14.background","typeLabel":"enum\u003cstring> | null"},"output_format":{"oneOf":[{"type":"string","description":"The output format used for generation.","enum":["png","webp","jpeg","gif","svg"],"uniqueKey":"output.items.[INDEX].oneOf.14.output_format.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"output.items.[INDEX].oneOf.14.output_format.oneOf.1","typeLabel":"null"}],"uniqueKey":"output.items.[INDEX].oneOf.14.output_format","typeLabel":"enum\u003cstring> | null"},"svg_usage":{"properties":{"model":{"type":"string","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.14.svg_usage.model","typeLabel":"string"},"input_tokens":{"type":"integer","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.14.svg_usage.input_tokens","typeLabel":"integer"},"output_tokens":{"type":"integer","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.14.svg_usage.output_tokens","typeLabel":"integer"},"total_tokens":{"type":"integer","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.14.svg_usage.total_tokens","typeLabel":"integer"},"reasoning_tokens":{"type":"integer","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.14.svg_usage.reasoning_tokens","typeLabel":"integer"}},"type":"object","required":["model","input_tokens","output_tokens","total_tokens","reasoning_tokens"],"uniqueKey":"output.items.[INDEX].oneOf.14.svg_usage","typeLabel":"object"},"revised_prompt":{"oneOf":[{"type":"string","description":"The prompt that was used after any model prompt rewriting.","uniqueKey":"output.items.[INDEX].oneOf.14.revised_prompt.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"output.items.[INDEX].oneOf.14.revised_prompt.oneOf.1","typeLabel":"null"}],"uniqueKey":"output.items.[INDEX].oneOf.14.revised_prompt","typeLabel":"string | null"}},"uniqueKey":"output.items.[INDEX].oneOf.14","typeLabel":"Image generation call · object"},{"type":"object","title":"Code interpreter tool call","description":"A tool call to run code.\n","required":["type","id","status","container_id","code","outputs"],"properties":{"type":{"type":"string","enum":["code_interpreter_call"],"default":"code_interpreter_call","description":"The type of the code interpreter tool call. Always `code_interpreter_call`.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.15.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the code interpreter tool call.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.15.id","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","completed","incomplete","interpreting","failed"],"description":"The status of the code interpreter tool call. Valid values are `in_progress`, `completed`, `incomplete`, `interpreting`, and `failed`.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.15.status","typeLabel":"enum\u003cstring>"},"container_id":{"type":"string","description":"The ID of the container used to run the code.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.15.container_id","typeLabel":"string"},"code":{"oneOf":[{"type":"string","description":"The code to run, or null if not available.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.15.code.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.15.code.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.15.code","typeLabel":"string | null"},"outputs":{"oneOf":[{"type":"array","items":{"oneOf":[{"type":"object","title":"Code interpreter output logs","description":"The logs output from the code interpreter.","required":["type","logs"],"properties":{"type":{"type":"string","enum":["logs"],"description":"The type of the output. Always `logs`.","default":"logs","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.15.outputs.oneOf.0.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"logs":{"type":"string","description":"The logs output from the code interpreter.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.15.outputs.oneOf.0.items.[INDEX].oneOf.0.logs","typeLabel":"string"}},"uniqueKey":"output.items.[INDEX].oneOf.15.outputs.oneOf.0.items.[INDEX].oneOf.0","typeLabel":"Code interpreter output logs · object"},{"type":"object","title":"Code interpreter output image","description":"The image output from the code interpreter.","required":["type","url"],"properties":{"type":{"type":"string","enum":["image"],"description":"The type of the output. Always `image`.","default":"image","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.15.outputs.oneOf.0.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"url":{"type":"string","format":"uri","description":"The URL of the image output from the code interpreter.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.15.outputs.oneOf.0.items.[INDEX].oneOf.1.url","typeLabel":"string\u003curi>"}},"uniqueKey":"output.items.[INDEX].oneOf.15.outputs.oneOf.0.items.[INDEX].oneOf.1","typeLabel":"Code interpreter output image · object"}],"uniqueKey":"output.items.[INDEX].oneOf.15.outputs.oneOf.0.items.[INDEX]","typeLabel":"Code interpreter output logs · object | Code interpreter output image · object"},"description":"The outputs generated by the code interpreter, such as logs or images.\nCan be null if no outputs are available.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.15.outputs.oneOf.0","typeLabel":"(Code interpreter output logs · object | Code interpreter output image · object)[]"},{"type":"null","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.15.outputs.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.15.outputs","typeLabel":"(Code interpreter output logs · object | Code interpreter output image · object)[] | null"}},"uniqueKey":"output.items.[INDEX].oneOf.15","typeLabel":"Code interpreter tool call · object"},{"type":"object","title":"Local shell call","description":"A tool call to run a command on the local shell.\n","required":["type","id","call_id","action","status"],"properties":{"type":{"type":"string","enum":["local_shell_call"],"description":"The type of the local shell call. Always `local_shell_call`.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.16.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the local shell call.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.16.id","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the local shell tool call generated by the model.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.16.call_id","typeLabel":"string"},"action":{"properties":{"type":{"type":"string","enum":["exec"],"description":"The type of the local shell action. Always `exec`.","default":"exec","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.16.action.type","typeLabel":"enum\u003cstring>"},"command":{"items":{"type":"string","uniqueKey":"output.items.[INDEX].oneOf.16.action.command.items.[INDEX]","typeLabel":"string"},"type":"array","description":"The command to run.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.16.action.command","typeLabel":"string[]"},"env":{"additionalProperties":{"type":"string","uniqueKey":"output.items.[INDEX].oneOf.16.action.env.additionalProperties","typeLabel":"string"},"type":"object","description":"Environment variables to set for the command.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.16.action.env","typeLabel":"object"},"timeout_ms":{"oneOf":[{"type":"integer","description":"Optional timeout in milliseconds for the command.","uniqueKey":"output.items.[INDEX].oneOf.16.action.timeout_ms.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"output.items.[INDEX].oneOf.16.action.timeout_ms.oneOf.1","typeLabel":"null"}],"uniqueKey":"output.items.[INDEX].oneOf.16.action.timeout_ms","typeLabel":"integer | null"},"working_directory":{"oneOf":[{"type":"string","description":"Optional working directory to run the command in.","uniqueKey":"output.items.[INDEX].oneOf.16.action.working_directory.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"output.items.[INDEX].oneOf.16.action.working_directory.oneOf.1","typeLabel":"null"}],"uniqueKey":"output.items.[INDEX].oneOf.16.action.working_directory","typeLabel":"string | null"},"user":{"oneOf":[{"type":"string","description":"Optional user to run the command as.","uniqueKey":"output.items.[INDEX].oneOf.16.action.user.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"output.items.[INDEX].oneOf.16.action.user.oneOf.1","typeLabel":"null"}],"uniqueKey":"output.items.[INDEX].oneOf.16.action.user","typeLabel":"string | null"}},"type":"object","required":["type","command","env"],"title":"Local shell exec action","description":"Execute a shell command on the server.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.16.action","typeLabel":"Local shell exec action · object"},"status":{"type":"string","enum":["in_progress","completed","incomplete"],"description":"The status of the local shell call.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.16.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"output.items.[INDEX].oneOf.16","typeLabel":"Local shell call · object"},{"type":"object","title":"Local shell call output","description":"The output of a local shell tool call.\n","required":["id","type","call_id","output"],"properties":{"type":{"type":"string","enum":["local_shell_call_output"],"description":"The type of the local shell tool call output. Always `local_shell_call_output`.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.17.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the local shell tool call generated by the model.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.17.id","typeLabel":"string"},"output":{"type":"string","description":"A JSON string of the output of the local shell tool call.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.17.output","typeLabel":"string"},"status":{"oneOf":[{"type":"string","description":"The status of the item. One of `in_progress`, `completed`, or `incomplete`.\n","enum":["in_progress","completed","incomplete"],"uniqueKey":"output.items.[INDEX].oneOf.17.status.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"output.items.[INDEX].oneOf.17.status.oneOf.1","typeLabel":"null"}],"uniqueKey":"output.items.[INDEX].oneOf.17.status","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"output.items.[INDEX].oneOf.17","typeLabel":"Local shell call output · object"},{"type":"object","title":"Shell tool call","description":"A tool call that executes one or more shell commands in a managed environment.","required":["type","id","call_id","action","status","environment"],"properties":{"type":{"type":"string","enum":["shell_call"],"description":"The type of the item. Always `shell_call`.","default":"shell_call","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.18.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the shell tool call. Populated when this item is returned via API.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.18.id","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the shell tool call generated by the model.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.18.call_id","typeLabel":"string"},"action":{"properties":{"commands":{"items":{"type":"string","description":"A list of commands to run.","uniqueKey":"output.items.[INDEX].oneOf.18.action.commands.items.[INDEX]","typeLabel":"string"},"type":"array","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.18.action.commands","typeLabel":"string[]"},"timeout_ms":{"oneOf":[{"type":"integer","description":"Optional timeout in milliseconds for the commands.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.18.action.timeout_ms.oneOf.0","typeLabel":"integer"},{"type":"null","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.18.action.timeout_ms.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.18.action.timeout_ms","typeLabel":"integer | null"},"max_output_length":{"oneOf":[{"type":"integer","description":"Optional maximum number of characters to return from each command.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.18.action.max_output_length.oneOf.0","typeLabel":"integer"},{"type":"null","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.18.action.max_output_length.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.18.action.max_output_length","typeLabel":"integer | null"}},"type":"object","required":["commands","timeout_ms","max_output_length"],"title":"Shell exec action","description":"The shell commands and limits that describe how to run the tool call.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.18.action","typeLabel":"Shell exec action · object"},"status":{"type":"string","enum":["in_progress","completed","incomplete"],"description":"The status of the shell call. One of `in_progress`, `completed`, or `incomplete`.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.18.status","typeLabel":"enum\u003cstring>"},"environment":{"oneOf":[{"type":"object","title":"Local Environment","description":"Represents the use of a local environment to perform shell actions.","required":["type"],"properties":{"type":{"type":"string","enum":["local"],"description":"The environment type. Always `local`.","default":"local","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.18.environment.oneOf.0.type","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.18.environment.oneOf.0","typeLabel":"Local Environment · object"},{"type":"object","title":"Container Reference","description":"Represents a container created with /v1/containers.","required":["type","container_id"],"properties":{"type":{"type":"string","enum":["container_reference"],"description":"The environment type. Always `container_reference`.","default":"container_reference","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.18.environment.oneOf.1.type","typeLabel":"enum\u003cstring>"},"container_id":{"type":"string","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.18.environment.oneOf.1.container_id","typeLabel":"string"}},"isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.18.environment.oneOf.1","typeLabel":"Container Reference · object"},{"type":"null","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.18.environment.oneOf.2","typeLabel":"null"}],"isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.18.environment","typeLabel":"Local Environment · object | Container Reference · object | null"},"caller":{"oneOf":[{"type":"object","description":"The execution context that produced this tool call.","required":["type"],"properties":{"type":{"type":"string","enum":["direct"],"default":"direct","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.18.caller.oneOf.0.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"output.items.[INDEX].oneOf.18.caller.oneOf.0","typeLabel":"object"},{"type":"object","description":"The execution context that produced this tool call.","required":["type","caller_id"],"properties":{"type":{"type":"string","enum":["program"],"default":"program","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.18.caller.oneOf.1.type","typeLabel":"enum\u003cstring>"},"caller_id":{"type":"string","description":"The call ID of the program item that produced this tool call.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.18.caller.oneOf.1.caller_id","typeLabel":"string"}},"uniqueKey":"output.items.[INDEX].oneOf.18.caller.oneOf.1","typeLabel":"object"},{"type":"null","uniqueKey":"output.items.[INDEX].oneOf.18.caller.oneOf.2","typeLabel":"null"}],"uniqueKey":"output.items.[INDEX].oneOf.18.caller","typeLabel":"object · object · null"},"created_by":{"type":"string","description":"The ID of the entity that created this tool call.","uniqueKey":"output.items.[INDEX].oneOf.18.created_by","typeLabel":"string"}},"uniqueKey":"output.items.[INDEX].oneOf.18","typeLabel":"Shell tool call · object"},{"type":"object","title":"Shell call output","description":"The output of a shell tool call that was emitted.","required":["type","id","call_id","status","output","max_output_length"],"properties":{"type":{"type":"string","enum":["shell_call_output"],"description":"The type of the shell call output. Always `shell_call_output`.","default":"shell_call_output","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.19.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the shell call output. Populated when this item is returned via API.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.19.id","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the shell tool call generated by the model.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.19.call_id","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","completed","incomplete"],"description":"The status of the shell call output. One of `in_progress`, `completed`, or `incomplete`.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.19.status","typeLabel":"enum\u003cstring>"},"output":{"items":{"properties":{"stdout":{"type":"string","description":"The standard output that was captured.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.19.output.items.[INDEX].stdout","typeLabel":"string"},"stderr":{"type":"string","description":"The standard error output that was captured.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.19.output.items.[INDEX].stderr","typeLabel":"string"},"outcome":{"oneOf":[{"type":"object","title":"Shell call timeout outcome","description":"Indicates that the shell call exceeded its configured time limit.","required":["type"],"properties":{"type":{"type":"string","enum":["timeout"],"description":"The outcome type. Always `timeout`.","default":"timeout","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.19.output.items.[INDEX].outcome.oneOf.0.type","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.19.output.items.[INDEX].outcome.oneOf.0","typeLabel":"Shell call timeout outcome · object"},{"type":"object","title":"Shell call exit outcome","description":"Indicates that the shell commands finished and returned an exit code.","required":["type","exit_code"],"properties":{"type":{"type":"string","enum":["exit"],"description":"The outcome type. Always `exit`.","default":"exit","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.19.output.items.[INDEX].outcome.oneOf.1.type","typeLabel":"enum\u003cstring>"},"exit_code":{"type":"integer","description":"Exit code from the shell process.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.19.output.items.[INDEX].outcome.oneOf.1.exit_code","typeLabel":"integer"}},"isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.19.output.items.[INDEX].outcome.oneOf.1","typeLabel":"Shell call exit outcome · object"}],"isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.19.output.items.[INDEX].outcome","typeLabel":"Shell call timeout outcome · object | Shell call exit outcome · object"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.","uniqueKey":"output.items.[INDEX].oneOf.19.output.items.[INDEX].created_by","typeLabel":"string"}},"type":"object","required":["stdout","stderr","outcome"],"title":"Shell call output content","description":"The content of a shell tool call output that was emitted.","uniqueKey":"output.items.[INDEX].oneOf.19.output.items.[INDEX]","typeLabel":"Shell call output content · object"},"type":"array","description":"An array of shell call output contents","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.19.output","typeLabel":"Shell call output content · object[]"},"max_output_length":{"oneOf":[{"type":"integer","description":"The maximum length of the shell command output. This is generated by the model and should be passed back with the raw output.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.19.max_output_length.oneOf.0","typeLabel":"integer"},{"type":"null","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.19.max_output_length.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.19.max_output_length","typeLabel":"integer | null"},"caller":{"oneOf":[{"type":"object","description":"The execution context that produced this tool call.","required":["type"],"properties":{"type":{"type":"string","enum":["direct"],"default":"direct","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.19.caller.oneOf.0.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"output.items.[INDEX].oneOf.19.caller.oneOf.0","typeLabel":"object"},{"type":"object","description":"The execution context that produced this tool call.","required":["type","caller_id"],"properties":{"type":{"type":"string","enum":["program"],"default":"program","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.19.caller.oneOf.1.type","typeLabel":"enum\u003cstring>"},"caller_id":{"type":"string","description":"The call ID of the program item that produced this tool call.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.19.caller.oneOf.1.caller_id","typeLabel":"string"}},"uniqueKey":"output.items.[INDEX].oneOf.19.caller.oneOf.1","typeLabel":"object"},{"type":"null","uniqueKey":"output.items.[INDEX].oneOf.19.caller.oneOf.2","typeLabel":"null"}],"uniqueKey":"output.items.[INDEX].oneOf.19.caller","typeLabel":"object · object · null"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.","uniqueKey":"output.items.[INDEX].oneOf.19.created_by","typeLabel":"string"}},"uniqueKey":"output.items.[INDEX].oneOf.19","typeLabel":"Shell call output · object"},{"type":"object","title":"Apply patch tool call","description":"A tool call that applies file diffs by creating, deleting, or updating files.","required":["type","id","call_id","status","operation"],"properties":{"type":{"type":"string","enum":["apply_patch_call"],"description":"The type of the item. Always `apply_patch_call`.","default":"apply_patch_call","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.20.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the apply patch tool call. Populated when this item is returned via API.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.20.id","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the apply patch tool call generated by the model.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.20.call_id","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","completed"],"description":"The status of the apply patch tool call. One of `in_progress` or `completed`.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.20.status","typeLabel":"enum\u003cstring>"},"operation":{"oneOf":[{"type":"object","title":"Apply patch create file operation","description":"Instruction describing how to create a file via the apply_patch tool.","required":["type","path","diff"],"properties":{"type":{"type":"string","enum":["create_file"],"description":"Create a new file with the provided diff.","default":"create_file","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.20.operation.oneOf.0.type","typeLabel":"enum\u003cstring>"},"path":{"type":"string","description":"Path of the file to create.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.20.operation.oneOf.0.path","typeLabel":"string"},"diff":{"type":"string","description":"Diff to apply.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.20.operation.oneOf.0.diff","typeLabel":"string"}},"isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.20.operation.oneOf.0","typeLabel":"Apply patch create file operation · object"},{"type":"object","title":"Apply patch delete file operation","description":"Instruction describing how to delete a file via the apply_patch tool.","required":["type","path"],"properties":{"type":{"type":"string","enum":["delete_file"],"description":"Delete the specified file.","default":"delete_file","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.20.operation.oneOf.1.type","typeLabel":"enum\u003cstring>"},"path":{"type":"string","description":"Path of the file to delete.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.20.operation.oneOf.1.path","typeLabel":"string"}},"isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.20.operation.oneOf.1","typeLabel":"Apply patch delete file operation · object"},{"type":"object","title":"Apply patch update file operation","description":"Instruction describing how to update a file via the apply_patch tool.","required":["type","path","diff"],"properties":{"type":{"type":"string","enum":["update_file"],"description":"Update an existing file with the provided diff.","default":"update_file","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.20.operation.oneOf.2.type","typeLabel":"enum\u003cstring>"},"path":{"type":"string","description":"Path of the file to update.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.20.operation.oneOf.2.path","typeLabel":"string"},"diff":{"type":"string","description":"Diff to apply.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.20.operation.oneOf.2.diff","typeLabel":"string"}},"isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.20.operation.oneOf.2","typeLabel":"Apply patch update file operation · object"}],"isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.20.operation","typeLabel":"Apply patch create file operation · object | Apply patch delete file operation · object | Apply patch update file operation · object"},"caller":{"oneOf":[{"type":"object","description":"The execution context that produced this tool call.","required":["type"],"properties":{"type":{"type":"string","enum":["direct"],"default":"direct","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.20.caller.oneOf.0.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"output.items.[INDEX].oneOf.20.caller.oneOf.0","typeLabel":"object"},{"type":"object","description":"The execution context that produced this tool call.","required":["type","caller_id"],"properties":{"type":{"type":"string","enum":["program"],"default":"program","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.20.caller.oneOf.1.type","typeLabel":"enum\u003cstring>"},"caller_id":{"type":"string","description":"The call ID of the program item that produced this tool call.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.20.caller.oneOf.1.caller_id","typeLabel":"string"}},"uniqueKey":"output.items.[INDEX].oneOf.20.caller.oneOf.1","typeLabel":"object"},{"type":"null","uniqueKey":"output.items.[INDEX].oneOf.20.caller.oneOf.2","typeLabel":"null"}],"uniqueKey":"output.items.[INDEX].oneOf.20.caller","typeLabel":"object · object · null"},"created_by":{"type":"string","description":"The ID of the entity that created this tool call.","uniqueKey":"output.items.[INDEX].oneOf.20.created_by","typeLabel":"string"}},"uniqueKey":"output.items.[INDEX].oneOf.20","typeLabel":"Apply patch tool call · object"},{"type":"object","title":"Apply patch tool call output","description":"The output emitted by an apply patch tool call.","required":["type","id","call_id","status"],"properties":{"type":{"type":"string","enum":["apply_patch_call_output"],"description":"The type of the item. Always `apply_patch_call_output`.","default":"apply_patch_call_output","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.21.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the apply patch tool call output. Populated when this item is returned via API.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.21.id","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the apply patch tool call generated by the model.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.21.call_id","typeLabel":"string"},"status":{"type":"string","enum":["completed","failed"],"description":"The status of the apply patch tool call output. One of `completed` or `failed`.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.21.status","typeLabel":"enum\u003cstring>"},"caller":{"oneOf":[{"type":"object","description":"The execution context that produced this tool call.","required":["type"],"properties":{"type":{"type":"string","enum":["direct"],"default":"direct","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.21.caller.oneOf.0.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"output.items.[INDEX].oneOf.21.caller.oneOf.0","typeLabel":"object"},{"type":"object","description":"The execution context that produced this tool call.","required":["type","caller_id"],"properties":{"type":{"type":"string","enum":["program"],"default":"program","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.21.caller.oneOf.1.type","typeLabel":"enum\u003cstring>"},"caller_id":{"type":"string","description":"The call ID of the program item that produced this tool call.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.21.caller.oneOf.1.caller_id","typeLabel":"string"}},"uniqueKey":"output.items.[INDEX].oneOf.21.caller.oneOf.1","typeLabel":"object"},{"type":"null","uniqueKey":"output.items.[INDEX].oneOf.21.caller.oneOf.2","typeLabel":"null"}],"uniqueKey":"output.items.[INDEX].oneOf.21.caller","typeLabel":"object · object · null"},"output":{"oneOf":[{"type":"string","description":"Optional textual output returned by the apply patch tool.","uniqueKey":"output.items.[INDEX].oneOf.21.output.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"output.items.[INDEX].oneOf.21.output.oneOf.1","typeLabel":"null"}],"uniqueKey":"output.items.[INDEX].oneOf.21.output","typeLabel":"string | null"},"created_by":{"type":"string","description":"The ID of the entity that created this tool call output.","uniqueKey":"output.items.[INDEX].oneOf.21.created_by","typeLabel":"string"}},"uniqueKey":"output.items.[INDEX].oneOf.21","typeLabel":"Apply patch tool call output · object"},{"type":"object","title":"MCP tool call","description":"An invocation of a tool on an MCP server.\n","required":["type","id","server_label","name","arguments"],"properties":{"type":{"type":"string","const":"mcp_call","description":"The type of the item. Always `mcp_call`.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.22.type","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the tool call.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.22.id","typeLabel":"string"},"server_label":{"type":"string","description":"The label of the MCP server running the tool.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.22.server_label","typeLabel":"string"},"name":{"type":"string","description":"The name of the tool that was run.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.22.name","typeLabel":"string"},"arguments":{"type":"string","description":"A JSON string of the arguments passed to the tool.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.22.arguments","typeLabel":"string"},"output":{"oneOf":[{"type":"string","description":"The output from the tool call.\n","uniqueKey":"output.items.[INDEX].oneOf.22.output.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"output.items.[INDEX].oneOf.22.output.oneOf.1","typeLabel":"null"}],"uniqueKey":"output.items.[INDEX].oneOf.22.output","typeLabel":"string | null"},"error":{"oneOf":[{"type":"object","description":"The error from the tool call, if any.","required":["type","code","message"],"properties":{"type":{"type":"string","enum":["mcp_protocol_error"],"default":"mcp_protocol_error","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.22.error.oneOf.0.type","typeLabel":"enum\u003cstring>"},"code":{"type":"integer","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.22.error.oneOf.0.code","typeLabel":"integer"},"message":{"type":"string","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.22.error.oneOf.0.message","typeLabel":"string"}},"uniqueKey":"output.items.[INDEX].oneOf.22.error.oneOf.0","typeLabel":"object"},{"type":"object","description":"The error from the tool call, if any.","required":["type","content"],"properties":{"type":{"type":"string","enum":["mcp_tool_execution_error"],"default":"mcp_tool_execution_error","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.22.error.oneOf.1.type","typeLabel":"enum\u003cstring>"},"content":{"oneOf":[{"isRequired":true}],"isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.22.error.oneOf.1.content","typeLabel":"any"}},"uniqueKey":"output.items.[INDEX].oneOf.22.error.oneOf.1","typeLabel":"object"},{"type":"object","description":"The error from the tool call, if any.","required":["type","code","message"],"properties":{"type":{"type":"string","enum":["http_error"],"default":"http_error","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.22.error.oneOf.2.type","typeLabel":"enum\u003cstring>"},"code":{"type":"integer","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.22.error.oneOf.2.code","typeLabel":"integer"},"message":{"type":"string","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.22.error.oneOf.2.message","typeLabel":"string"}},"uniqueKey":"output.items.[INDEX].oneOf.22.error.oneOf.2","typeLabel":"object"},{"type":"null","description":"The error from the tool call, if any.","uniqueKey":"output.items.[INDEX].oneOf.22.error.oneOf.3","typeLabel":"null"}],"uniqueKey":"output.items.[INDEX].oneOf.22.error","typeLabel":"object · object · object · null"},"status":{"type":"string","enum":["in_progress","completed","incomplete","calling","failed"],"description":"The status of the tool call. One of `in_progress`, `completed`, `incomplete`, `calling`, or `failed`.\n","uniqueKey":"output.items.[INDEX].oneOf.22.status","typeLabel":"enum\u003cstring>"},"approval_request_id":{"oneOf":[{"type":"string","description":"Unique identifier for the MCP tool call approval request.\nInclude this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.\n","uniqueKey":"output.items.[INDEX].oneOf.22.approval_request_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"output.items.[INDEX].oneOf.22.approval_request_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"output.items.[INDEX].oneOf.22.approval_request_id","typeLabel":"string | null"}},"uniqueKey":"output.items.[INDEX].oneOf.22","typeLabel":"MCP tool call · object"},{"type":"object","title":"MCP list tools","description":"A list of tools available on an MCP server.\n","required":["type","id","server_label","tools"],"properties":{"type":{"type":"string","const":"mcp_list_tools","description":"The type of the item. Always `mcp_list_tools`.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.23.type","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the list.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.23.id","typeLabel":"string"},"server_label":{"type":"string","description":"The label of the MCP server.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.23.server_label","typeLabel":"string"},"tools":{"type":"array","items":{"type":"object","title":"MCP list tools tool","description":"A tool available on an MCP server.\n","properties":{"name":{"type":"string","description":"The name of the tool.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.23.tools.items.[INDEX].name","typeLabel":"string"},"input_schema":{"type":"object","description":"The JSON schema describing the tool's input.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.23.tools.items.[INDEX].input_schema","typeLabel":"object"},"description":{"oneOf":[{"type":"string","description":"The description of the tool.\n","uniqueKey":"output.items.[INDEX].oneOf.23.tools.items.[INDEX].description.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"output.items.[INDEX].oneOf.23.tools.items.[INDEX].description.oneOf.1","typeLabel":"null"}],"uniqueKey":"output.items.[INDEX].oneOf.23.tools.items.[INDEX].description","typeLabel":"string | null"},"annotations":{"oneOf":[{"type":"object","description":"Additional annotations about the tool.\n","uniqueKey":"output.items.[INDEX].oneOf.23.tools.items.[INDEX].annotations.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"output.items.[INDEX].oneOf.23.tools.items.[INDEX].annotations.oneOf.1","typeLabel":"null"}],"uniqueKey":"output.items.[INDEX].oneOf.23.tools.items.[INDEX].annotations","typeLabel":"object | null"}},"required":["name","input_schema"],"uniqueKey":"output.items.[INDEX].oneOf.23.tools.items.[INDEX]","typeLabel":"MCP list tools tool · object"},"description":"The tools available on the server.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.23.tools","typeLabel":"MCP list tools tool · object[]"},"error":{"oneOf":[{"type":"string","description":"Error message if the server could not list tools.\n","uniqueKey":"output.items.[INDEX].oneOf.23.error.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"output.items.[INDEX].oneOf.23.error.oneOf.1","typeLabel":"null"}],"uniqueKey":"output.items.[INDEX].oneOf.23.error","typeLabel":"string | null"}},"uniqueKey":"output.items.[INDEX].oneOf.23","typeLabel":"MCP list tools · object"},{"type":"object","title":"MCP approval request","description":"A request for human approval of a tool invocation.\n","required":["type","id","server_label","name","arguments"],"properties":{"type":{"type":"string","const":"mcp_approval_request","description":"The type of the item. Always `mcp_approval_request`.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.24.type","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the approval request.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.24.id","typeLabel":"string"},"server_label":{"type":"string","description":"The label of the MCP server making the request.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.24.server_label","typeLabel":"string"},"name":{"type":"string","description":"The name of the tool to run.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.24.name","typeLabel":"string"},"arguments":{"type":"string","description":"A JSON string of arguments for the tool.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.24.arguments","typeLabel":"string"}},"uniqueKey":"output.items.[INDEX].oneOf.24","typeLabel":"MCP approval request · object"},{"type":"object","title":"MCP approval response","description":"A response to an MCP approval request.\n","required":["type","id","request_id","approve","approval_request_id"],"properties":{"type":{"type":"string","const":"mcp_approval_response","description":"The type of the item. Always `mcp_approval_response`.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.25.type","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the approval response\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.25.id","typeLabel":"string"},"approval_request_id":{"type":"string","description":"The ID of the approval request being answered.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.25.approval_request_id","typeLabel":"string"},"approve":{"type":"boolean","description":"Whether the request was approved.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.25.approve","typeLabel":"boolean"},"reason":{"oneOf":[{"type":"string","description":"Optional reason for the decision.\n","uniqueKey":"output.items.[INDEX].oneOf.25.reason.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"output.items.[INDEX].oneOf.25.reason.oneOf.1","typeLabel":"null"}],"uniqueKey":"output.items.[INDEX].oneOf.25.reason","typeLabel":"string | null"}},"uniqueKey":"output.items.[INDEX].oneOf.25","typeLabel":"MCP approval response · object"},{"type":"object","title":"Custom tool call","description":"A call to a custom tool created by the model.\n","required":["type","call_id","name","input"],"properties":{"type":{"type":"string","enum":["custom_tool_call"],"description":"The type of the custom tool call. Always `custom_tool_call`.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.26.type","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","description":"An identifier used to map this custom tool call to a tool call output.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.26.call_id","typeLabel":"string"},"name":{"type":"string","description":"The name of the custom tool being called.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.26.name","typeLabel":"string"},"input":{"type":"string","description":"The input for the custom tool call generated by the model.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.26.input","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the custom tool call in the OpenAI platform.\n","uniqueKey":"output.items.[INDEX].oneOf.26.id","typeLabel":"string"},"caller":{"oneOf":[{"type":"object","description":"The execution context that produced this tool call.","required":["type"],"properties":{"type":{"type":"string","enum":["direct"],"default":"direct","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.26.caller.oneOf.0.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"output.items.[INDEX].oneOf.26.caller.oneOf.0","typeLabel":"object"},{"type":"object","description":"The execution context that produced this tool call.","required":["type","caller_id"],"properties":{"type":{"type":"string","enum":["program"],"default":"program","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.26.caller.oneOf.1.type","typeLabel":"enum\u003cstring>"},"caller_id":{"type":"string","description":"The call ID of the program item that produced this tool call.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.26.caller.oneOf.1.caller_id","typeLabel":"string"}},"uniqueKey":"output.items.[INDEX].oneOf.26.caller.oneOf.1","typeLabel":"object"},{"type":"null","uniqueKey":"output.items.[INDEX].oneOf.26.caller.oneOf.2","typeLabel":"null"}],"uniqueKey":"output.items.[INDEX].oneOf.26.caller","typeLabel":"object · object · null"},"namespace":{"type":"string","description":"The namespace of the custom tool being called.\n","uniqueKey":"output.items.[INDEX].oneOf.26.namespace","typeLabel":"string"},"async":{"type":"boolean","description":"Whether the custom tool call runs asynchronously.\n","uniqueKey":"output.items.[INDEX].oneOf.26.async","typeLabel":"boolean"}},"uniqueKey":"output.items.[INDEX].oneOf.26","typeLabel":"Custom tool call · object"},{"type":"object","title":"ResponseCustomToolCallOutputItem","description":"The output of a custom tool call from your code, being sent back to the model.\n","required":["id","status","type","call_id","output"],"properties":{"type":{"type":"string","enum":["custom_tool_call_output"],"description":"The type of the custom tool call output. Always `custom_tool_call_output`.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.27.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the custom tool call output item.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.27.id","typeLabel":"string"},"call_id":{"type":"string","description":"The call ID, used to map this custom tool call output to a custom tool call.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.27.call_id","typeLabel":"string"},"output":{"oneOf":[{"type":"string","title":"string output","description":"The output from the custom tool call generated by your code.\nCan be a string or an list of output content.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.27.output.oneOf.0","typeLabel":"string"},{"type":"array","items":{"oneOf":[{"type":"object","title":"Input text","description":"A text input to the model.","required":["type","text"],"properties":{"type":{"type":"string","enum":["input_text"],"description":"The type of the input item. Always `input_text`.","default":"input_text","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.27.output.oneOf.1.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"The text input to the model.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.27.output.oneOf.1.items.[INDEX].oneOf.0.text","typeLabel":"string"},"prompt_cache_breakpoint":{"properties":{"mode":{"type":"string","enum":["explicit"],"description":"The breakpoint mode. Always `explicit`.","default":"explicit","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.27.output.oneOf.1.items.[INDEX].oneOf.0.prompt_cache_breakpoint.mode","typeLabel":"enum\u003cstring>"},"ttl":{"type":"string","enum":["30m","12h"],"description":"The minimum lifetime of this cache breakpoint. Defaults to the request TTL.","uniqueKey":"output.items.[INDEX].oneOf.27.output.oneOf.1.items.[INDEX].oneOf.0.prompt_cache_breakpoint.ttl","typeLabel":"enum\u003cstring>"}},"type":"object","required":["mode"],"title":"Prompt cache breakpoint","description":"Marks the exact end of a reusable prompt prefix. When `ttl` is omitted, the breakpoint inherits the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block.","uniqueKey":"output.items.[INDEX].oneOf.27.output.oneOf.1.items.[INDEX].oneOf.0.prompt_cache_breakpoint","typeLabel":"Prompt cache breakpoint · object"}},"uniqueKey":"output.items.[INDEX].oneOf.27.output.oneOf.1.items.[INDEX].oneOf.0","typeLabel":"Input text · object"},{"type":"object","title":"Input image","description":"An image input to the model. Learn about [image inputs](https://developers.openai.com/api/docs/guides/images-vision).","required":["type","detail"],"properties":{"type":{"type":"string","enum":["input_image"],"description":"The type of the input item. Always `input_image`.","default":"input_image","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.27.output.oneOf.1.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"detail":{"type":"string","enum":["low","high","auto","original"],"description":"The detail level of the image to be sent to the model. One of `high`, `low`, `auto`, or `original`. Defaults to `auto`.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.27.output.oneOf.1.items.[INDEX].oneOf.1.detail","typeLabel":"enum\u003cstring>"},"image_url":{"type":"any","uniqueKey":"output.items.[INDEX].oneOf.27.output.oneOf.1.items.[INDEX].oneOf.1.image_url","typeLabel":"any"},"file_id":{"type":"any","uniqueKey":"output.items.[INDEX].oneOf.27.output.oneOf.1.items.[INDEX].oneOf.1.file_id","typeLabel":"any"},"prompt_cache_breakpoint":{"properties":{"mode":{"type":"string","enum":["explicit"],"description":"The breakpoint mode. Always `explicit`.","default":"explicit","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.27.output.oneOf.1.items.[INDEX].oneOf.1.prompt_cache_breakpoint.mode","typeLabel":"enum\u003cstring>"},"ttl":{"type":"string","enum":["30m","12h"],"description":"The minimum lifetime of this cache breakpoint. Defaults to the request TTL.","uniqueKey":"output.items.[INDEX].oneOf.27.output.oneOf.1.items.[INDEX].oneOf.1.prompt_cache_breakpoint.ttl","typeLabel":"enum\u003cstring>"}},"type":"object","required":["mode"],"title":"Prompt cache breakpoint","description":"Marks the exact end of a reusable prompt prefix. When `ttl` is omitted, the breakpoint inherits the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block.","uniqueKey":"output.items.[INDEX].oneOf.27.output.oneOf.1.items.[INDEX].oneOf.1.prompt_cache_breakpoint","typeLabel":"Prompt cache breakpoint · object"}},"uniqueKey":"output.items.[INDEX].oneOf.27.output.oneOf.1.items.[INDEX].oneOf.1","typeLabel":"Input image · object"},{"type":"object","title":"Input file","description":"A file input to the model.","required":["type"],"properties":{"type":{"type":"string","enum":["input_file"],"description":"The type of the input item. Always `input_file`.","default":"input_file","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.27.output.oneOf.1.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"file_id":{"type":"any","uniqueKey":"output.items.[INDEX].oneOf.27.output.oneOf.1.items.[INDEX].oneOf.2.file_id","typeLabel":"any"},"filename":{"type":"string","description":"The name of the file to be sent to the model.","uniqueKey":"output.items.[INDEX].oneOf.27.output.oneOf.1.items.[INDEX].oneOf.2.filename","typeLabel":"string"},"file_data":{"type":"string","description":"The content of the file to be sent to the model.\n","uniqueKey":"output.items.[INDEX].oneOf.27.output.oneOf.1.items.[INDEX].oneOf.2.file_data","typeLabel":"string"},"prompt_cache_breakpoint":{"properties":{"mode":{"type":"string","enum":["explicit"],"description":"The breakpoint mode. Always `explicit`.","default":"explicit","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.27.output.oneOf.1.items.[INDEX].oneOf.2.prompt_cache_breakpoint.mode","typeLabel":"enum\u003cstring>"},"ttl":{"type":"string","enum":["30m","12h"],"description":"The minimum lifetime of this cache breakpoint. Defaults to the request TTL.","uniqueKey":"output.items.[INDEX].oneOf.27.output.oneOf.1.items.[INDEX].oneOf.2.prompt_cache_breakpoint.ttl","typeLabel":"enum\u003cstring>"}},"type":"object","required":["mode"],"title":"Prompt cache breakpoint","description":"Marks the exact end of a reusable prompt prefix. When `ttl` is omitted, the breakpoint inherits the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block.","uniqueKey":"output.items.[INDEX].oneOf.27.output.oneOf.1.items.[INDEX].oneOf.2.prompt_cache_breakpoint","typeLabel":"Prompt cache breakpoint · object"},"file_url":{"type":"string","format":"uri","description":"The URL of the file to be sent to the model.","uniqueKey":"output.items.[INDEX].oneOf.27.output.oneOf.1.items.[INDEX].oneOf.2.file_url","typeLabel":"string\u003curi>"},"detail":{"type":"string","enum":["auto","low","high"],"description":"The detail level of the file to be sent to the model. Use `auto` to let the system select the detail level; for GPT-5.6 and later models, `auto` uses high-quality rendering, which may increase input token usage. Use `low` for lower-cost rendering, or `high` to render the file at higher quality. Defaults to `auto`.","uniqueKey":"output.items.[INDEX].oneOf.27.output.oneOf.1.items.[INDEX].oneOf.2.detail","typeLabel":"enum\u003cstring>"}},"uniqueKey":"output.items.[INDEX].oneOf.27.output.oneOf.1.items.[INDEX].oneOf.2","typeLabel":"Input file · object"}],"uniqueKey":"output.items.[INDEX].oneOf.27.output.oneOf.1.items.[INDEX]","typeLabel":"Input text · object | Input image · object | Input file · object"},"title":"output content list","description":"The output from the custom tool call generated by your code.\nCan be a string or an list of output content.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.27.output.oneOf.1","typeLabel":"(Input text · object | Input image · object | Input file · object)[]"}],"isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.27.output","typeLabel":"string | (Input text · object | Input image · object | Input file · object)[]"},"status":{"type":"string","enum":["in_progress","completed","incomplete"],"description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.27.status","typeLabel":"enum\u003cstring>"},"caller":{"oneOf":[{"type":"object","description":"The execution context that produced this tool call.","required":["type"],"properties":{"type":{"type":"string","enum":["direct"],"description":"The caller type. Always `direct`.","default":"direct","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.27.caller.oneOf.0.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"output.items.[INDEX].oneOf.27.caller.oneOf.0","typeLabel":"object"},{"type":"object","description":"The execution context that produced this tool call.","required":["type","caller_id"],"properties":{"type":{"type":"string","enum":["program"],"description":"The caller type. Always `program`.","default":"program","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.27.caller.oneOf.1.type","typeLabel":"enum\u003cstring>"},"caller_id":{"type":"string","maxLength":64,"minLength":1,"description":"The call ID of the program item that produced this tool call.","isRequired":true,"uniqueKey":"output.items.[INDEX].oneOf.27.caller.oneOf.1.caller_id","typeLabel":"string"}},"uniqueKey":"output.items.[INDEX].oneOf.27.caller.oneOf.1","typeLabel":"object"},{"type":"null","uniqueKey":"output.items.[INDEX].oneOf.27.caller.oneOf.2","typeLabel":"null"}],"uniqueKey":"output.items.[INDEX].oneOf.27.caller","typeLabel":"object · object · null"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.\n","uniqueKey":"output.items.[INDEX].oneOf.27.created_by","typeLabel":"string"}},"uniqueKey":"output.items.[INDEX].oneOf.27","typeLabel":"ResponseCustomToolCallOutputItem · object"}],"uniqueKey":"output.items.[INDEX]","typeLabel":"Output message · object · File search tool call · object · Function tool call · object · Function tool call output · object · Web search tool call · object · Computer tool call · object · Computer tool call output · object · Reasoning · object · object · object · object · object · object · Compaction item · object · Image generation call · object · Code interpreter tool call · object · Local shell call · object · Local shell call output · object · Shell tool call · object · Shell call output · object · Apply patch tool call · object · Apply patch tool call output · object · MCP tool call · object · MCP list tools · object · MCP approval request · object · MCP approval response · object · Custom tool call · object · ResponseCustomToolCallOutputItem · object"},"isRequired":true,"uniqueKey":"output","typeLabel":"Output message · object · File search tool call · object · Function tool call · object · Function tool call output · object · Web search tool call · object · Computer tool call · object · Computer tool call output · object · Reasoning · object · object · object · object · object · object · Compaction item · object · Image generation call · object · Code interpreter tool call · object · Local shell call · object · Local shell call output · object · Shell tool call · object · Shell call output · object · Apply patch tool call · object · Apply patch tool call output · object · MCP tool call · object · MCP list tools · object · MCP approval request · object · MCP approval response · object · Custom tool call · object · ResponseCustomToolCallOutputItem · object[]"},"instructions":{"oneOf":[{"type":"string","description":"A system (or developer) message inserted into the model's context.\n\nWhen using along with `previous_response_id`, the instructions from a previous\nresponse will not be carried over to the next response. This makes it simple\nto swap out system (or developer) messages in new responses.\n","isRequired":true,"uniqueKey":"instructions.oneOf.0","typeLabel":"string"},{"type":"array","items":{"oneOf":[{"type":"object","title":"Input message","description":"A message input to the model with a role indicating instruction following\nhierarchy. Instructions given with the `developer` or `system` role take\nprecedence over instructions given with the `user` role. Messages with the\n`assistant` role are presumed to have been generated by the model in previous\ninteractions.\n","required":["role","content"],"properties":{"role":{"type":"string","description":"The role of the message input. One of `user`, `assistant`, `system`, or\n`developer`.\n","enum":["user","assistant","system","developer"],"isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.0.role","typeLabel":"enum\u003cstring>"},"content":{"oneOf":[{"type":"string","title":"Text input","description":"Text, image, or audio input to the model, used to generate a response.\nCan also contain previous assistant responses.\n","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.0","typeLabel":"string"},{"type":"array","items":{"oneOf":[{"type":"object","title":"Input text","description":"A text input to the model.","required":["type","text"],"properties":{"type":{"type":"string","enum":["input_text"],"description":"The type of the input item. Always `input_text`.","default":"input_text","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"The text input to the model.","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.text","typeLabel":"string"},"prompt_cache_breakpoint":{"properties":{"mode":{"type":"string","enum":["explicit"],"description":"The breakpoint mode. Always `explicit`.","default":"explicit","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.prompt_cache_breakpoint.mode","typeLabel":"enum\u003cstring>"},"ttl":{"type":"string","enum":["30m","12h"],"description":"The minimum lifetime of this cache breakpoint. Defaults to the request TTL.","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.prompt_cache_breakpoint.ttl","typeLabel":"enum\u003cstring>"}},"type":"object","required":["mode"],"title":"Prompt cache breakpoint","description":"Marks the exact end of a reusable prompt prefix. When `ttl` is omitted, the breakpoint inherits the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block.","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0.prompt_cache_breakpoint","typeLabel":"Prompt cache breakpoint · object"}},"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.0","typeLabel":"Input text · object"},{"type":"object","title":"Input image","description":"An image input to the model. Learn about [image inputs](https://developers.openai.com/api/docs/guides/images-vision).","required":["type","detail"],"properties":{"type":{"type":"string","enum":["input_image"],"description":"The type of the input item. Always `input_image`.","default":"input_image","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"detail":{"type":"string","enum":["low","high","auto","original"],"description":"The detail level of the image to be sent to the model. One of `high`, `low`, `auto`, or `original`. Defaults to `auto`.","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.detail","typeLabel":"enum\u003cstring>"},"image_url":{"oneOf":[{"type":"string","description":"The URL of the image to be sent to the model. A fully qualified URL or base64 encoded image in a data URL.","format":"uri","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.image_url.oneOf.0","typeLabel":"string\u003curi>"},{"type":"null","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.image_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.image_url","typeLabel":"string\u003curi> | null"},"file_id":{"oneOf":[{"type":"string","description":"The ID of the file to be sent to the model.","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.file_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.file_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.file_id","typeLabel":"string | null"},"prompt_cache_breakpoint":{"properties":{"mode":{"type":"string","enum":["explicit"],"description":"The breakpoint mode. Always `explicit`.","default":"explicit","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.prompt_cache_breakpoint.mode","typeLabel":"enum\u003cstring>"},"ttl":{"type":"string","enum":["30m","12h"],"description":"The minimum lifetime of this cache breakpoint. Defaults to the request TTL.","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.prompt_cache_breakpoint.ttl","typeLabel":"enum\u003cstring>"}},"type":"object","required":["mode"],"title":"Prompt cache breakpoint","description":"Marks the exact end of a reusable prompt prefix. When `ttl` is omitted, the breakpoint inherits the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block.","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1.prompt_cache_breakpoint","typeLabel":"Prompt cache breakpoint · object"}},"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.1","typeLabel":"Input image · object"},{"type":"object","title":"Input file","description":"A file input to the model.","required":["type"],"properties":{"type":{"type":"string","enum":["input_file"],"description":"The type of the input item. Always `input_file`.","default":"input_file","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"file_id":{"oneOf":[{"type":"string","description":"The ID of the file to be sent to the model.","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2.file_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2.file_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2.file_id","typeLabel":"string | null"},"filename":{"type":"string","description":"The name of the file to be sent to the model.","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2.filename","typeLabel":"string"},"file_data":{"type":"string","description":"The content of the file to be sent to the model.\n","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2.file_data","typeLabel":"string"},"prompt_cache_breakpoint":{"properties":{"mode":{"type":"string","enum":["explicit"],"description":"The breakpoint mode. Always `explicit`.","default":"explicit","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2.prompt_cache_breakpoint.mode","typeLabel":"enum\u003cstring>"},"ttl":{"type":"string","enum":["30m","12h"],"description":"The minimum lifetime of this cache breakpoint. Defaults to the request TTL.","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2.prompt_cache_breakpoint.ttl","typeLabel":"enum\u003cstring>"}},"type":"object","required":["mode"],"title":"Prompt cache breakpoint","description":"Marks the exact end of a reusable prompt prefix. When `ttl` is omitted, the breakpoint inherits the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block.","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2.prompt_cache_breakpoint","typeLabel":"Prompt cache breakpoint · object"},"file_url":{"type":"string","format":"uri","description":"The URL of the file to be sent to the model.","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2.file_url","typeLabel":"string\u003curi>"},"detail":{"type":"string","enum":["auto","low","high"],"description":"The detail level of the file to be sent to the model. Use `auto` to let the system select the detail level; for GPT-5.6 and later models, `auto` uses high-quality rendering, which may increase input token usage. Use `low` for lower-cost rendering, or `high` to render the file at higher quality. Defaults to `auto`.","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2.detail","typeLabel":"enum\u003cstring>"}},"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX].oneOf.2","typeLabel":"Input file · object"}],"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1.items.[INDEX]","typeLabel":"Input text · object | Input image · object | Input file · object"},"title":"Input item content list","description":"Text, image, or audio input to the model, used to generate a response.\nCan also contain previous assistant responses.\n","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.0.content.oneOf.1","typeLabel":"(Input text · object | Input image · object | Input file · object)[]"}],"isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.0.content","typeLabel":"string | (Input text · object | Input image · object | Input file · object)[]"},"phase":{"oneOf":[{"type":"string","description":"Labels an `assistant` message as intermediate commentary (`commentary`) or the final answer (`final_answer`).\nFor models like `gpt-5.3-codex` and beyond, when sending follow-up requests, preserve and resend\nphase on all assistant messages — dropping it can degrade performance. Not used for user messages.\n","enum":["commentary","final_answer"],"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.0.phase.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.0.phase.oneOf.1","typeLabel":"null"}],"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.0.phase","typeLabel":"enum\u003cstring> | null"},"type":{"type":"string","description":"The type of the message input. Always `message`.\n","enum":["message"],"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.0","typeLabel":"Input message · object"},{"type":"object","title":"Input message","description":"A message input to the model with a role indicating instruction following\nhierarchy. Instructions given with the `developer` or `system` role take\nprecedence over instructions given with the `user` role.\n","required":["role","content"],"properties":{"role":{"type":"string","description":"The role of the message input. One of `user`, `system`, or `developer`.\n","enum":["user","system","developer"],"isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.1.role","typeLabel":"enum\u003cstring>"},"content":{"type":"array","title":"Input item content list","description":"A list of one or many input items to the model, containing different content \ntypes.\n","items":{"type":"any","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.1.content.items.[INDEX]","typeLabel":"any"},"isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.1.content","typeLabel":"any[]"},"type":{"type":"string","description":"The type of the message input. Always set to `message`.\n","const":"message","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.1.type","typeLabel":"string"},"status":{"type":"string","description":"The status of item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.1.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.1","typeLabel":"Input message · object"},{"type":"object","title":"Output message","description":"An output message from the model.\n","required":["id","type","role","content","status"],"properties":{"id":{"type":"string","description":"The unique ID of the output message.\n","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.2.id","typeLabel":"string"},"type":{"type":"string","description":"The type of the output message. Always `message`.\n","const":"message","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.2.type","typeLabel":"string"},"role":{"type":"string","description":"The role of the output message. Always `assistant`.\n","const":"assistant","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.2.role","typeLabel":"string"},"content":{"type":"array","description":"The content of the output message.\n","items":{"type":"any","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.2.content.items.[INDEX]","typeLabel":"any"},"isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.2.content","typeLabel":"any[]"},"status":{"type":"string","description":"The status of the message input. One of `in_progress`, `completed`, or\n`incomplete`. Populated when input items are returned via API.\n","enum":["in_progress","completed","incomplete"],"isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.2.status","typeLabel":"enum\u003cstring>"},"phase":{"type":"any","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.2.phase","typeLabel":"any"}},"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.2","typeLabel":"Output message · object"},{"type":"object","title":"File search tool call","description":"The results of a file search tool call. See the\n[file search guide](https://developers.openai.com/api/docs/guides/tools-file-search) for more information.\n","required":["id","type","status","queries"],"properties":{"id":{"type":"string","description":"The unique ID of the file search tool call.\n","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.3.id","typeLabel":"string"},"type":{"type":"string","enum":["file_search_call"],"description":"The type of the file search tool call. Always `file_search_call`.\n","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"status":{"type":"string","description":"The status of the file search tool call. One of `in_progress`,\n`searching`, `incomplete` or `failed`,\n","enum":["in_progress","searching","completed","incomplete","failed"],"isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.3.status","typeLabel":"enum\u003cstring>"},"queries":{"type":"array","items":{"type":"string","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.3.queries.items.[INDEX]","typeLabel":"string"},"description":"The queries used to search for files.\n","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.3.queries","typeLabel":"string[]"},"results":{"type":"any","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.3.results","typeLabel":"any"}},"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.3","typeLabel":"File search tool call · object"},{"type":"object","title":"Computer tool call","description":"A tool call to a computer use tool. See the\n[computer use guide](https://developers.openai.com/api/docs/guides/tools-computer-use) for more information.\n","required":["type","id","call_id","pending_safety_checks","status"],"properties":{"type":{"type":"string","description":"The type of the computer call. Always `computer_call`.","enum":["computer_call"],"default":"computer_call","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.4.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the computer call.","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.4.id","typeLabel":"string"},"call_id":{"type":"string","description":"An identifier used when responding to the tool call with output.\n","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.4.call_id","typeLabel":"string"},"pending_safety_checks":{"type":"array","items":{"properties":{"id":{"type":"string","description":"The ID of the pending safety check.","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.4.pending_safety_checks.items.[INDEX].id","typeLabel":"string"},"code":{"type":"any","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.4.pending_safety_checks.items.[INDEX].code","typeLabel":"any"},"message":{"type":"any","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.4.pending_safety_checks.items.[INDEX].message","typeLabel":"any"}},"type":"object","required":["id"],"description":"A pending safety check for the computer call.","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.4.pending_safety_checks.items.[INDEX]","typeLabel":"object"},"description":"The pending safety checks for the computer call.\n","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.4.pending_safety_checks","typeLabel":"object[]"},"status":{"type":"string","description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.4.status","typeLabel":"enum\u003cstring>"},"action":{"type":"any","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.4.action","typeLabel":"any"},"actions":{"title":"Computer Action List","type":"array","description":"Flattened batched actions for `computer_use`. Each action includes an\n`type` discriminator and action-specific fields.\n","items":{"type":"any","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.4.actions.items.[INDEX]","typeLabel":"any"},"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.4.actions","typeLabel":"any[]"}},"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.4","typeLabel":"Computer tool call · object"},{"type":"object","title":"Computer tool call output","description":"The output of a computer tool call.","required":["call_id","type","output"],"properties":{"call_id":{"type":"string","maxLength":64,"minLength":1,"description":"The ID of the computer tool call that produced the output.","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.5.call_id","typeLabel":"string"},"type":{"type":"string","enum":["computer_call_output"],"description":"The type of the computer tool call output. Always `computer_call_output`.","default":"computer_call_output","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.5.type","typeLabel":"enum\u003cstring>"},"output":{"type":"object","description":"A computer screenshot image used with the computer use tool.\n","properties":{"type":{"type":"string","const":"computer_screenshot","default":"computer_screenshot","description":"Specifies the event type. For a computer screenshot, this property is \nalways set to `computer_screenshot`.\n","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.5.output.type","typeLabel":"string"},"image_url":{"type":"string","format":"uri","description":"The URL of the screenshot image.","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.5.output.image_url","typeLabel":"string\u003curi>"},"file_id":{"type":"string","description":"The identifier of an uploaded file that contains the screenshot.","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.5.output.file_id","typeLabel":"string"}},"required":["type"],"isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.5.output","typeLabel":"object"},"id":{"type":"any","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.5.id","typeLabel":"any"},"acknowledged_safety_checks":{"type":"any","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.5.acknowledged_safety_checks","typeLabel":"any"},"status":{"type":"any","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.5.status","typeLabel":"any"}},"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.5","typeLabel":"Computer tool call output · object"},{"type":"object","title":"Web search tool call","description":"The results of a web search tool call. See the\n[web search guide](https://developers.openai.com/api/docs/guides/tools-web-search) for more information.\n","required":["id","type","status"],"properties":{"id":{"type":"string","description":"The unique ID of the web search tool call.\n","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.6.id","typeLabel":"string"},"type":{"type":"string","const":"web_search_call","description":"The type of the web search tool call. Always `web_search_call`.\n","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.6.type","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","searching","completed","failed","incomplete"],"description":"The status of the web search tool call.\n","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.6.status","typeLabel":"enum\u003cstring>"},"action":{"type":"any","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.6.action","typeLabel":"any"}},"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.6","typeLabel":"Web search tool call · object"},{"type":"object","title":"Function tool call","description":"A tool call to run a function. See the\n[function calling guide](https://developers.openai.com/api/docs/guides/function-calling) for more information.\n","required":["type","call_id","name","arguments"],"properties":{"type":{"type":"string","const":"function_call","description":"The type of the function tool call. Always `function_call`.\n","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.7.type","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the function tool call generated by the model.\n","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.7.call_id","typeLabel":"string"},"name":{"type":"string","description":"The name of the function to run.\n","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.7.name","typeLabel":"string"},"arguments":{"type":"string","description":"A JSON string of the arguments to pass to the function.\n","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.7.arguments","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the function tool call.\n","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.7.id","typeLabel":"string"},"caller":{"type":"any","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.7.caller","typeLabel":"any"},"namespace":{"type":"string","description":"The namespace of the function to run.\n","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.7.namespace","typeLabel":"string"},"status":{"type":"string","description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.7.status","typeLabel":"enum\u003cstring>"},"async":{"type":"boolean","description":"Whether the function tool call runs asynchronously.\n","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.7.async","typeLabel":"boolean"}},"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.7","typeLabel":"Function tool call · object"},{"type":"object","title":"Function tool call output","description":"The output of a function tool call.","required":["type","output"],"properties":{"type":{"type":"string","enum":["function_call_output"],"description":"The type of the function tool call output. Always `function_call_output`.","default":"function_call_output","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.8.type","typeLabel":"enum\u003cstring>"},"output":{"type":"any","description":"Text, image, or file output of the function tool call.","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.8.output","typeLabel":"any"},"id":{"type":"any","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.8.id","typeLabel":"any"},"call_id":{"type":"any","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.8.call_id","typeLabel":"any"},"name":{"type":"any","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.8.name","typeLabel":"any"},"namespace":{"type":"any","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.8.namespace","typeLabel":"any"},"caller":{"type":"any","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.8.caller","typeLabel":"any"},"status":{"type":"any","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.8.status","typeLabel":"any"}},"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.8","typeLabel":"Function tool call output · object"},{"type":"object","title":"Item","description":"An item representing part of the context for the response to be\ngenerated by the model. Can contain text, images, and audio inputs,\nas well as previous assistant responses and tool call outputs.\n","required":["type","arguments"],"properties":{"type":{"type":"string","enum":["tool_search_call"],"description":"The item type. Always `tool_search_call`.","default":"tool_search_call","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.9.type","typeLabel":"enum\u003cstring>"},"arguments":{"properties":{},"type":"object","required":[],"description":"The arguments supplied to the tool search call.","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.9.arguments","typeLabel":"object"},"id":{"type":"any","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.9.id","typeLabel":"any"},"call_id":{"type":"any","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.9.call_id","typeLabel":"any"},"execution":{"type":"string","enum":["server","client"],"description":"Whether tool search was executed by the server or by the client.","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.9.execution","typeLabel":"enum\u003cstring>"},"status":{"type":"any","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.9.status","typeLabel":"any"}},"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.9","typeLabel":"Item · object"},{"type":"object","title":"Item","description":"An item representing part of the context for the response to be\ngenerated by the model. Can contain text, images, and audio inputs,\nas well as previous assistant responses and tool call outputs.\n","required":["type","tools"],"properties":{"type":{"type":"string","enum":["tool_search_output"],"description":"The item type. Always `tool_search_output`.","default":"tool_search_output","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.10.type","typeLabel":"enum\u003cstring>"},"tools":{"items":{"type":"any","description":"A tool definition returned by a tool search output.\n","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.10.tools.items.[INDEX]","typeLabel":"any"},"type":"array","description":"The loaded tool definitions returned by the tool search output.","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.10.tools","typeLabel":"any[]"},"id":{"type":"any","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.10.id","typeLabel":"any"},"call_id":{"type":"any","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.10.call_id","typeLabel":"any"},"execution":{"type":"string","enum":["server","client"],"description":"Whether tool search was executed by the server or by the client.","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.10.execution","typeLabel":"enum\u003cstring>"},"status":{"type":"any","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.10.status","typeLabel":"any"}},"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.10","typeLabel":"Item · object"},{"type":"object","title":"Item","description":"An item representing part of the context for the response to be\ngenerated by the model. Can contain text, images, and audio inputs,\nas well as previous assistant responses and tool call outputs.\n","required":["type","role","tools"],"properties":{"type":{"type":"string","enum":["additional_tools"],"description":"The item type. Always `additional_tools`.","default":"additional_tools","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.11.type","typeLabel":"enum\u003cstring>"},"role":{"type":"string","enum":["developer"],"description":"The role that provided the additional tools. Only `developer` is supported.","default":"developer","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.11.role","typeLabel":"enum\u003cstring>"},"tools":{"items":{"type":"any","description":"A tool that can be used to generate a response.\n","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.11.tools.items.[INDEX]","typeLabel":"any"},"type":"array","description":"A list of additional tools made available at this item.","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.11.tools","typeLabel":"any[]"},"id":{"type":"any","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.11.id","typeLabel":"any"}},"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.11","typeLabel":"Item · object"},{"type":"object","title":"Item","description":"An update to the conversation's response configuration. Supply reasoning,\ntext, or both. Each setting stays in effect until a later update replaces it.\n","required":["type"],"properties":{"type":{"type":"string","const":"configuration_update","description":"The item type. Always `configuration_update`.","default":"configuration_update","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.12.type","typeLabel":"string"},"id":{"type":"any","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.12.id","typeLabel":"any"},"reasoning":{"type":"object","description":"Updates to reasoning configuration. Only effort is supported.","properties":{"effort":{"type":"any","description":"The reasoning effort to use for subsequent responses until another\nconfiguration update replaces it.\n","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.12.reasoning.effort","typeLabel":"any"}},"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.12.reasoning","typeLabel":"object"},"text":{"type":"object","description":"The text output configuration for subsequent responses.","properties":{"format":{"type":"any","description":"Use a JSON schema for structured output or text to return to plain text.","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.12.text.format","typeLabel":"any"}},"required":["format"],"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.12.text","typeLabel":"object"}},"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.12","typeLabel":"Item · object"},{"type":"object","title":"Reasoning","description":"A description of the chain of thought used by a reasoning model while generating\na response. Be sure to include these items in your `input` to the Responses API\nfor subsequent turns of a conversation if you are manually\n[managing context](https://developers.openai.com/api/docs/guides/conversation-state).\n","required":["id","summary","type"],"properties":{"type":{"type":"string","description":"The type of the object. Always `reasoning`.\n","enum":["reasoning"],"isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.13.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique identifier of the reasoning content.\n","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.13.id","typeLabel":"string"},"summary":{"type":"array","description":"Reasoning summary content.\n","items":{"properties":{"type":{"type":"string","enum":["summary_text"],"description":"The type of the object. Always `summary_text`.","default":"summary_text","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.13.summary.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"A summary of the reasoning output from the model so far.","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.13.summary.items.[INDEX].text","typeLabel":"string"}},"type":"object","required":["type","text"],"title":"Summary text","description":"A summary text from the model.","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.13.summary.items.[INDEX]","typeLabel":"Summary text · object"},"isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.13.summary","typeLabel":"Summary text · object[]"},"encrypted_content":{"type":"any","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.13.encrypted_content","typeLabel":"any"},"content":{"type":"array","description":"Reasoning text content.\n","items":{"properties":{"type":{"type":"string","enum":["reasoning_text"],"description":"The type of the reasoning text. Always `reasoning_text`.","default":"reasoning_text","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.13.content.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"The reasoning text from the model.","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.13.content.items.[INDEX].text","typeLabel":"string"}},"type":"object","required":["type","text"],"title":"Reasoning text","description":"Reasoning text from the model.","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.13.content.items.[INDEX]","typeLabel":"Reasoning text · object"},"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.13.content","typeLabel":"Reasoning text · object[]"},"status":{"type":"string","description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.13.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.13","typeLabel":"Reasoning · object"},{"type":"object","title":"Compaction item","description":"A compaction item generated by the [`v1/responses/compact` API](https://developers.openai.com/api/reference/resources/responses/methods/compact).","required":["type","encrypted_content"],"properties":{"type":{"type":"string","enum":["compaction"],"description":"The type of the item. Always `compaction`.","default":"compaction","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.14.type","typeLabel":"enum\u003cstring>"},"encrypted_content":{"type":"string","maxLength":104857600,"description":"The encrypted content of the compaction summary.","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.14.encrypted_content","typeLabel":"string"},"id":{"type":"any","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.14.id","typeLabel":"any"}},"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.14","typeLabel":"Compaction item · object"},{"type":"object","title":"Image generation call","description":"An image generation request made by the model.","required":["type","id","status","result"],"properties":{"type":{"type":"string","enum":["image_generation_call"],"description":"The type of the image generation call. Always `image_generation_call`.","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.15.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the image generation call.","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.15.id","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","completed","generating","failed"],"description":"The status of the image generation call.","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.15.status","typeLabel":"enum\u003cstring>"},"result":{"type":"any","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.15.result","typeLabel":"any"},"error":{"properties":{"code":{"type":"any","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.15.error.code","typeLabel":"any"},"type":{"type":"string","description":"The error type.","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.15.error.type","typeLabel":"string"},"message":{"type":"string","description":"A description of the error.","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.15.error.message","typeLabel":"string"},"param":{"type":"any","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.15.error.param","typeLabel":"any"},"moderation_details":{"properties":{"moderation_stage":{"type":"string","enum":["input","output","unknown"],"description":"The stage where moderation blocked the image generation call.","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.15.error.moderation_details.moderation_stage","typeLabel":"enum\u003cstring>"},"categories":{"items":{"type":"string","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.15.error.moderation_details.categories.items.[INDEX]","typeLabel":"string"},"type":"array","description":"Public moderation categories. New category values may be added over time.","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.15.error.moderation_details.categories","typeLabel":"string[]"}},"type":"object","required":["moderation_stage","categories"],"description":"Public details for a `moderation_blocked` error, when available.","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.15.error.moderation_details","typeLabel":"object"}},"type":"object","required":["code","type","message","param"],"description":"Details of a moderation failure, when available.","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.15.error","typeLabel":"object"},"size":{"type":"any","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.15.size","typeLabel":"any"},"quality":{"type":"any","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.15.quality","typeLabel":"any"},"action":{"type":"any","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.15.action","typeLabel":"any"},"background":{"type":"any","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.15.background","typeLabel":"any"},"output_format":{"type":"any","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.15.output_format","typeLabel":"any"},"svg_usage":{"properties":{"model":{"type":"string","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.15.svg_usage.model","typeLabel":"string"},"input_tokens":{"type":"integer","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.15.svg_usage.input_tokens","typeLabel":"integer"},"output_tokens":{"type":"integer","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.15.svg_usage.output_tokens","typeLabel":"integer"},"total_tokens":{"type":"integer","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.15.svg_usage.total_tokens","typeLabel":"integer"},"reasoning_tokens":{"type":"integer","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.15.svg_usage.reasoning_tokens","typeLabel":"integer"}},"type":"object","required":["model","input_tokens","output_tokens","total_tokens","reasoning_tokens"],"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.15.svg_usage","typeLabel":"object"},"revised_prompt":{"type":"any","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.15.revised_prompt","typeLabel":"any"}},"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.15","typeLabel":"Image generation call · object"},{"type":"object","title":"Code interpreter tool call","description":"A tool call to run code.\n","required":["type","id","status","container_id","code","outputs"],"properties":{"type":{"type":"string","enum":["code_interpreter_call"],"default":"code_interpreter_call","description":"The type of the code interpreter tool call. Always `code_interpreter_call`.\n","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.16.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the code interpreter tool call.\n","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.16.id","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","completed","incomplete","interpreting","failed"],"description":"The status of the code interpreter tool call. Valid values are `in_progress`, `completed`, `incomplete`, `interpreting`, and `failed`.\n","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.16.status","typeLabel":"enum\u003cstring>"},"container_id":{"type":"string","description":"The ID of the container used to run the code.\n","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.16.container_id","typeLabel":"string"},"code":{"type":"any","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.16.code","typeLabel":"any"},"outputs":{"type":"any","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.16.outputs","typeLabel":"any"}},"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.16","typeLabel":"Code interpreter tool call · object"},{"type":"object","title":"Local shell call","description":"A tool call to run a command on the local shell.\n","required":["type","id","call_id","action","status"],"properties":{"type":{"type":"string","enum":["local_shell_call"],"description":"The type of the local shell call. Always `local_shell_call`.\n","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.17.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the local shell call.\n","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.17.id","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the local shell tool call generated by the model.\n","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.17.call_id","typeLabel":"string"},"action":{"properties":{"type":{"type":"string","enum":["exec"],"description":"The type of the local shell action. Always `exec`.","default":"exec","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.17.action.type","typeLabel":"enum\u003cstring>"},"command":{"items":{"type":"string","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.17.action.command.items.[INDEX]","typeLabel":"string"},"type":"array","description":"The command to run.","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.17.action.command","typeLabel":"string[]"},"env":{"additionalProperties":{"type":"string","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.17.action.env.additionalProperties","typeLabel":"string"},"type":"object","description":"Environment variables to set for the command.","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.17.action.env","typeLabel":"object"},"timeout_ms":{"type":"any","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.17.action.timeout_ms","typeLabel":"any"},"working_directory":{"type":"any","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.17.action.working_directory","typeLabel":"any"},"user":{"type":"any","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.17.action.user","typeLabel":"any"}},"type":"object","required":["type","command","env"],"title":"Local shell exec action","description":"Execute a shell command on the server.","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.17.action","typeLabel":"Local shell exec action · object"},"status":{"type":"string","enum":["in_progress","completed","incomplete"],"description":"The status of the local shell call.\n","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.17.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.17","typeLabel":"Local shell call · object"},{"type":"object","title":"Local shell call output","description":"The output of a local shell tool call.\n","required":["id","type","call_id","output"],"properties":{"type":{"type":"string","enum":["local_shell_call_output"],"description":"The type of the local shell tool call output. Always `local_shell_call_output`.\n","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.18.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the local shell tool call generated by the model.\n","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.18.id","typeLabel":"string"},"output":{"type":"string","description":"A JSON string of the output of the local shell tool call.\n","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.18.output","typeLabel":"string"},"status":{"type":"any","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.18.status","typeLabel":"any"}},"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.18","typeLabel":"Local shell call output · object"},{"type":"object","title":"Shell tool call","description":"A tool representing a request to execute one or more shell commands.","required":["call_id","type","action"],"properties":{"call_id":{"type":"string","maxLength":64,"minLength":1,"description":"The unique ID of the shell tool call generated by the model.","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.19.call_id","typeLabel":"string"},"type":{"type":"string","enum":["shell_call"],"description":"The type of the item. Always `shell_call`.","default":"shell_call","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.19.type","typeLabel":"enum\u003cstring>"},"action":{"properties":{"commands":{"items":{"type":"string","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.19.action.commands.items.[INDEX]","typeLabel":"string"},"type":"array","description":"Ordered shell commands for the execution environment to run.","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.19.action.commands","typeLabel":"string[]"},"timeout_ms":{"type":"any","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.19.action.timeout_ms","typeLabel":"any"},"max_output_length":{"type":"any","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.19.action.max_output_length","typeLabel":"any"}},"type":"object","required":["commands"],"title":"Shell action","description":"The shell commands and limits that describe how to run the tool call.","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.19.action","typeLabel":"Shell action · object"},"id":{"type":"any","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.19.id","typeLabel":"any"},"caller":{"type":"any","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.19.caller","typeLabel":"any"},"status":{"type":"any","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.19.status","typeLabel":"any"},"environment":{"type":"any","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.19.environment","typeLabel":"any"}},"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.19","typeLabel":"Shell tool call · object"},{"type":"object","title":"Shell tool call output","description":"The streamed output items emitted by a shell tool call.","required":["call_id","type","output"],"properties":{"call_id":{"type":"string","maxLength":64,"minLength":1,"description":"The unique ID of the shell tool call generated by the model.","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.20.call_id","typeLabel":"string"},"type":{"type":"string","enum":["shell_call_output"],"description":"The type of the item. Always `shell_call_output`.","default":"shell_call_output","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.20.type","typeLabel":"enum\u003cstring>"},"output":{"items":{"properties":{"stdout":{"type":"string","maxLength":10485760,"description":"Captured stdout output for the shell call.","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.20.output.items.[INDEX].stdout","typeLabel":"string"},"stderr":{"type":"string","maxLength":10485760,"description":"Captured stderr output for the shell call.","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.20.output.items.[INDEX].stderr","typeLabel":"string"},"outcome":{"type":"any","title":"Shell call outcome","description":"The exit or timeout outcome associated with this shell call.","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.20.output.items.[INDEX].outcome","typeLabel":"any"}},"type":"object","required":["stdout","stderr","outcome"],"title":"Shell output content","description":"Captured stdout and stderr for a portion of a shell tool call output.","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.20.output.items.[INDEX]","typeLabel":"Shell output content · object"},"type":"array","description":"Captured chunks of stdout and stderr output, along with their associated outcomes.","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.20.output","typeLabel":"Shell output content · object[]"},"id":{"type":"any","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.20.id","typeLabel":"any"},"caller":{"type":"any","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.20.caller","typeLabel":"any"},"status":{"type":"any","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.20.status","typeLabel":"any"},"max_output_length":{"type":"any","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.20.max_output_length","typeLabel":"any"}},"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.20","typeLabel":"Shell tool call output · object"},{"type":"object","title":"Apply patch tool call","description":"A tool call representing a request to create, delete, or update files using diff patches.","required":["type","call_id","status","operation"],"properties":{"type":{"type":"string","enum":["apply_patch_call"],"description":"The type of the item. Always `apply_patch_call`.","default":"apply_patch_call","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.21.type","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","maxLength":64,"minLength":1,"description":"The unique ID of the apply patch tool call generated by the model.","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.21.call_id","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","completed"],"title":"Apply patch call status","description":"The status of the apply patch tool call. One of `in_progress` or `completed`.","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.21.status","typeLabel":"enum\u003cstring>"},"operation":{"type":"any","title":"Apply patch operation","description":"The specific create, delete, or update instruction for the apply_patch tool call.","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.21.operation","typeLabel":"any"},"id":{"type":"any","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.21.id","typeLabel":"any"},"caller":{"type":"any","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.21.caller","typeLabel":"any"}},"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.21","typeLabel":"Apply patch tool call · object"},{"type":"object","title":"Apply patch tool call output","description":"The streamed output emitted by an apply patch tool call.","required":["type","call_id","status"],"properties":{"type":{"type":"string","enum":["apply_patch_call_output"],"description":"The type of the item. Always `apply_patch_call_output`.","default":"apply_patch_call_output","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.22.type","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","maxLength":64,"minLength":1,"description":"The unique ID of the apply patch tool call generated by the model.","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.22.call_id","typeLabel":"string"},"status":{"type":"string","enum":["completed","failed"],"title":"Apply patch call output status","description":"The status of the apply patch tool call output. One of `completed` or `failed`.","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.22.status","typeLabel":"enum\u003cstring>"},"id":{"type":"any","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.22.id","typeLabel":"any"},"caller":{"type":"any","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.22.caller","typeLabel":"any"},"output":{"type":"any","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.22.output","typeLabel":"any"}},"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.22","typeLabel":"Apply patch tool call output · object"},{"type":"object","title":"MCP list tools","description":"A list of tools available on an MCP server.\n","required":["type","id","server_label","tools"],"properties":{"type":{"type":"string","const":"mcp_list_tools","description":"The type of the item. Always `mcp_list_tools`.\n","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.23.type","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the list.\n","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.23.id","typeLabel":"string"},"server_label":{"type":"string","description":"The label of the MCP server.\n","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.23.server_label","typeLabel":"string"},"tools":{"type":"array","items":{"type":"object","title":"MCP list tools tool","description":"A tool available on an MCP server.\n","properties":{"name":{"type":"string","description":"The name of the tool.\n","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.23.tools.items.[INDEX].name","typeLabel":"string"},"input_schema":{"type":"object","description":"The JSON schema describing the tool's input.\n","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.23.tools.items.[INDEX].input_schema","typeLabel":"object"},"description":{"type":"any","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.23.tools.items.[INDEX].description","typeLabel":"any"},"annotations":{"type":"any","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.23.tools.items.[INDEX].annotations","typeLabel":"any"}},"required":["name","input_schema"],"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.23.tools.items.[INDEX]","typeLabel":"MCP list tools tool · object"},"description":"The tools available on the server.\n","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.23.tools","typeLabel":"MCP list tools tool · object[]"},"error":{"type":"any","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.23.error","typeLabel":"any"}},"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.23","typeLabel":"MCP list tools · object"},{"type":"object","title":"MCP approval request","description":"A request for human approval of a tool invocation.\n","required":["type","id","server_label","name","arguments"],"properties":{"type":{"type":"string","const":"mcp_approval_request","description":"The type of the item. Always `mcp_approval_request`.\n","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.24.type","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the approval request.\n","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.24.id","typeLabel":"string"},"server_label":{"type":"string","description":"The label of the MCP server making the request.\n","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.24.server_label","typeLabel":"string"},"name":{"type":"string","description":"The name of the tool to run.\n","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.24.name","typeLabel":"string"},"arguments":{"type":"string","description":"A JSON string of arguments for the tool.\n","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.24.arguments","typeLabel":"string"}},"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.24","typeLabel":"MCP approval request · object"},{"type":"object","title":"MCP approval response","description":"A response to an MCP approval request.\n","required":["type","request_id","approve","approval_request_id"],"properties":{"type":{"type":"string","const":"mcp_approval_response","description":"The type of the item. Always `mcp_approval_response`.\n","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.25.type","typeLabel":"string"},"approval_request_id":{"type":"string","description":"The ID of the approval request being answered.\n","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.25.approval_request_id","typeLabel":"string"},"approve":{"type":"boolean","description":"Whether the request was approved.\n","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.25.approve","typeLabel":"boolean"},"id":{"type":"any","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.25.id","typeLabel":"any"},"reason":{"type":"any","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.25.reason","typeLabel":"any"}},"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.25","typeLabel":"MCP approval response · object"},{"type":"object","title":"MCP tool call","description":"An invocation of a tool on an MCP server.\n","required":["type","id","server_label","name","arguments"],"properties":{"type":{"type":"string","const":"mcp_call","description":"The type of the item. Always `mcp_call`.\n","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.26.type","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the tool call.\n","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.26.id","typeLabel":"string"},"server_label":{"type":"string","description":"The label of the MCP server running the tool.\n","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.26.server_label","typeLabel":"string"},"name":{"type":"string","description":"The name of the tool that was run.\n","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.26.name","typeLabel":"string"},"arguments":{"type":"string","description":"A JSON string of the arguments passed to the tool.\n","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.26.arguments","typeLabel":"string"},"output":{"type":"any","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.26.output","typeLabel":"any"},"error":{"type":"any","description":"The error from the tool call, if any.","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.26.error","typeLabel":"any"},"status":{"type":"string","enum":["in_progress","completed","incomplete","calling","failed"],"description":"The status of the tool call. One of `in_progress`, `completed`, `incomplete`, `calling`, or `failed`.\n","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.26.status","typeLabel":"enum\u003cstring>"},"approval_request_id":{"type":"any","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.26.approval_request_id","typeLabel":"any"}},"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.26","typeLabel":"MCP tool call · object"},{"type":"object","title":"Custom tool call output","description":"The output of a custom tool call from your code, being sent back to the model.\n","required":["type","call_id","output"],"properties":{"type":{"type":"string","enum":["custom_tool_call_output"],"description":"The type of the custom tool call output. Always `custom_tool_call_output`.\n","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.27.type","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","description":"The call ID, used to map this custom tool call output to a custom tool call.\n","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.27.call_id","typeLabel":"string"},"output":{"type":"any","description":"The output from the custom tool call generated by your code.\nCan be a string or an list of output content.\n","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.27.output","typeLabel":"any"},"id":{"type":"string","description":"The unique ID of the custom tool call output in the OpenAI platform.\n","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.27.id","typeLabel":"string"},"caller":{"type":"any","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.27.caller","typeLabel":"any"}},"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.27","typeLabel":"Custom tool call output · object"},{"type":"object","title":"Custom tool call","description":"A call to a custom tool created by the model.\n","required":["type","call_id","name","input"],"properties":{"type":{"type":"string","enum":["custom_tool_call"],"description":"The type of the custom tool call. Always `custom_tool_call`.\n","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.28.type","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","description":"An identifier used to map this custom tool call to a tool call output.\n","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.28.call_id","typeLabel":"string"},"name":{"type":"string","description":"The name of the custom tool being called.\n","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.28.name","typeLabel":"string"},"input":{"type":"string","description":"The input for the custom tool call generated by the model.\n","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.28.input","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the custom tool call in the OpenAI platform.\n","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.28.id","typeLabel":"string"},"caller":{"type":"any","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.28.caller","typeLabel":"any"},"namespace":{"type":"string","description":"The namespace of the custom tool being called.\n","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.28.namespace","typeLabel":"string"},"async":{"type":"boolean","description":"Whether the custom tool call runs asynchronously.\n","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.28.async","typeLabel":"boolean"}},"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.28","typeLabel":"Custom tool call · object"},{"type":"object","title":"Compaction trigger","description":"Compacts the current context. Must be the final input item.","required":["type"],"properties":{"type":{"type":"string","enum":["compaction_trigger"],"description":"The type of the item. Always `compaction_trigger`.","default":"compaction_trigger","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.29.type","typeLabel":"enum\u003cstring>"},"id":{"oneOf":[{"type":"string","description":"The unique ID of this compaction trigger.","example":"msg_123","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.29.id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.29.id.oneOf.1","typeLabel":"null"}],"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.29.id","typeLabel":"string | null"}},"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.29","typeLabel":"Compaction trigger · object"},{"type":"object","title":"Item reference","description":"An internal identifier for an item to reference.","required":["id"],"properties":{"id":{"type":"string","description":"The ID of the item to reference.","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.30.id","typeLabel":"string"},"type":{"oneOf":[{"type":"string","description":"The type of item to reference. Always `item_reference`.","default":"item_reference","enum":["item_reference"],"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.30.type.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.30.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.30.type","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.30","typeLabel":"Item reference · object"},{"type":"object","required":["id","type","call_id","code","fingerprint"],"properties":{"id":{"type":"string","description":"The unique ID of this program item.","example":"cm_123","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.31.id","typeLabel":"string"},"type":{"type":"string","enum":["program"],"description":"The item type. Always `program`.","default":"program","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.31.type","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","maxLength":64,"minLength":1,"description":"The stable call ID of the program item.","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.31.call_id","typeLabel":"string"},"code":{"type":"string","maxLength":10485760,"description":"The JavaScript source executed by programmatic tool calling.","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.31.code","typeLabel":"string"},"fingerprint":{"type":"string","maxLength":10485760,"description":"Opaque program replay fingerprint that must be round-tripped.","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.31.fingerprint","typeLabel":"string"}},"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.31","typeLabel":"object"},{"type":"object","required":["id","type","call_id","result","status"],"properties":{"id":{"type":"string","description":"The unique ID of this program output item.","example":"cmo_123","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.32.id","typeLabel":"string"},"type":{"type":"string","enum":["program_output"],"description":"The item type. Always `program_output`.","default":"program_output","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.32.type","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","maxLength":64,"minLength":1,"description":"The call ID of the program item.","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.32.call_id","typeLabel":"string"},"result":{"type":"string","maxLength":10485760,"description":"The result produced by the program item.","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.32.result","typeLabel":"string"},"status":{"type":"string","enum":["completed","incomplete"],"description":"The terminal status of the program output.","isRequired":true,"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.32.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"instructions.oneOf.1.items.[INDEX].oneOf.32","typeLabel":"object"}],"uniqueKey":"instructions.oneOf.1.items.[INDEX]","typeLabel":"Input message · object · Input message · object · Output message · object · File search tool call · object · Computer tool call · object · Computer tool call output · object · Web search tool call · object · Function tool call · object · Function tool call output · object · Item · object · Item · object · Item · object · Item · object · Reasoning · object · Compaction item · object · Image generation call · object · Code interpreter tool call · object · Local shell call · object · Local shell call output · object · Shell tool call · object · Shell tool call output · object · Apply patch tool call · object · Apply patch tool call output · object · MCP list tools · object · MCP approval request · object · MCP approval response · object · MCP tool call · object · Custom tool call output · object · Custom tool call · object · Compaction trigger · object · Item reference · object · object · object"},"title":"Input item list","description":"A system (or developer) message inserted into the model's context.\n\nWhen using along with `previous_response_id`, the instructions from a previous\nresponse will not be carried over to the next response. This makes it simple\nto swap out system (or developer) messages in new responses.\n","isRequired":true,"uniqueKey":"instructions.oneOf.1","typeLabel":"Input message · object · Input message · object · Output message · object · File search tool call · object · Computer tool call · object · Computer tool call output · object · Web search tool call · object · Function tool call · object · Function tool call output · object · Item · object · Item · object · Item · object · Item · object · Reasoning · object · Compaction item · object · Image generation call · object · Code interpreter tool call · object · Local shell call · object · Local shell call output · object · Shell tool call · object · Shell tool call output · object · Apply patch tool call · object · Apply patch tool call output · object · MCP list tools · object · MCP approval request · object · MCP approval response · object · MCP tool call · object · Custom tool call output · object · Custom tool call · object · Compaction trigger · object · Item reference · object · object · object[]"},{"type":"null","isRequired":true,"uniqueKey":"instructions.oneOf.2","typeLabel":"null"}],"isRequired":true,"uniqueKey":"instructions","typeLabel":"string | Input message · object · Input message · object · Output message · object · File search tool call · object · Computer tool call · object · Computer tool call output · object · Web search tool call · object · Function tool call · object · Function tool call output · object · Item · object · Item · object · Item · object · Item · object · Reasoning · object · Compaction item · object · Image generation call · object · Code interpreter tool call · object · Local shell call · object · Local shell call output · object · Shell tool call · object · Shell tool call output · object · Apply patch tool call · object · Apply patch tool call output · object · MCP list tools · object · MCP approval request · object · MCP approval response · object · MCP tool call · object · Custom tool call output · object · Custom tool call · object · Compaction trigger · object · Item reference · object · object · object[] | null"},"parallel_tool_calls":{"type":"boolean","description":"Whether to allow the model to run tool calls in parallel.\n","default":true,"isRequired":true,"uniqueKey":"parallel_tool_calls","typeLabel":"boolean"},"top_logprobs":{"oneOf":[{"type":"integer","description":"An integer between 0 and 20 specifying the maximum number of most likely\ntokens to return at each token position, each with an associated log\nprobability. In some cases, the number of returned tokens may be fewer than\nrequested.\n","maximum":20,"minimum":0,"uniqueKey":"top_logprobs.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"top_logprobs.oneOf.1","typeLabel":"null"}],"uniqueKey":"top_logprobs","typeLabel":"integer | null"},"user":{"oneOf":[{"type":"string","example":"user-1234","deprecated":true,"description":"This field is being replaced by `safety_identifier` and `prompt_cache_key`. Use `prompt_cache_key` instead to maintain caching optimizations.\nA stable identifier for your end-users.\nUsed to boost cache hit rates by better bucketing similar requests and to help OpenAI detect and prevent abuse. [Learn more](https://developers.openai.com/api/docs/guides/safety-best-practices#implement-safety-identifiers).\n","uniqueKey":"user.oneOf.0","typeLabel":"string"},{"type":"null","example":"user-1234","deprecated":true,"description":"This field is being replaced by `safety_identifier` and `prompt_cache_key`. Use `prompt_cache_key` instead to maintain caching optimizations.\nA stable identifier for your end-users.\nUsed to boost cache hit rates by better bucketing similar requests and to help OpenAI detect and prevent abuse. [Learn more](https://developers.openai.com/api/docs/guides/safety-best-practices#implement-safety-identifiers).\n","uniqueKey":"user.oneOf.1","typeLabel":"null"}],"uniqueKey":"user","typeLabel":"string | null"},"safety_identifier":{"oneOf":[{"type":"string","description":"A stable identifier used to help detect users of your application that may be violating OpenAI's usage policies.\nThe IDs should be a string that uniquely identifies each user, with a maximum length of 128 characters. We recommend hashing their username or email address, in order to avoid sending us any identifying information. [Learn more](https://developers.openai.com/api/docs/guides/safety-best-practices#implement-safety-identifiers).\n","maxLength":128,"example":"safety-identifier-1234","uniqueKey":"safety_identifier.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"safety_identifier.oneOf.1","typeLabel":"null"}],"uniqueKey":"safety_identifier","typeLabel":"string | null"},"prompt_cache_key":{"oneOf":[{"type":"string","description":"Used by OpenAI to cache responses for similar requests to optimize your cache hit rates. Replaces the `user` field. [Learn more](https://developers.openai.com/api/docs/guides/prompt-caching).\n","example":"prompt-cache-key-1234","uniqueKey":"prompt_cache_key.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"prompt_cache_key.oneOf.1","typeLabel":"null"}],"uniqueKey":"prompt_cache_key","typeLabel":"string | null"},"prompt_cache_retention":{"oneOf":[{"type":"string","description":"Deprecated. Use `prompt_cache_options.ttl` instead.\n\nThe retention policy for the prompt cache. Set to `24h` to enable extended prompt caching, which keeps cached prefixes active for longer, up to a maximum of 24 hours. [Learn more](https://developers.openai.com/api/docs/guides/prompt-caching#prompt-cache-retention).\nThis field expresses a maximum retention policy, while\n`prompt_cache_options.ttl` expresses a minimum cache lifetime. The two\nfields are independent and do not interact.\nFor `gpt-5.5`, `gpt-5.5-pro`, and future models, only `24h` is supported.\n\nFor older models that support both `in_memory` and `24h`, the default depends on your organization's data retention policy:\n - Organizations without ZDR enabled default to `24h`.\n - Organizations with ZDR enabled default to `in_memory` when `prompt_cache_retention` is not specified.\n","enum":["in_memory","24h"],"deprecated":true,"uniqueKey":"prompt_cache_retention.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","deprecated":true,"uniqueKey":"prompt_cache_retention.oneOf.1","typeLabel":"null"}],"uniqueKey":"prompt_cache_retention","typeLabel":"enum\u003cstring> | null"},"previous_response_id":{"oneOf":[{"type":"string","description":"The unique ID of the previous response to the model. Use this to\ncreate multi-turn conversations. Learn more about\n[conversation state](https://developers.openai.com/api/docs/guides/conversation-state). Cannot be used in conjunction with `conversation`.\n","uniqueKey":"previous_response_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"previous_response_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"previous_response_id","typeLabel":"string | null"},"background":{"oneOf":[{"type":"boolean","description":"Whether to run the model response in the background.\n[Learn more](https://developers.openai.com/api/docs/guides/background).\n","default":false,"uniqueKey":"background.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"background.oneOf.1","typeLabel":"null"}],"uniqueKey":"background","typeLabel":"boolean | null"},"max_tool_calls":{"oneOf":[{"type":"integer","description":"The maximum number of total calls to built-in tools that can be processed in a response. This maximum number applies across all built-in tool calls, not per individual tool. Any further attempts to call a tool by the model will be ignored.\n","uniqueKey":"max_tool_calls.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"max_tool_calls.oneOf.1","typeLabel":"null"}],"uniqueKey":"max_tool_calls","typeLabel":"integer | null"},"text":{"type":"object","description":"Configuration options for a text response from the model. Can be plain\ntext or structured JSON data. Learn more:\n- [Text inputs and outputs](https://developers.openai.com/api/docs/guides/text)\n- [Structured Outputs](https://developers.openai.com/api/docs/guides/structured-outputs)\n","properties":{"format":{"oneOf":[{"type":"object","title":"Text","description":"An object specifying the format that the model must output.\n\nConfiguring `{ \"type\": \"json_schema\" }` enables Structured Outputs,\nwhich ensures the model will match your supplied JSON schema. Learn more in the\n[Structured Outputs guide](https://developers.openai.com/api/docs/guides/structured-outputs).\n\nThe default format is `{ \"type\": \"text\" }` with no additional options.\n\n**Not recommended for gpt-4o and newer models:**\n\nSetting to `{ \"type\": \"json_object\" }` enables the older JSON mode, which\nensures the message the model generates is valid JSON. Using `json_schema`\nis preferred for models that support it.\n","required":["type"],"properties":{"type":{"type":"string","description":"The type of response format being defined. Always `text`.","const":"text","isRequired":true,"uniqueKey":"text.format.oneOf.0.type","typeLabel":"string"}},"uniqueKey":"text.format.oneOf.0","typeLabel":"Text · object"},{"type":"object","title":"JSON schema","description":"An object specifying the format that the model must output.\n\nConfiguring `{ \"type\": \"json_schema\" }` enables Structured Outputs,\nwhich ensures the model will match your supplied JSON schema. Learn more in the\n[Structured Outputs guide](https://developers.openai.com/api/docs/guides/structured-outputs).\n\nThe default format is `{ \"type\": \"text\" }` with no additional options.\n\n**Not recommended for gpt-4o and newer models:**\n\nSetting to `{ \"type\": \"json_object\" }` enables the older JSON mode, which\nensures the message the model generates is valid JSON. Using `json_schema`\nis preferred for models that support it.\n","required":["type","schema","name"],"properties":{"type":{"type":"string","description":"The type of response format being defined. Always `json_schema`.","enum":["json_schema"],"isRequired":true,"uniqueKey":"text.format.oneOf.1.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"The name of the response format. Must be a-z, A-Z, 0-9, or contain\nunderscores and dashes, with a maximum length of 64.\n","isRequired":true,"uniqueKey":"text.format.oneOf.1.name","typeLabel":"string"},"schema":{"type":"object","title":"JSON schema","description":"The schema for the response format, described as a JSON Schema object.\nLearn how to build JSON schemas [here](https://json-schema.org/).\n","additionalProperties":true,"isRequired":true,"uniqueKey":"text.format.oneOf.1.schema","typeLabel":"JSON schema · object"},"description":{"type":"string","description":"A description of what the response format is for, used by the model to\ndetermine how to respond in the format.\n","uniqueKey":"text.format.oneOf.1.description","typeLabel":"string"},"strict":{"oneOf":[{"type":"boolean","description":"Whether to enable strict schema adherence when generating the output.\nIf set to true, the model will always follow the exact schema defined\nin the `schema` field. Only a subset of JSON Schema is supported when\n`strict` is `true`. To learn more, read the [Structured Outputs\nguide](https://developers.openai.com/api/docs/guides/structured-outputs).\n","default":false,"uniqueKey":"text.format.oneOf.1.strict.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"text.format.oneOf.1.strict.oneOf.1","typeLabel":"null"}],"uniqueKey":"text.format.oneOf.1.strict","typeLabel":"boolean | null"}},"uniqueKey":"text.format.oneOf.1","typeLabel":"JSON schema · object"},{"type":"object","title":"JSON object","description":"An object specifying the format that the model must output.\n\nConfiguring `{ \"type\": \"json_schema\" }` enables Structured Outputs,\nwhich ensures the model will match your supplied JSON schema. Learn more in the\n[Structured Outputs guide](https://developers.openai.com/api/docs/guides/structured-outputs).\n\nThe default format is `{ \"type\": \"text\" }` with no additional options.\n\n**Not recommended for gpt-4o and newer models:**\n\nSetting to `{ \"type\": \"json_object\" }` enables the older JSON mode, which\nensures the message the model generates is valid JSON. Using `json_schema`\nis preferred for models that support it.\n","required":["type"],"properties":{"type":{"type":"string","description":"The type of response format being defined. Always `json_object`.","const":"json_object","isRequired":true,"uniqueKey":"text.format.oneOf.2.type","typeLabel":"string"}},"uniqueKey":"text.format.oneOf.2","typeLabel":"JSON object · object"}],"uniqueKey":"text.format","typeLabel":"Text · object | JSON schema · object | JSON object · object"},"verbosity":{"oneOf":[{"type":"string","description":"Constrains the verbosity of the model's response. Lower values will result in\nmore concise responses, while higher values will result in more verbose responses.\nCurrently supported values are `low`, `medium`, and `high`. The default is\n`medium`.\n","default":"medium","enum":["low","medium","high"],"uniqueKey":"text.verbosity.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"text.verbosity.oneOf.1","typeLabel":"null"}],"uniqueKey":"text.verbosity","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"text","typeLabel":"object"},"prompt":{"oneOf":[{"type":"object","description":"Reference to a prompt template and its variables.\n[Learn more](https://developers.openai.com/api/docs/guides/text?api-mode=responses#version-prompts-in-code).\n","required":["id"],"properties":{"id":{"type":"string","description":"The unique identifier of the prompt template to use.","isRequired":true,"uniqueKey":"prompt.oneOf.0.id","typeLabel":"string"},"version":{"oneOf":[{"type":"string","description":"Optional version of the prompt template.","uniqueKey":"prompt.oneOf.0.version.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"prompt.oneOf.0.version.oneOf.1","typeLabel":"null"}],"uniqueKey":"prompt.oneOf.0.version","typeLabel":"string | null"},"variables":{"oneOf":[{"type":"object","title":"Prompt Variables","description":"Optional map of values to substitute in for variables in your\nprompt. The substitution values can either be strings, or other\nResponse input types like images or files.\n","additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"object","title":"Input text","description":"A text input to the model.","required":["type","text"],"properties":{"type":{"type":"string","enum":["input_text"],"description":"The type of the input item. Always `input_text`.","default":"input_text","isRequired":true,"uniqueKey":"prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.1.type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"The text input to the model.","isRequired":true,"uniqueKey":"prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.1.text","typeLabel":"string"},"prompt_cache_breakpoint":{"properties":{"mode":{"type":"string","enum":["explicit"],"description":"The breakpoint mode. Always `explicit`.","default":"explicit","isRequired":true,"uniqueKey":"prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.1.prompt_cache_breakpoint.mode","typeLabel":"enum\u003cstring>"},"ttl":{"type":"string","enum":["30m","12h"],"description":"The minimum lifetime of this cache breakpoint. Defaults to the request TTL.","uniqueKey":"prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.1.prompt_cache_breakpoint.ttl","typeLabel":"enum\u003cstring>"}},"type":"object","required":["mode"],"title":"Prompt cache breakpoint","description":"Marks the exact end of a reusable prompt prefix. When `ttl` is omitted, the breakpoint inherits the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block.","uniqueKey":"prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.1.prompt_cache_breakpoint","typeLabel":"Prompt cache breakpoint · object"}},"uniqueKey":"prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.1","typeLabel":"Input text · object"},{"type":"object","title":"Input image","description":"An image input to the model. Learn about [image inputs](https://developers.openai.com/api/docs/guides/images-vision).","required":["type","detail"],"properties":{"type":{"type":"string","enum":["input_image"],"description":"The type of the input item. Always `input_image`.","default":"input_image","isRequired":true,"uniqueKey":"prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2.type","typeLabel":"enum\u003cstring>"},"detail":{"type":"string","enum":["low","high","auto","original"],"description":"The detail level of the image to be sent to the model. One of `high`, `low`, `auto`, or `original`. Defaults to `auto`.","isRequired":true,"uniqueKey":"prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2.detail","typeLabel":"enum\u003cstring>"},"image_url":{"oneOf":[{"type":"string","description":"The URL of the image to be sent to the model. A fully qualified URL or base64 encoded image in a data URL.","format":"uri","uniqueKey":"prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2.image_url.oneOf.0","typeLabel":"string\u003curi>"},{"type":"null","uniqueKey":"prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2.image_url.oneOf.1","typeLabel":"null"}],"uniqueKey":"prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2.image_url","typeLabel":"string\u003curi> | null"},"file_id":{"oneOf":[{"type":"string","description":"The ID of the file to be sent to the model.","uniqueKey":"prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2.file_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2.file_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2.file_id","typeLabel":"string | null"},"prompt_cache_breakpoint":{"properties":{"mode":{"type":"string","enum":["explicit"],"description":"The breakpoint mode. Always `explicit`.","default":"explicit","isRequired":true,"uniqueKey":"prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2.prompt_cache_breakpoint.mode","typeLabel":"enum\u003cstring>"},"ttl":{"type":"string","enum":["30m","12h"],"description":"The minimum lifetime of this cache breakpoint. Defaults to the request TTL.","uniqueKey":"prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2.prompt_cache_breakpoint.ttl","typeLabel":"enum\u003cstring>"}},"type":"object","required":["mode"],"title":"Prompt cache breakpoint","description":"Marks the exact end of a reusable prompt prefix. When `ttl` is omitted, the breakpoint inherits the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block.","uniqueKey":"prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2.prompt_cache_breakpoint","typeLabel":"Prompt cache breakpoint · object"}},"uniqueKey":"prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2","typeLabel":"Input image · object"},{"type":"object","title":"Input file","description":"A file input to the model.","required":["type"],"properties":{"type":{"type":"string","enum":["input_file"],"description":"The type of the input item. Always `input_file`.","default":"input_file","isRequired":true,"uniqueKey":"prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.type","typeLabel":"enum\u003cstring>"},"file_id":{"oneOf":[{"type":"string","description":"The ID of the file to be sent to the model.","uniqueKey":"prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.file_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.file_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.file_id","typeLabel":"string | null"},"filename":{"type":"string","description":"The name of the file to be sent to the model.","uniqueKey":"prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.filename","typeLabel":"string"},"file_data":{"type":"string","description":"The content of the file to be sent to the model.\n","uniqueKey":"prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.file_data","typeLabel":"string"},"prompt_cache_breakpoint":{"properties":{"mode":{"type":"string","enum":["explicit"],"description":"The breakpoint mode. Always `explicit`.","default":"explicit","isRequired":true,"uniqueKey":"prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.prompt_cache_breakpoint.mode","typeLabel":"enum\u003cstring>"},"ttl":{"type":"string","enum":["30m","12h"],"description":"The minimum lifetime of this cache breakpoint. Defaults to the request TTL.","uniqueKey":"prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.prompt_cache_breakpoint.ttl","typeLabel":"enum\u003cstring>"}},"type":"object","required":["mode"],"title":"Prompt cache breakpoint","description":"Marks the exact end of a reusable prompt prefix. When `ttl` is omitted, the breakpoint inherits the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block.","uniqueKey":"prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.prompt_cache_breakpoint","typeLabel":"Prompt cache breakpoint · object"},"file_url":{"type":"string","format":"uri","description":"The URL of the file to be sent to the model.","uniqueKey":"prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.file_url","typeLabel":"string\u003curi>"},"detail":{"type":"string","enum":["auto","low","high"],"description":"The detail level of the file to be sent to the model. Use `auto` to let the system select the detail level; for GPT-5.6 and later models, `auto` uses high-quality rendering, which may increase input token usage. Use `low` for lower-cost rendering, or `high` to render the file at higher quality. Defaults to `auto`.","uniqueKey":"prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.detail","typeLabel":"enum\u003cstring>"}},"uniqueKey":"prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3","typeLabel":"Input file · object"}],"uniqueKey":"prompt.oneOf.0.variables.oneOf.0.additionalProperties","typeLabel":"string | Input text · object | Input image · object | Input file · object"},"uniqueKey":"prompt.oneOf.0.variables.oneOf.0","typeLabel":"Prompt Variables · object"},{"type":"null","uniqueKey":"prompt.oneOf.0.variables.oneOf.1","typeLabel":"null"}],"uniqueKey":"prompt.oneOf.0.variables","typeLabel":"Prompt Variables · object | null"}},"uniqueKey":"prompt.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"prompt.oneOf.1","typeLabel":"null"}],"uniqueKey":"prompt","typeLabel":"object | null"},"image":{"properties":{"context_compression":{"type":"string","enum":["enabled","disabled"],"description":"Effective image context optimization policy.","isRequired":true,"uniqueKey":"image.context_compression","typeLabel":"enum\u003cstring>"}},"type":"object","required":["context_compression"],"uniqueKey":"image","typeLabel":"object"},"service_tier":{"oneOf":[{"type":"string","description":"Specifies the processing type used for serving the request.\n - If set to 'auto', then the request will be processed with the service tier configured in the Project settings. Unless otherwise configured, the Project will use 'default'.\n - If set to 'default', then the request will be processed with the standard pricing and performance for the selected model.\n - If set to '[flex](https://developers.openai.com/api/docs/guides/flex-processing)', then the request will be processed with the Flex Processing service tier.\n - To opt-in to [Fast mode](https://developers.openai.com/api/docs/guides/fast-mode) at the request level, include the `service_tier=fast` or `service_tier=priority` parameter for Responses or Chat Completions. The response will show `service_tier=priority` regardless of if you specify `service_tier=fast` or `priority` in your request.\n - If set to 'ultrafast', then the request will be processed with the access-controlled Ultrafast Processing service tier. This tier is currently available for `gpt-5.6-sol`; a response served through it will show `service_tier=ultrafast`.\n - When not set, the default behavior is 'auto'.\n\n When the `service_tier` parameter is set, the response body will include the `service_tier` value based on the processing mode actually used to serve the request. This response value may be different from the value set in the parameter.\n","default":"auto","enum":["auto","default","flex","scale","priority","fast","ultrafast"],"uniqueKey":"service_tier.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"service_tier.oneOf.1","typeLabel":"null"}],"uniqueKey":"service_tier","typeLabel":"enum\u003cstring> | null"},"truncation":{"oneOf":[{"type":"string","description":"The truncation strategy to use for the model response.\n- `auto`: If the input to this Response exceeds\n the model's context window size, the model will truncate the\n response to fit the context window by dropping items from the beginning of the conversation.\n On some models, trimming can begin earlier because the API subtracts the model's\n maximum output allowance from its input limit, even if you set a lower `max_output_tokens`.\n- `disabled` (default): If the input size will exceed the context window\n size for a model, the request will fail with a 400 error.\n","default":"disabled","enum":["auto","disabled"],"uniqueKey":"truncation.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"truncation.oneOf.1","typeLabel":"null"}],"uniqueKey":"truncation","typeLabel":"enum\u003cstring> | null"},"status":{"type":"string","description":"The status of the response generation. One of `completed`, `failed`,\n`in_progress`, `cancelled`, `queued`, or `incomplete`.\n","enum":["completed","failed","in_progress","cancelled","queued","incomplete"],"uniqueKey":"status","typeLabel":"enum\u003cstring>"},"completed_at":{"oneOf":[{"type":"number","description":"Unix timestamp (in seconds) of when this Response was completed.\nOnly present when the status is `completed`.\n","format":"unixtime","uniqueKey":"completed_at.oneOf.0","typeLabel":"number\u003cunixtime>"},{"type":"null","uniqueKey":"completed_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"completed_at","typeLabel":"number\u003cunixtime> | null"},"input_transformations":{"type":"array","description":"Reasoning inputs withheld from the model, in input order.","items":{"properties":{"type":{"type":"string","enum":["reasoning"],"default":"reasoning","isRequired":true,"uniqueKey":"input_transformations.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The original reasoning item ID.","isRequired":true,"uniqueKey":"input_transformations.items.[INDEX].id","typeLabel":"string"},"action":{"type":"string","enum":["removed"],"default":"removed","isRequired":true,"uniqueKey":"input_transformations.items.[INDEX].action","typeLabel":"enum\u003cstring>"},"reason":{"type":"string","enum":["organization_mismatch","end_user_mismatch","model_mismatch","prefix_mismatch","turn_boundary"],"isRequired":true,"uniqueKey":"input_transformations.items.[INDEX].reason","typeLabel":"enum\u003cstring>"}},"type":"object","required":["type","id","action","reason"],"uniqueKey":"input_transformations.items.[INDEX]","typeLabel":"object"},"uniqueKey":"input_transformations","typeLabel":"object[]"},"reasoning":{"oneOf":[{"type":"object","title":"Reasoning","description":"Configuration options for\n[reasoning models](https://developers.openai.com/api/docs/guides/reasoning).\n","properties":{"mode":{"oneOf":[{"type":"string","description":"Controls the reasoning execution mode for the request.\n\nWhen returned on a response, this is the effective execution mode.\n","uniqueKey":"reasoning.oneOf.0.mode.oneOf.0","typeLabel":"string"},{"type":"string","description":"Controls the reasoning execution mode for the request.\n\nWhen returned on a response, this is the effective execution mode.\n","enum":["standard","pro"],"uniqueKey":"reasoning.oneOf.0.mode.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"reasoning.oneOf.0.mode","typeLabel":"string | enum\u003cstring>"},"effort":{"oneOf":[{"type":"string","description":"Constrains effort on reasoning for reasoning models. Currently supported\nvalues are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`.\nReducing reasoning effort can result in faster responses and fewer tokens\nused on reasoning in a response. Not all reasoning models support every\nvalue. See the\n[reasoning guide](https://developers.openai.com/api/docs/guides/reasoning)\nfor model-specific support.\n","default":"medium","enum":["none","minimal","low","medium","high","xhigh","max"],"uniqueKey":"reasoning.oneOf.0.effort.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"reasoning.oneOf.0.effort.oneOf.1","typeLabel":"null"}],"uniqueKey":"reasoning.oneOf.0.effort","typeLabel":"enum\u003cstring> | null"},"summary":{"oneOf":[{"type":"string","description":"A summary of the reasoning performed by the model. This can be\nuseful for debugging and understanding the model's reasoning process.\nOne of `auto`, `concise`, or `detailed`.\n\n`concise` is supported for `computer-use-preview` models and all reasoning models after `gpt-5`.\n","enum":["auto","concise","detailed"],"uniqueKey":"reasoning.oneOf.0.summary.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"reasoning.oneOf.0.summary.oneOf.1","typeLabel":"null"}],"uniqueKey":"reasoning.oneOf.0.summary","typeLabel":"enum\u003cstring> | null"},"context":{"oneOf":[{"type":"string","description":"Controls which reasoning items are rendered back to the model on later turns.\nIf omitted or set to `auto`, the model determines the context mode. The\n`gpt-5.6` model family defaults to `all_turns`; earlier models default to\n`current_turn`.\n\nWhen returned on a response, this is the effective reasoning context mode\nused for the response.\n","enum":["auto","current_turn","all_turns"],"uniqueKey":"reasoning.oneOf.0.context.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"reasoning.oneOf.0.context.oneOf.1","typeLabel":"null"}],"uniqueKey":"reasoning.oneOf.0.context","typeLabel":"enum\u003cstring> | null"},"generate_summary":{"oneOf":[{"type":"string","description":"**Deprecated:** use `summary` instead.\n\nA summary of the reasoning performed by the model. This can be\nuseful for debugging and understanding the model's reasoning process.\nOne of `auto`, `concise`, or `detailed`.\n","enum":["auto","concise","detailed"],"deprecated":true,"uniqueKey":"reasoning.oneOf.0.generate_summary.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"reasoning.oneOf.0.generate_summary.oneOf.1","typeLabel":"null"}],"uniqueKey":"reasoning.oneOf.0.generate_summary","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"reasoning.oneOf.0","typeLabel":"Reasoning · object"},{"type":"null","uniqueKey":"reasoning.oneOf.1","typeLabel":"null"}],"uniqueKey":"reasoning","typeLabel":"Reasoning · object | null"},"output_text":{"oneOf":[{"type":"string","description":"SDK-only convenience property that contains the aggregated text output\nfrom all `output_text` items in the `output` array, if any are present.\nSupported in the Python and JavaScript SDKs.\n","uniqueKey":"output_text.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"output_text.oneOf.1","typeLabel":"null"}],"uniqueKey":"output_text","typeLabel":"string | null"},"usage":{"oneOf":[{"type":"object","description":"Represents token usage details including input tokens, output tokens,\na breakdown of output tokens, and the total tokens used.\n","required":["input_tokens","input_tokens_details","output_tokens","output_tokens_details","total_tokens"],"properties":{"input_tokens":{"type":"integer","description":"The number of input tokens.","isRequired":true,"uniqueKey":"usage.oneOf.0.input_tokens","typeLabel":"integer"},"input_tokens_details":{"type":"object","description":"A detailed breakdown of the input tokens.","properties":{"cached_tokens":{"type":"integer","description":"The number of tokens that were retrieved from the cache.\n[More on prompt caching](https://developers.openai.com/api/docs/guides/prompt-caching).\n","isRequired":true,"uniqueKey":"usage.oneOf.0.input_tokens_details.cached_tokens","typeLabel":"integer"},"cache_write_tokens":{"type":"integer","description":"The number of input tokens that were written to the cache.","isRequired":true,"uniqueKey":"usage.oneOf.0.input_tokens_details.cache_write_tokens","typeLabel":"integer"},"cache_write_tokens_details":{"properties":{"ttl_30m_tokens":{"type":"integer","description":"The number of input tokens written with 30-minute retention.","isRequired":true,"uniqueKey":"usage.oneOf.0.input_tokens_details.cache_write_tokens_details.ttl_30m_tokens","typeLabel":"integer"},"ttl_12h_tokens":{"type":"integer","description":"The number of input tokens written with 12-hour retention.","isRequired":true,"uniqueKey":"usage.oneOf.0.input_tokens_details.cache_write_tokens_details.ttl_12h_tokens","typeLabel":"integer"}},"type":"object","required":["ttl_30m_tokens","ttl_12h_tokens"],"uniqueKey":"usage.oneOf.0.input_tokens_details.cache_write_tokens_details","typeLabel":"object"}},"required":["cached_tokens","cache_write_tokens"],"isRequired":true,"uniqueKey":"usage.oneOf.0.input_tokens_details","typeLabel":"object"},"output_tokens":{"type":"integer","description":"The number of output tokens.","isRequired":true,"uniqueKey":"usage.oneOf.0.output_tokens","typeLabel":"integer"},"output_tokens_details":{"type":"object","description":"A detailed breakdown of the output tokens.","properties":{"reasoning_tokens":{"type":"integer","description":"The number of reasoning tokens.","isRequired":true,"uniqueKey":"usage.oneOf.0.output_tokens_details.reasoning_tokens","typeLabel":"integer"}},"required":["reasoning_tokens"],"isRequired":true,"uniqueKey":"usage.oneOf.0.output_tokens_details","typeLabel":"object"},"total_tokens":{"type":"integer","description":"The total number of tokens used.","isRequired":true,"uniqueKey":"usage.oneOf.0.total_tokens","typeLabel":"integer"}},"uniqueKey":"usage.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"usage.oneOf.1","typeLabel":"null"}],"uniqueKey":"usage","typeLabel":"object | null"},"tool_usage":{"properties":{"image_gen":{"properties":{"input_tokens":{"type":"integer","description":"The number of tokens (images and text) in the input prompt.","isRequired":true,"uniqueKey":"tool_usage.image_gen.input_tokens","typeLabel":"integer"},"total_tokens":{"type":"integer","description":"The total number of tokens (images and text) used for the image generation.","isRequired":true,"uniqueKey":"tool_usage.image_gen.total_tokens","typeLabel":"integer"},"output_tokens":{"type":"integer","description":"The number of output tokens generated by the model.","isRequired":true,"uniqueKey":"tool_usage.image_gen.output_tokens","typeLabel":"integer"},"input_tokens_details":{"properties":{"text_tokens":{"type":"integer","description":"The number of text tokens in the input prompt.","isRequired":true,"uniqueKey":"tool_usage.image_gen.input_tokens_details.text_tokens","typeLabel":"integer"},"image_tokens":{"type":"integer","description":"The number of image tokens in the input prompt.","isRequired":true,"uniqueKey":"tool_usage.image_gen.input_tokens_details.image_tokens","typeLabel":"integer"}},"type":"object","required":["text_tokens","image_tokens"],"title":"Input usage details","description":"The input tokens detailed information for the image generation.","isRequired":true,"uniqueKey":"tool_usage.image_gen.input_tokens_details","typeLabel":"Input usage details · object"},"output_tokens_details":{"properties":{"image_tokens":{"type":"integer","description":"The number of image output tokens generated by the model.","isRequired":true,"uniqueKey":"tool_usage.image_gen.output_tokens_details.image_tokens","typeLabel":"integer"},"text_tokens":{"type":"integer","description":"The number of text output tokens generated by the model.","isRequired":true,"uniqueKey":"tool_usage.image_gen.output_tokens_details.text_tokens","typeLabel":"integer"}},"type":"object","required":["image_tokens","text_tokens"],"title":"Image generation output token details","description":"The output token details for the image generation.","uniqueKey":"tool_usage.image_gen.output_tokens_details","typeLabel":"Image generation output token details · object"},"cached_tokens":{"type":"integer","uniqueKey":"tool_usage.image_gen.cached_tokens","typeLabel":"integer"},"cached_tokens_details":{"properties":{"cached_text_tokens":{"type":"integer","isRequired":true,"uniqueKey":"tool_usage.image_gen.cached_tokens_details.cached_text_tokens","typeLabel":"integer"},"cached_image_tokens":{"type":"integer","isRequired":true,"uniqueKey":"tool_usage.image_gen.cached_tokens_details.cached_image_tokens","typeLabel":"integer"}},"type":"object","required":["cached_text_tokens","cached_image_tokens"],"uniqueKey":"tool_usage.image_gen.cached_tokens_details","typeLabel":"object"}},"type":"object","required":["input_tokens","total_tokens","output_tokens","input_tokens_details"],"title":"Image generation tool usage","description":"Aggregated usage statistics for image generation tool calls.","isRequired":true,"uniqueKey":"tool_usage.image_gen","typeLabel":"Image generation tool usage · object"},"web_search":{"properties":{"num_requests":{"type":"integer","description":"The number of billable web search requests issued.","isRequired":true,"uniqueKey":"tool_usage.web_search.num_requests","typeLabel":"integer"}},"type":"object","required":["num_requests"],"title":"Web search usage","description":"Aggregated billable usage statistics for web search tool calls.","isRequired":true,"uniqueKey":"tool_usage.web_search","typeLabel":"Web search usage · object"}},"type":"object","required":["image_gen","web_search"],"title":"Response tool usage","description":"Usage reported by hosted tools, separate from base model `usage`. The field\ncan be omitted when tool usage is unavailable. When present, tool families\nwith no recorded usage have zero counts.\n\n`image_gen` sums available token counts across image generation calls.\nCalls with missing or incomplete usage records may be skipped. Output\ntoken details and cached input counts can be omitted. An omitted cache\ncount means cache usage is unknown.\n\n`web_search.num_requests` counts billable searches. Discounted searches\nand actions such as opening a page are excluded. Use billing records to\nreconcile final charges.\n","uniqueKey":"tool_usage","typeLabel":"Response tool usage · object"},"prompt_cache_options":{"properties":{"ttl":{"type":"string","enum":["30m","12h"],"description":"The minimum lifetime applied to each cache breakpoint.","isRequired":true,"uniqueKey":"prompt_cache_options.ttl","typeLabel":"enum\u003cstring>"},"mode":{"type":"string","enum":["implicit","explicit"],"description":"Whether implicit prompt-cache breakpoints were enabled.","isRequired":true,"uniqueKey":"prompt_cache_options.mode","typeLabel":"enum\u003cstring>"},"comparison_response_id":{"oneOf":[{"type":"string","description":"The response ID supplied as the prompt cache diagnostics comparison.","uniqueKey":"prompt_cache_options.comparison_response_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"prompt_cache_options.comparison_response_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"prompt_cache_options.comparison_response_id","typeLabel":"string | null"}},"type":"object","required":["ttl","mode"],"title":"Prompt cache options","description":"The prompt-caching options that were applied to the response. Supported for `gpt-5.6` and later models.","uniqueKey":"prompt_cache_options","typeLabel":"Prompt cache options · object"},"prompt_cache_diagnostics":{"oneOf":[{"type":"object","description":"Prompt cache diagnostics requested for this response.","required":["type","reason","cache_missed_tokens"],"properties":{"type":{"type":"string","enum":["cache_miss"],"default":"cache_miss","isRequired":true,"uniqueKey":"prompt_cache_diagnostics.oneOf.0.type","typeLabel":"enum\u003cstring>"},"reason":{"type":"string","enum":["model_changed","prompt_cache_key_changed","tools_changed","text_format_changed","reasoning_effort_changed","verbosity_changed","context_compacted","input_changed","service_tier_changed"],"description":"The reason prompt cache reuse did not occur.","isRequired":true,"uniqueKey":"prompt_cache_diagnostics.oneOf.0.reason","typeLabel":"enum\u003cstring>"},"cache_missed_tokens":{"type":"integer","description":"The estimated number of input tokens affected after the first detected divergence.","isRequired":true,"uniqueKey":"prompt_cache_diagnostics.oneOf.0.cache_missed_tokens","typeLabel":"integer"},"comparison_reusable_tokens":{"type":"integer","description":"The raw token count of the reusable prefix in the compared response.","uniqueKey":"prompt_cache_diagnostics.oneOf.0.comparison_reusable_tokens","typeLabel":"integer"}},"uniqueKey":"prompt_cache_diagnostics.oneOf.0","typeLabel":"object"},{"type":"object","description":"Prompt cache diagnostics requested for this response.","required":["type"],"properties":{"type":{"type":"string","enum":["cache_hit"],"default":"cache_hit","isRequired":true,"uniqueKey":"prompt_cache_diagnostics.oneOf.1.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"prompt_cache_diagnostics.oneOf.1","typeLabel":"object"},{"type":"object","description":"Prompt cache diagnostics requested for this response.","required":["type"],"properties":{"type":{"type":"string","enum":["comparison_response_not_found"],"default":"comparison_response_not_found","isRequired":true,"uniqueKey":"prompt_cache_diagnostics.oneOf.2.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"prompt_cache_diagnostics.oneOf.2","typeLabel":"object"},{"type":"object","description":"Prompt cache diagnostics requested for this response.","required":["type"],"properties":{"type":{"type":"string","enum":["unavailable"],"default":"unavailable","isRequired":true,"uniqueKey":"prompt_cache_diagnostics.oneOf.3.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"prompt_cache_diagnostics.oneOf.3","typeLabel":"object"}],"uniqueKey":"prompt_cache_diagnostics","typeLabel":"object"},"moderation":{"oneOf":[{"type":"object","title":"Moderation","description":"Moderation results for the response input and output, if moderated completions were requested.\n","required":["input","output"],"properties":{"input":{"oneOf":[{"type":"object","title":"Moderation result","description":"Moderation for the response input.","required":["type","model","flagged","categories","category_scores","category_applied_input_types"],"properties":{"type":{"type":"string","enum":["moderation_result"],"description":"The object type, which was always `moderation_result` for successful moderation results.","default":"moderation_result","isRequired":true,"uniqueKey":"moderation.oneOf.0.input.oneOf.0.type","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"The moderation model that produced this result.","isRequired":true,"uniqueKey":"moderation.oneOf.0.input.oneOf.0.model","typeLabel":"string"},"flagged":{"type":"boolean","description":"A boolean indicating whether the content was flagged by any category.","isRequired":true,"uniqueKey":"moderation.oneOf.0.input.oneOf.0.flagged","typeLabel":"boolean"},"categories":{"additionalProperties":{"type":"boolean","uniqueKey":"moderation.oneOf.0.input.oneOf.0.categories.additionalProperties","typeLabel":"boolean"},"type":"object","description":"A dictionary of moderation categories to booleans, True if the input is flagged under this category.","isRequired":true,"uniqueKey":"moderation.oneOf.0.input.oneOf.0.categories","typeLabel":"object"},"category_scores":{"additionalProperties":{"type":"number","uniqueKey":"moderation.oneOf.0.input.oneOf.0.category_scores.additionalProperties","typeLabel":"number"},"type":"object","description":"A dictionary of moderation categories to scores.","isRequired":true,"uniqueKey":"moderation.oneOf.0.input.oneOf.0.category_scores","typeLabel":"object"},"category_applied_input_types":{"additionalProperties":{"items":{"type":"string","enum":["text","image"],"uniqueKey":"moderation.oneOf.0.input.oneOf.0.category_applied_input_types.additionalProperties.items.[INDEX]","typeLabel":"enum\u003cstring>"},"type":"array","uniqueKey":"moderation.oneOf.0.input.oneOf.0.category_applied_input_types.additionalProperties","typeLabel":"enum\u003cstring>[]"},"type":"object","description":"Which modalities of input are reflected by the score for each category.","isRequired":true,"uniqueKey":"moderation.oneOf.0.input.oneOf.0.category_applied_input_types","typeLabel":"object"}},"isRequired":true,"uniqueKey":"moderation.oneOf.0.input.oneOf.0","typeLabel":"Moderation result · object"},{"type":"object","title":"Moderation error","description":"Moderation for the response input.","required":["type","code","message"],"properties":{"type":{"type":"string","enum":["error"],"description":"The object type, which was always `error` for moderation failures.","default":"error","isRequired":true,"uniqueKey":"moderation.oneOf.0.input.oneOf.1.type","typeLabel":"enum\u003cstring>"},"code":{"type":"string","description":"The error code.","isRequired":true,"uniqueKey":"moderation.oneOf.0.input.oneOf.1.code","typeLabel":"string"},"message":{"type":"string","description":"The error message.","isRequired":true,"uniqueKey":"moderation.oneOf.0.input.oneOf.1.message","typeLabel":"string"}},"isRequired":true,"uniqueKey":"moderation.oneOf.0.input.oneOf.1","typeLabel":"Moderation error · object"}],"isRequired":true,"uniqueKey":"moderation.oneOf.0.input","typeLabel":"Moderation result · object | Moderation error · object"},"output":{"oneOf":[{"type":"object","title":"Moderation result","description":"Moderation for the response output.","required":["type","model","flagged","categories","category_scores","category_applied_input_types"],"properties":{"type":{"type":"string","enum":["moderation_result"],"description":"The object type, which was always `moderation_result` for successful moderation results.","default":"moderation_result","isRequired":true,"uniqueKey":"moderation.oneOf.0.output.oneOf.0.type","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"The moderation model that produced this result.","isRequired":true,"uniqueKey":"moderation.oneOf.0.output.oneOf.0.model","typeLabel":"string"},"flagged":{"type":"boolean","description":"A boolean indicating whether the content was flagged by any category.","isRequired":true,"uniqueKey":"moderation.oneOf.0.output.oneOf.0.flagged","typeLabel":"boolean"},"categories":{"additionalProperties":{"type":"boolean","uniqueKey":"moderation.oneOf.0.output.oneOf.0.categories.additionalProperties","typeLabel":"boolean"},"type":"object","description":"A dictionary of moderation categories to booleans, True if the input is flagged under this category.","isRequired":true,"uniqueKey":"moderation.oneOf.0.output.oneOf.0.categories","typeLabel":"object"},"category_scores":{"additionalProperties":{"type":"number","uniqueKey":"moderation.oneOf.0.output.oneOf.0.category_scores.additionalProperties","typeLabel":"number"},"type":"object","description":"A dictionary of moderation categories to scores.","isRequired":true,"uniqueKey":"moderation.oneOf.0.output.oneOf.0.category_scores","typeLabel":"object"},"category_applied_input_types":{"additionalProperties":{"items":{"type":"string","enum":["text","image"],"uniqueKey":"moderation.oneOf.0.output.oneOf.0.category_applied_input_types.additionalProperties.items.[INDEX]","typeLabel":"enum\u003cstring>"},"type":"array","uniqueKey":"moderation.oneOf.0.output.oneOf.0.category_applied_input_types.additionalProperties","typeLabel":"enum\u003cstring>[]"},"type":"object","description":"Which modalities of input are reflected by the score for each category.","isRequired":true,"uniqueKey":"moderation.oneOf.0.output.oneOf.0.category_applied_input_types","typeLabel":"object"}},"isRequired":true,"uniqueKey":"moderation.oneOf.0.output.oneOf.0","typeLabel":"Moderation result · object"},{"type":"object","title":"Moderation error","description":"Moderation for the response output.","required":["type","code","message"],"properties":{"type":{"type":"string","enum":["error"],"description":"The object type, which was always `error` for moderation failures.","default":"error","isRequired":true,"uniqueKey":"moderation.oneOf.0.output.oneOf.1.type","typeLabel":"enum\u003cstring>"},"code":{"type":"string","description":"The error code.","isRequired":true,"uniqueKey":"moderation.oneOf.0.output.oneOf.1.code","typeLabel":"string"},"message":{"type":"string","description":"The error message.","isRequired":true,"uniqueKey":"moderation.oneOf.0.output.oneOf.1.message","typeLabel":"string"}},"isRequired":true,"uniqueKey":"moderation.oneOf.0.output.oneOf.1","typeLabel":"Moderation error · object"}],"isRequired":true,"uniqueKey":"moderation.oneOf.0.output","typeLabel":"Moderation result · object | Moderation error · object"}},"uniqueKey":"moderation.oneOf.0","typeLabel":"Moderation · object"},{"type":"null","uniqueKey":"moderation.oneOf.1","typeLabel":"null"}],"uniqueKey":"moderation","typeLabel":"Moderation · object | null"},"conversation":{"oneOf":[{"type":"object","title":"Conversation","description":"The conversation that this response belonged to. Input items and output items from this response were automatically added to this conversation.","default":null,"required":["id"],"properties":{"id":{"type":"string","description":"The unique ID of the conversation that this response was associated with.","isRequired":true,"uniqueKey":"conversation.oneOf.0.id","typeLabel":"string"}},"uniqueKey":"conversation.oneOf.0","typeLabel":"Conversation · object"},{"type":"null","uniqueKey":"conversation.oneOf.1","typeLabel":"null"}],"uniqueKey":"conversation","typeLabel":"Conversation · object | null"},"max_output_tokens":{"oneOf":[{"type":"integer","description":"An upper bound for the number of tokens that can be generated for a response, including visible output tokens and [reasoning tokens](https://developers.openai.com/api/docs/guides/reasoning).\n","uniqueKey":"max_output_tokens.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"max_output_tokens.oneOf.1","typeLabel":"null"}],"uniqueKey":"max_output_tokens","typeLabel":"integer | null"}},"uniqueKey":"","typeLabel":"The response object · object"},"examples":{"Example":{"title":"Example","value":{"id":"resp_67ccd3a9da748190baa7f1570fe91ac604becb25c45c1d41","object":"response","access_programs":null,"created_at":1741476777,"status":"completed","completed_at":1741476778,"error":null,"incomplete_details":null,"instructions":null,"max_output_tokens":null,"model":"gpt-6.2-astra","output":[{"type":"message","id":"msg_67ccd3acc8d48190a77525dc6de64b4104becb25c45c1d41","status":"completed","role":"assistant","content":[{"type":"output_text","text":"The image depicts a scenic landscape with a wooden boardwalk or pathway leading through lush, green grass under a blue sky with some clouds. The setting suggests a peaceful natural area, possibly a park or nature reserve. There are trees and shrubs in the background.","annotations":[],"logprobs":[]}]}],"parallel_tool_calls":true,"previous_response_id":null,"reasoning":{"effort":null,"summary":null,"context":null},"temperature":1,"text":{"format":{"type":"text"}},"tool_choice":"auto","tools":[],"top_p":1,"truncation":"disabled","usage":{"input_tokens":328,"input_tokens_details":{"cached_tokens":0,"cache_write_tokens":0},"output_tokens":52,"output_tokens_details":{"reasoning_tokens":0},"total_tokens":380},"tool_usage":{"image_gen":{"input_tokens":0,"input_tokens_details":{"text_tokens":0,"image_tokens":0},"output_tokens":0,"output_tokens_details":{"text_tokens":0,"image_tokens":0},"total_tokens":0},"web_search":{"num_requests":0}},"user":null,"metadata":{}}}},"exampleType":"generated"},"text/event-stream":{"schema":{"oneOf":[{"type":"object","description":"Event emitted while a response is streamed.","required":["type","delta","sequence_number"],"properties":{"type":{"type":"string","description":"The type of the event. Always `response.audio.delta`.\n","const":"response.audio.delta","isRequired":true,"uniqueKey":"oneOf.0.type","typeLabel":"string"},"sequence_number":{"type":"integer","description":"A sequence number for this chunk of the stream response.\n","isRequired":true,"uniqueKey":"oneOf.0.sequence_number","typeLabel":"integer"},"delta":{"type":"string","description":"A chunk of Base64 encoded response audio bytes.\n","isRequired":true,"uniqueKey":"oneOf.0.delta","typeLabel":"string"}},"uniqueKey":"oneOf.0","typeLabel":"object"},{"type":"object","description":"Event emitted while a response is streamed.","required":["type","sequence_number","response_id"],"properties":{"type":{"type":"string","description":"The type of the event. Always `response.audio.done`.\n","const":"response.audio.done","isRequired":true,"uniqueKey":"oneOf.1.type","typeLabel":"string"},"sequence_number":{"type":"integer","description":"The sequence number of the delta.\n","isRequired":true,"uniqueKey":"oneOf.1.sequence_number","typeLabel":"integer"}},"uniqueKey":"oneOf.1","typeLabel":"object"},{"type":"object","description":"Event emitted while a response is streamed.","required":["type","response_id","delta","sequence_number"],"properties":{"type":{"type":"string","description":"The type of the event. Always `response.audio.transcript.delta`.\n","const":"response.audio.transcript.delta","isRequired":true,"uniqueKey":"oneOf.2.type","typeLabel":"string"},"delta":{"type":"string","description":"The partial transcript of the audio response.\n","isRequired":true,"uniqueKey":"oneOf.2.delta","typeLabel":"string"},"sequence_number":{"type":"integer","description":"The sequence number of this event.","isRequired":true,"uniqueKey":"oneOf.2.sequence_number","typeLabel":"integer"}},"uniqueKey":"oneOf.2","typeLabel":"object"},{"type":"object","description":"Event emitted while a response is streamed.","required":["type","response_id","sequence_number"],"properties":{"type":{"type":"string","description":"The type of the event. Always `response.audio.transcript.done`.\n","const":"response.audio.transcript.done","isRequired":true,"uniqueKey":"oneOf.3.type","typeLabel":"string"},"sequence_number":{"type":"integer","description":"The sequence number of this event.","isRequired":true,"uniqueKey":"oneOf.3.sequence_number","typeLabel":"integer"}},"uniqueKey":"oneOf.3","typeLabel":"object"},{"type":"object","description":"Event emitted while a response is streamed.","required":["type","output_index","item_id","delta","sequence_number"],"properties":{"type":{"type":"string","description":"The type of the event. Always `response.code_interpreter_call_code.delta`.","const":"response.code_interpreter_call_code.delta","isRequired":true,"uniqueKey":"oneOf.4.type","typeLabel":"string"},"output_index":{"type":"integer","description":"The index of the output item in the response for which the code is being streamed.","isRequired":true,"uniqueKey":"oneOf.4.output_index","typeLabel":"integer"},"item_id":{"type":"string","description":"The unique identifier of the code interpreter tool call item.","isRequired":true,"uniqueKey":"oneOf.4.item_id","typeLabel":"string"},"delta":{"type":"string","description":"The partial code snippet being streamed by the code interpreter.","isRequired":true,"uniqueKey":"oneOf.4.delta","typeLabel":"string"},"sequence_number":{"type":"integer","description":"The sequence number of this event, used to order streaming events.","isRequired":true,"uniqueKey":"oneOf.4.sequence_number","typeLabel":"integer"}},"uniqueKey":"oneOf.4","typeLabel":"object"},{"type":"object","description":"Event emitted while a response is streamed.","required":["type","output_index","item_id","code","sequence_number"],"properties":{"type":{"type":"string","description":"The type of the event. Always `response.code_interpreter_call_code.done`.","const":"response.code_interpreter_call_code.done","isRequired":true,"uniqueKey":"oneOf.5.type","typeLabel":"string"},"output_index":{"type":"integer","description":"The index of the output item in the response for which the code is finalized.","isRequired":true,"uniqueKey":"oneOf.5.output_index","typeLabel":"integer"},"item_id":{"type":"string","description":"The unique identifier of the code interpreter tool call item.","isRequired":true,"uniqueKey":"oneOf.5.item_id","typeLabel":"string"},"code":{"type":"string","description":"The final code snippet output by the code interpreter.","isRequired":true,"uniqueKey":"oneOf.5.code","typeLabel":"string"},"sequence_number":{"type":"integer","description":"The sequence number of this event, used to order streaming events.","isRequired":true,"uniqueKey":"oneOf.5.sequence_number","typeLabel":"integer"}},"uniqueKey":"oneOf.5","typeLabel":"object"},{"type":"object","description":"Event emitted while a response is streamed.","required":["type","output_index","item_id","sequence_number"],"properties":{"type":{"type":"string","description":"The type of the event. Always `response.code_interpreter_call.completed`.","const":"response.code_interpreter_call.completed","isRequired":true,"uniqueKey":"oneOf.6.type","typeLabel":"string"},"output_index":{"type":"integer","description":"The index of the output item in the response for which the code interpreter call is completed.","isRequired":true,"uniqueKey":"oneOf.6.output_index","typeLabel":"integer"},"item_id":{"type":"string","description":"The unique identifier of the code interpreter tool call item.","isRequired":true,"uniqueKey":"oneOf.6.item_id","typeLabel":"string"},"sequence_number":{"type":"integer","description":"The sequence number of this event, used to order streaming events.","isRequired":true,"uniqueKey":"oneOf.6.sequence_number","typeLabel":"integer"}},"uniqueKey":"oneOf.6","typeLabel":"object"},{"type":"object","description":"Event emitted while a response is streamed.","required":["type","output_index","item_id","sequence_number"],"properties":{"type":{"type":"string","description":"The type of the event. Always `response.code_interpreter_call.in_progress`.","const":"response.code_interpreter_call.in_progress","isRequired":true,"uniqueKey":"oneOf.7.type","typeLabel":"string"},"output_index":{"type":"integer","description":"The index of the output item in the response for which the code interpreter call is in progress.","isRequired":true,"uniqueKey":"oneOf.7.output_index","typeLabel":"integer"},"item_id":{"type":"string","description":"The unique identifier of the code interpreter tool call item.","isRequired":true,"uniqueKey":"oneOf.7.item_id","typeLabel":"string"},"sequence_number":{"type":"integer","description":"The sequence number of this event, used to order streaming events.","isRequired":true,"uniqueKey":"oneOf.7.sequence_number","typeLabel":"integer"}},"uniqueKey":"oneOf.7","typeLabel":"object"},{"type":"object","description":"Event emitted while a response is streamed.","required":["type","output_index","item_id","sequence_number"],"properties":{"type":{"type":"string","description":"The type of the event. Always `response.code_interpreter_call.interpreting`.","const":"response.code_interpreter_call.interpreting","isRequired":true,"uniqueKey":"oneOf.8.type","typeLabel":"string"},"output_index":{"type":"integer","description":"The index of the output item in the response for which the code interpreter is interpreting code.","isRequired":true,"uniqueKey":"oneOf.8.output_index","typeLabel":"integer"},"item_id":{"type":"string","description":"The unique identifier of the code interpreter tool call item.","isRequired":true,"uniqueKey":"oneOf.8.item_id","typeLabel":"string"},"sequence_number":{"type":"integer","description":"The sequence number of this event, used to order streaming events.","isRequired":true,"uniqueKey":"oneOf.8.sequence_number","typeLabel":"integer"}},"uniqueKey":"oneOf.8","typeLabel":"object"},{"type":"object","title":"Response compaction compacting event","description":"Event emitted while a response is streamed.","required":["type","sequence_number","output_index","item_id"],"properties":{"type":{"type":"string","enum":["response.compaction.compacting"],"description":"The type of the event, always `response.compaction.compacting`.","default":"response.compaction.compacting","isRequired":true,"uniqueKey":"oneOf.9.type","typeLabel":"enum\u003cstring>"},"sequence_number":{"type":"integer","description":"The sequence number of the event that was emitted.","isRequired":true,"uniqueKey":"oneOf.9.sequence_number","typeLabel":"integer"},"output_index":{"type":"integer","description":"The index of the compaction output item.","isRequired":true,"uniqueKey":"oneOf.9.output_index","typeLabel":"integer"},"item_id":{"type":"string","description":"The ID of the compaction output item.","isRequired":true,"uniqueKey":"oneOf.9.item_id","typeLabel":"string"}},"uniqueKey":"oneOf.9","typeLabel":"Response compaction compacting event · object"},{"type":"object","description":"Event emitted while a response is streamed.","required":["type","response","sequence_number"],"properties":{"type":{"type":"string","description":"The type of the event. Always `response.completed`.\n","const":"response.completed","isRequired":true,"uniqueKey":"oneOf.10.type","typeLabel":"string"},"response":{"type":"object","title":"The response object","description":"Properties of the completed response.\n","required":["access_programs","id","object","created_at","error","incomplete_details","instructions","model","tools","output","parallel_tool_calls","metadata","tool_choice","temperature","top_p"],"example":{"id":"resp_67ccd3a9da748190baa7f1570fe91ac604becb25c45c1d41","object":"response","access_programs":null,"created_at":1741476777,"status":"completed","completed_at":1741476778,"error":null,"incomplete_details":null,"instructions":null,"max_output_tokens":null,"model":"gpt-6.2-astra","output":[{"type":"message","id":"msg_67ccd3acc8d48190a77525dc6de64b4104becb25c45c1d41","status":"completed","role":"assistant","content":[{"type":"output_text","text":"The image depicts a scenic landscape with a wooden boardwalk or pathway leading through lush, green grass under a blue sky with some clouds. The setting suggests a peaceful natural area, possibly a park or nature reserve. There are trees and shrubs in the background.","annotations":[],"logprobs":[]}]}],"parallel_tool_calls":true,"previous_response_id":null,"reasoning":{"effort":null,"summary":null,"context":null},"temperature":1,"text":{"format":{"type":"text"}},"tool_choice":"auto","tools":[],"top_p":1,"truncation":"disabled","usage":{"input_tokens":328,"input_tokens_details":{"cached_tokens":0,"cache_write_tokens":0},"output_tokens":52,"output_tokens_details":{"reasoning_tokens":0},"total_tokens":380},"tool_usage":{"image_gen":{"input_tokens":0,"input_tokens_details":{"text_tokens":0,"image_tokens":0},"output_tokens":0,"output_tokens_details":{"text_tokens":0,"image_tokens":0},"total_tokens":0},"web_search":{"num_requests":0}},"user":null,"metadata":{}},"properties":{"metadata":{"oneOf":[{"type":"object","description":"Set of 16 key-value pairs that can be attached to an object. This can be\nuseful for storing additional information about the object in a structured\nformat, and querying for objects via API or the dashboard.\n\nKeys are strings with a maximum length of 64 characters. Values are strings\nwith a maximum length of 512 characters.\n","additionalProperties":{"type":"string","uniqueKey":"oneOf.10.response.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"isRequired":true,"uniqueKey":"oneOf.10.response.metadata.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.10.response.metadata.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.10.response.metadata","typeLabel":"object | null"},"temperature":{"oneOf":[{"type":"number","description":"What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.\nWe generally recommend altering this or `top_p` but not both.\n","default":1,"maximum":2,"minimum":0,"example":1,"isRequired":true,"uniqueKey":"oneOf.10.response.temperature.oneOf.0","typeLabel":"number"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.10.response.temperature.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.10.response.temperature","typeLabel":"number | null"},"top_p":{"oneOf":[{"type":"number","description":"An alternative to sampling with temperature, called nucleus sampling,\nwhere the model considers the results of the tokens with top_p probability\nmass. So 0.1 means only the tokens comprising the top 10% probability mass\nare considered.\n\nWe generally recommend altering this or `temperature` but not both.\n","default":1,"maximum":1,"minimum":0,"example":1,"isRequired":true,"uniqueKey":"oneOf.10.response.top_p.oneOf.0","typeLabel":"number"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.10.response.top_p.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.10.response.top_p","typeLabel":"number | null"},"model":{"type":"string","description":"ID of the model to use, for example `gpt-6.2-sol`. See [Models](/en/llm/openai-responses) for the available models.","example":"gpt-6.2-sol","isRequired":true,"uniqueKey":"oneOf.10.response.model","typeLabel":"string"},"tools":{"type":"array","description":"An array of tools the model may call while generating a response. You\ncan specify which tool to use by setting the `tool_choice` parameter.\n\nWe support the following categories of tools:\n- **Built-in tools**: Tools that are provided by OpenAI that extend the\n model's capabilities, like [web search](https://developers.openai.com/api/docs/guides/tools-web-search)\n or [file search](https://developers.openai.com/api/docs/guides/tools-file-search). Learn more about\n [built-in tools](https://developers.openai.com/api/docs/guides/tools).\n- **MCP Tools**: Integrations with third-party systems via custom MCP servers\n or predefined connectors such as Google Drive and SharePoint. Learn more about\n [MCP Tools](https://developers.openai.com/api/docs/guides/tools-connectors-mcp).\n- **Function calls (custom tools)**: Functions that are defined by you,\n enabling the model to call your own code with strongly typed arguments\n and outputs. Learn more about\n [function calling](https://developers.openai.com/api/docs/guides/function-calling). You can also use\n custom tools to call your own code.\n","items":{"oneOf":[{"type":"object","title":"Function","description":"A tool that can be used to generate a response.\n","required":["type","name","strict","parameters"],"properties":{"type":{"type":"string","enum":["function"],"description":"The type of the function tool. Always `function`.","default":"function","isRequired":true,"uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"The name of the function to call.","isRequired":true,"uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.0.name","typeLabel":"string"},"parameters":{"type":"any","isRequired":true,"uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.0.parameters","typeLabel":"any"},"strict":{"type":"any","isRequired":true,"uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.0.strict","typeLabel":"any"},"async":{"type":"boolean","uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.0.async","typeLabel":"boolean"},"description":{"type":"any","uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.0.description","typeLabel":"any"},"output_schema":{"type":"any","uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.0.output_schema","typeLabel":"any"},"defer_loading":{"type":"boolean","description":"Whether this function is deferred and loaded via tool search.","uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.0.defer_loading","typeLabel":"boolean"},"allowed_callers":{"type":"any","uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.0.allowed_callers","typeLabel":"any"}},"uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.0","typeLabel":"Function · object"},{"type":"object","title":"File search","description":"A tool that can be used to generate a response.\n","required":["type","vector_store_ids"],"properties":{"type":{"type":"string","enum":["file_search"],"description":"The type of the file search tool. Always `file_search`.","default":"file_search","isRequired":true,"uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"vector_store_ids":{"items":{"type":"string","uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.1.vector_store_ids.items.[INDEX]","typeLabel":"string"},"type":"array","description":"The IDs of the vector stores to search.","isRequired":true,"uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.1.vector_store_ids","typeLabel":"string[]"},"max_num_results":{"type":"integer","description":"The maximum number of results to return. This number should be between 1 and 50 inclusive.","uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.1.max_num_results","typeLabel":"integer"},"ranking_options":{"properties":{"ranker":{"type":"string","enum":["auto","default-2024-11-15"],"description":"The ranker to use for the file search.","uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.1.ranking_options.ranker","typeLabel":"enum\u003cstring>"},"score_threshold":{"type":"number","description":"The score threshold for the file search, a number between 0 and 1. Numbers closer to 1 will attempt to return only the most relevant results, but may return fewer results.","uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.1.ranking_options.score_threshold","typeLabel":"number"},"hybrid_search":{"properties":{"embedding_weight":{"type":"number","description":"The weight of the embedding in the reciprocal ranking fusion.","isRequired":true,"uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.1.ranking_options.hybrid_search.embedding_weight","typeLabel":"number"},"text_weight":{"type":"number","description":"The weight of the text in the reciprocal ranking fusion.","isRequired":true,"uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.1.ranking_options.hybrid_search.text_weight","typeLabel":"number"}},"type":"object","required":["embedding_weight","text_weight"],"description":"Weights that control how reciprocal rank fusion balances semantic embedding matches versus sparse keyword matches when hybrid search is enabled.","uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.1.ranking_options.hybrid_search","typeLabel":"object"}},"type":"object","required":[],"description":"Ranking options for search.","uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.1.ranking_options","typeLabel":"object"},"filters":{"type":"any","uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.1.filters","typeLabel":"any"}},"uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.1","typeLabel":"File search · object"},{"type":"object","title":"Computer","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["computer"],"description":"The type of the computer tool. Always `computer`.","default":"computer","isRequired":true,"uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.2","typeLabel":"Computer · object"},{"type":"object","title":"Computer use preview","description":"A tool that can be used to generate a response.\n","required":["type","environment","display_width","display_height"],"properties":{"type":{"type":"string","enum":["computer_use_preview"],"description":"The type of the computer use tool. Always `computer_use_preview`.","default":"computer_use_preview","isRequired":true,"uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"environment":{"type":"string","enum":["windows","mac","linux","ubuntu","browser"],"description":"The type of computer environment to control.","isRequired":true,"uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.3.environment","typeLabel":"enum\u003cstring>"},"display_width":{"type":"integer","description":"The width of the computer display.","isRequired":true,"uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.3.display_width","typeLabel":"integer"},"display_height":{"type":"integer","description":"The height of the computer display.","isRequired":true,"uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.3.display_height","typeLabel":"integer"}},"uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.3","typeLabel":"Computer use preview · object"},{"type":"object","title":"Web search","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["web_search","web_search_2025_08_26"],"description":"The type of the web search tool. One of `web_search` or `web_search_2025_08_26`.","default":"web_search","isRequired":true,"uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.4.type","typeLabel":"enum\u003cstring>"},"external_web_access":{"type":"boolean","default":true,"description":"Allow live internet access for web search. Defaults to true when omitted. When false, the web search tool runs in offline/cache-only mode and will not fetch new external content.","uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.4.external_web_access","typeLabel":"boolean"},"filters":{"type":"any","uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.4.filters","typeLabel":"any"},"user_location":{"type":"any","description":"The approximate location of the user. If omitted or null, defaults to the\nUnited States. To avoid this fallback, pass `{\"type\": \"approximate\"}` without\nlocation fields. To localize results, provide the relevant location fields.\n","uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.4.user_location","typeLabel":"any"},"search_context_size":{"type":"string","enum":["low","medium","high"],"default":"medium","description":"High level guidance for the amount of context window space to use for the search. One of `low`, `medium`, or `high`. `medium` is the default.","uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.4.search_context_size","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.4","typeLabel":"Web search · object"},{"type":"object","title":"MCP tool","description":"A tool that can be used to generate a response.\n","required":["type","server_label"],"properties":{"type":{"type":"string","const":"mcp","description":"The type of the MCP tool. Always `mcp`.","isRequired":true,"uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.5.type","typeLabel":"string"},"server_label":{"type":"string","description":"A label for this MCP server, used to identify it in tool calls.\n","isRequired":true,"uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.5.server_label","typeLabel":"string"},"server_url":{"type":"string","format":"uri","description":"The URL for the MCP server. One of `server_url`, `connector_id`, or\n`tunnel_id` must be provided.\n","uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.5.server_url","typeLabel":"string\u003curi>"},"connector_id":{"type":"string","deprecated":true,"enum":["connector_dropbox","connector_gmail","connector_googlecalendar","connector_googledrive","connector_microsoftteams","connector_outlookcalendar","connector_outlookemail","connector_sharepoint"],"description":"Identifier for service connectors, like those available in ChatGPT. One of\n`server_url`, `connector_id`, or `tunnel_id` must be provided. Learn more\nabout service connectors [here](https://developers.openai.com/api/docs/guides/tools-connectors-mcp#connectors).\n\nThis field is deprecated for models released after September 1, 2026.\nUse `server_url` to connect to a remote MCP server, or `tunnel_id` to\nconnect through a Secure MCP Tunnel.\n\nCurrently supported `connector_id` values are:\n\n- Dropbox: `connector_dropbox`\n- Gmail: `connector_gmail`\n- Google Calendar: `connector_googlecalendar`\n- Google Drive: `connector_googledrive`\n- Microsoft Teams: `connector_microsoftteams`\n- Outlook Calendar: `connector_outlookcalendar`\n- Outlook Email: `connector_outlookemail`\n- SharePoint: `connector_sharepoint`\n","uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.5.connector_id","typeLabel":"enum\u003cstring>"},"tunnel_id":{"type":"string","pattern":"^tunnel_[a-z0-9]{32}$","description":"The Secure MCP Tunnel ID to use instead of a direct server URL. One of\n`server_url`, `connector_id`, or `tunnel_id` must be provided.\n","uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.5.tunnel_id","typeLabel":"string"},"authorization":{"type":"string","description":"An OAuth access token that can be used with a remote MCP server, either\nwith a custom MCP server URL or a service connector. Your application\nmust handle the OAuth authorization flow and provide the token here.\n","uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.5.authorization","typeLabel":"string"},"server_description":{"type":"string","description":"Optional description of the MCP server, used to provide more context.\n","uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.5.server_description","typeLabel":"string"},"headers":{"type":"any","uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.5.headers","typeLabel":"any"},"allowed_tools":{"type":"any","uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.5.allowed_tools","typeLabel":"any"},"allowed_callers":{"type":"any","uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.5.allowed_callers","typeLabel":"any"},"require_approval":{"type":"any","uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.5.require_approval","typeLabel":"any"},"defer_loading":{"type":"boolean","description":"Whether this MCP tool is deferred and discovered via tool search.\n","uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.5.defer_loading","typeLabel":"boolean"}},"uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.5","typeLabel":"MCP tool · object"},{"type":"object","title":"Code interpreter","description":"A tool that can be used to generate a response.\n","required":["type","container"],"properties":{"type":{"type":"string","enum":["code_interpreter"],"description":"The type of the code interpreter tool. Always `code_interpreter`.\n","isRequired":true,"uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.6.type","typeLabel":"enum\u003cstring>"},"container":{"type":"any","description":"The code interpreter container. Can be a container ID or an object that\nspecifies uploaded file IDs to make available to your code, along with an\noptional `memory_limit` setting.\n","isRequired":true,"uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.6.container","typeLabel":"any"},"allowed_callers":{"type":"any","uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.6.allowed_callers","typeLabel":"any"}},"uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.6","typeLabel":"Code interpreter · object"},{"type":"object","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["programmatic_tool_calling"],"description":"The type of the tool. Always `programmatic_tool_calling`.","default":"programmatic_tool_calling","isRequired":true,"uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.7.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.7","typeLabel":"object"},{"type":"object","title":"Image generation tool","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["image_generation"],"description":"The type of the image generation tool. Always `image_generation`.\n","isRequired":true,"uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.8.type","typeLabel":"enum\u003cstring>"},"model":{"type":"any","uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.8.model","typeLabel":"any"},"complexity":{"type":"string","enum":["low","medium","high"],"description":"Computation spent planning the image, independently of rendering quality.\nOverrides the outer response's `reasoning.effort` for image generation.\nWhen omitted, inherits a supported outer reasoning effort or uses the\nimage model's configured default.\nFor SVG output, controls the reference image, not the SVG author's\nreasoning.\n","uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.8.complexity","typeLabel":"enum\u003cstring>"},"quality":{"type":"string","enum":["low","medium","high","xhigh","max","auto"],"description":"The quality of the generated image. The GPT image models support `low`,\n`medium`, and `high`. `gpt-image-2.5-sunburst` and `gpt-image-2.5-flare`,\nincluding their `2026-09-08` snapshots, also support `xhigh` and `max`.\nDefault: `auto`.\n","default":"auto","uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.8.quality","typeLabel":"enum\u003cstring>"},"size":{"type":"any","description":"The size of the generated images. For `gpt-image-2`, `gpt-image-2-2026-04-21`, `gpt-image-2.5-sunburst`, `gpt-image-2.5-sunburst-2026-09-08`, `gpt-image-2.5-flare`, and `gpt-image-2.5-flare-2026-09-08`, arbitrary resolutions are supported as `WIDTHxHEIGHT` strings, for example `1536x864`. Width and height must both be divisible by 16 and the requested aspect ratio must be between 1:3 and 3:1. Resolutions above `2560x1440` are experimental, and the maximum supported resolution is `3840x2160`. The requested size must also satisfy the model's current pixel and edge limits. The standard sizes `1024x1024`, `1536x1024`, and `1024x1536` are supported by the GPT image models; `auto` is supported for models that allow automatic sizing.","default":"auto","uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.8.size","typeLabel":"any"},"output_format":{"type":"string","enum":["png","webp","jpeg","gif","svg"],"description":"The output format of the generated image. One of `png`, `webp`, `jpeg`,\n`gif`, or `svg`. Default: `png`. GIF and SVG output require a model\nthat supports the selected format. GIF output does not support\npartial image streaming (`partial_images` greater than `0`),\n`input_image_mask`, or custom `output_compression`.\nResponses lifecycle events can still be streamed for GIF output.\n","default":"png","uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.8.output_format","typeLabel":"enum\u003cstring>"},"frame_count":{"type":"integer","minimum":2,"maximum":16,"default":9,"description":"Number of GIF frames. Requires `output_format` to be `gif`. Default: 9.\n","uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.8.frame_count","typeLabel":"integer"},"frame_duration_ms":{"type":"integer","minimum":20,"maximum":2000,"default":200,"description":"Duration of each GIF frame in milliseconds, rounded to 10 ms.\nRequires `output_format` to be `gif`. Default: 200.\n","uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.8.frame_duration_ms","typeLabel":"integer"},"svg":{"properties":{"model":{"type":"string","minLength":1,"uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.8.svg.model","typeLabel":"string"},"reasoning":{"type":"any","uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.8.svg.reasoning","typeLabel":"any"}},"type":"object","required":[],"description":"SVG author model settings. Requires `output_format` to be `svg`.\nWhen SVG model selection is enabled, omitting this object uses the\nouter response model. Otherwise, the default SVG author is used and\nexplicit model overrides are unavailable.\n","uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.8.svg","typeLabel":"object"},"output_compression":{"type":"integer","minimum":0,"maximum":100,"description":"Compression level for the output image. Default: 100.\n","default":100,"uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.8.output_compression","typeLabel":"integer"},"moderation":{"type":"string","enum":["auto","low"],"description":"Moderation level for the generated image. Default: `auto`.\n","default":"auto","uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.8.moderation","typeLabel":"enum\u003cstring>"},"background":{"type":"string","enum":["transparent","opaque","auto"],"description":"Set the background of the generated image. One of `transparent`, `opaque`,\nor `auto`. `gpt-image-2.5-sunburst` and `gpt-image-2.5-flare`, including\ntheir `2026-09-08` snapshots, support `opaque` and `transparent`\nbackgrounds. Transparent backgrounds are available for supported GPT Image\nmodels. For `gpt-image-2` and `gpt-image-2-2026-04-21`, this support is in\npreview. When using `transparent`, set the output format to `png` or `webp`.\nDefault: `auto`.\n","default":"auto","uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.8.background","typeLabel":"enum\u003cstring>"},"input_fidelity":{"type":"any","uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.8.input_fidelity","typeLabel":"any"},"input_image_mask":{"type":"object","description":"Optional mask for inpainting. Contains `image_url`\n(string, optional) and `file_id` (string, optional).\n","properties":{"image_url":{"type":"string","description":"Base64-encoded mask image.\n","uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.8.input_image_mask.image_url","typeLabel":"string"},"file_id":{"type":"string","description":"File ID for the mask image.\n","uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.8.input_image_mask.file_id","typeLabel":"string"}},"required":[],"additionalProperties":false,"uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.8.input_image_mask","typeLabel":"object"},"partial_images":{"type":"integer","minimum":0,"maximum":3,"description":"Number of partial images to generate in streaming mode, from 0 (default value) to 3.\n","default":0,"uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.8.partial_images","typeLabel":"integer"},"action":{"type":"string","enum":["generate","edit","auto"],"description":"Whether to generate a new image or edit an existing image. Default: `auto`.\n","uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.8.action","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.8","typeLabel":"Image generation tool · object"},{"type":"object","title":"Local shell tool","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["local_shell"],"description":"The type of the local shell tool. Always `local_shell`.","default":"local_shell","isRequired":true,"uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.9.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.9","typeLabel":"Local shell tool · object"},{"type":"object","title":"Shell tool","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["shell"],"description":"The type of the shell tool. Always `shell`.","default":"shell","isRequired":true,"uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.10.type","typeLabel":"enum\u003cstring>"},"environment":{"type":"any","uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.10.environment","typeLabel":"any"},"allowed_callers":{"type":"any","uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.10.allowed_callers","typeLabel":"any"}},"uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.10","typeLabel":"Shell tool · object"},{"type":"object","title":"Custom tool","description":"A tool that can be used to generate a response.\n","required":["type","name"],"properties":{"type":{"type":"string","enum":["custom"],"description":"The type of the custom tool. Always `custom`.","default":"custom","isRequired":true,"uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.11.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"The name of the custom tool, used to identify it in tool calls.","isRequired":true,"uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.11.name","typeLabel":"string"},"async":{"type":"boolean","description":"Whether the tool response can be returned asynchronously versus immediately returned on next response creation.","uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.11.async","typeLabel":"boolean"},"description":{"type":"string","description":"Optional description of the custom tool, used to provide more context.","uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.11.description","typeLabel":"string"},"format":{"type":"any","description":"The input format for the custom tool. Default is unconstrained text.","uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.11.format","typeLabel":"any"},"defer_loading":{"type":"boolean","description":"Whether this tool should be deferred and discovered via tool search.","uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.11.defer_loading","typeLabel":"boolean"},"allowed_callers":{"type":"any","uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.11.allowed_callers","typeLabel":"any"}},"uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.11","typeLabel":"Custom tool · object"},{"type":"object","title":"Namespace","description":"A tool that can be used to generate a response.\n","required":["type","name","description","tools"],"properties":{"type":{"type":"string","enum":["namespace"],"description":"The type of the tool. Always `namespace`.","default":"namespace","isRequired":true,"uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.12.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","minLength":1,"description":"The namespace name used in tool calls (for example, `crm`).","isRequired":true,"uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.12.name","typeLabel":"string"},"description":{"type":"string","description":"A description of the namespace shown to the model.","isRequired":true,"uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.12.description","typeLabel":"string"},"tools":{"items":{"type":"any","description":"A function or custom tool that belongs to a namespace.","uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.12.tools.items.[INDEX]","typeLabel":"any"},"type":"array","minItems":1,"description":"The function/custom tools available inside this namespace.","isRequired":true,"uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.12.tools","typeLabel":"any[]"}},"uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.12","typeLabel":"Namespace · object"},{"type":"object","title":"Tool search tool","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["tool_search"],"description":"The type of the tool. Always `tool_search`.","default":"tool_search","isRequired":true,"uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.13.type","typeLabel":"enum\u003cstring>"},"execution":{"type":"string","enum":["server","client"],"description":"Whether tool search is executed by the server or by the client.","uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.13.execution","typeLabel":"enum\u003cstring>"},"description":{"type":"any","uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.13.description","typeLabel":"any"},"parameters":{"type":"any","uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.13.parameters","typeLabel":"any"}},"uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.13","typeLabel":"Tool search tool · object"},{"type":"object","title":"Web search preview","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["web_search_preview","web_search_preview_2025_03_11"],"description":"The type of the web search tool. One of `web_search_preview` or `web_search_preview_2025_03_11`.","default":"web_search_preview","isRequired":true,"uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.14.type","typeLabel":"enum\u003cstring>"},"user_location":{"type":"any","uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.14.user_location","typeLabel":"any"},"search_context_size":{"type":"string","enum":["low","medium","high"],"description":"High level guidance for the amount of context window space to use for the search. One of `low`, `medium`, or `high`. `medium` is the default.","uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.14.search_context_size","typeLabel":"enum\u003cstring>"},"search_content_types":{"items":{"type":"string","enum":["text","image"],"uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.14.search_content_types.items.[INDEX]","typeLabel":"enum\u003cstring>"},"type":"array","uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.14.search_content_types","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.14","typeLabel":"Web search preview · object"},{"type":"object","title":"Apply patch tool","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["apply_patch"],"description":"The type of the tool. Always `apply_patch`.","default":"apply_patch","isRequired":true,"uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.15.type","typeLabel":"enum\u003cstring>"},"allowed_callers":{"type":"any","uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.15.allowed_callers","typeLabel":"any"}},"uniqueKey":"oneOf.10.response.tools.items.[INDEX].oneOf.15","typeLabel":"Apply patch tool · object"}],"uniqueKey":"oneOf.10.response.tools.items.[INDEX]","typeLabel":"Function · object | File search · object | Computer · object | Computer use preview · object | Web search · object | MCP tool · object | Code interpreter · object | object | Image generation tool · object | Local shell tool · object | Shell tool · object | Custom tool · object | Namespace · object | Tool search tool · object | Web search preview · object | Apply patch tool · object"},"isRequired":true,"uniqueKey":"oneOf.10.response.tools","typeLabel":"(Function · object | File search · object | Computer · object | Computer use preview · object | Web search · object | MCP tool · object | Code interpreter · object | object | Image generation tool · object | Local shell tool · object | Shell tool · object | Custom tool · object | Namespace · object | Tool search tool · object | Web search preview · object | Apply patch tool · object)[]"},"tool_choice":{"oneOf":[{"type":"string","title":"Tool choice mode","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","enum":["none","auto","required"],"isRequired":true,"uniqueKey":"oneOf.10.response.tool_choice.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"object","title":"Allowed tools","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","required":["type","mode","tools"],"properties":{"type":{"type":"string","enum":["allowed_tools"],"description":"Allowed tool configuration type. Always `allowed_tools`.","isRequired":true,"uniqueKey":"oneOf.10.response.tool_choice.oneOf.1.type","typeLabel":"enum\u003cstring>"},"mode":{"type":"string","enum":["auto","required"],"description":"Constrains the tools available to the model to a pre-defined set.\n\n`auto` allows the model to pick from among the allowed tools and generate a\nmessage.\n\n`required` requires the model to call one or more of the allowed tools.\n","isRequired":true,"uniqueKey":"oneOf.10.response.tool_choice.oneOf.1.mode","typeLabel":"enum\u003cstring>"},"tools":{"type":"array","description":"A list of tool definitions that the model should be allowed to call.\n\nFor the Responses API, the list of tool definitions might look like:\n```json\n[\n { \"type\": \"function\", \"name\": \"get_weather\" },\n { \"type\": \"mcp\", \"server_label\": \"deepwiki\" },\n { \"type\": \"image_generation\" }\n]\n```\n","items":{"type":"object","description":"A tool definition that the model should be allowed to call.\n","additionalProperties":true,"uniqueKey":"oneOf.10.response.tool_choice.oneOf.1.tools.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"oneOf.10.response.tool_choice.oneOf.1.tools","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"oneOf.10.response.tool_choice.oneOf.1","typeLabel":"Allowed tools · object"},{"type":"object","title":"Hosted tool","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","required":["type"],"properties":{"type":{"type":"string","description":"The type of hosted tool the model should to use. Learn more about\n[built-in tools](https://developers.openai.com/api/docs/guides/tools).\n\nAllowed values are:\n- `file_search`\n- `web_search_preview`\n- `computer`\n- `computer_use_preview`\n- `computer_use`\n- `code_interpreter`\n- `image_generation`\n","enum":["file_search","web_search_preview","computer","computer_use_preview","computer_use","web_search_preview_2025_03_11","image_generation","code_interpreter"],"isRequired":true,"uniqueKey":"oneOf.10.response.tool_choice.oneOf.2.type","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.10.response.tool_choice.oneOf.2","typeLabel":"Hosted tool · object"},{"type":"object","title":"Function tool","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","required":["type","name"],"properties":{"type":{"type":"string","enum":["function"],"description":"For function calling, the type is always `function`.","isRequired":true,"uniqueKey":"oneOf.10.response.tool_choice.oneOf.3.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"The name of the function to call.","isRequired":true,"uniqueKey":"oneOf.10.response.tool_choice.oneOf.3.name","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.10.response.tool_choice.oneOf.3","typeLabel":"Function tool · object"},{"type":"object","title":"MCP tool","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","required":["type","server_label"],"properties":{"type":{"type":"string","enum":["mcp"],"description":"For MCP tools, the type is always `mcp`.","isRequired":true,"uniqueKey":"oneOf.10.response.tool_choice.oneOf.4.type","typeLabel":"enum\u003cstring>"},"server_label":{"type":"string","description":"The label of the MCP server to use.\n","isRequired":true,"uniqueKey":"oneOf.10.response.tool_choice.oneOf.4.server_label","typeLabel":"string"},"name":{"type":"any","uniqueKey":"oneOf.10.response.tool_choice.oneOf.4.name","typeLabel":"any"}},"isRequired":true,"uniqueKey":"oneOf.10.response.tool_choice.oneOf.4","typeLabel":"MCP tool · object"},{"type":"object","title":"Custom tool","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","required":["type","name"],"properties":{"type":{"type":"string","enum":["custom"],"description":"For custom tool calling, the type is always `custom`.","isRequired":true,"uniqueKey":"oneOf.10.response.tool_choice.oneOf.5.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"The name of the custom tool to call.","isRequired":true,"uniqueKey":"oneOf.10.response.tool_choice.oneOf.5.name","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.10.response.tool_choice.oneOf.5","typeLabel":"Custom tool · object"},{"type":"object","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","required":["type"],"properties":{"type":{"type":"string","enum":["programmatic_tool_calling"],"description":"The tool to call. Always `programmatic_tool_calling`.","default":"programmatic_tool_calling","isRequired":true,"uniqueKey":"oneOf.10.response.tool_choice.oneOf.6.type","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.10.response.tool_choice.oneOf.6","typeLabel":"object"},{"type":"object","title":"Specific apply patch tool choice","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","required":["type"],"properties":{"type":{"type":"string","enum":["apply_patch"],"description":"The tool to call. Always `apply_patch`.","default":"apply_patch","isRequired":true,"uniqueKey":"oneOf.10.response.tool_choice.oneOf.7.type","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.10.response.tool_choice.oneOf.7","typeLabel":"Specific apply patch tool choice · object"},{"type":"object","title":"Specific shell tool choice","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","required":["type"],"properties":{"type":{"type":"string","enum":["shell"],"description":"The tool to call. Always `shell`.","default":"shell","isRequired":true,"uniqueKey":"oneOf.10.response.tool_choice.oneOf.8.type","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.10.response.tool_choice.oneOf.8","typeLabel":"Specific shell tool choice · object"}],"isRequired":true,"uniqueKey":"oneOf.10.response.tool_choice","typeLabel":"enum\u003cstring> | Allowed tools · object | Hosted tool · object | Function tool · object | MCP tool · object | Custom tool · object | object | Specific apply patch tool choice · object | Specific shell tool choice · object"},"id":{"type":"string","description":"Unique identifier for this Response.\n","isRequired":true,"uniqueKey":"oneOf.10.response.id","typeLabel":"string"},"object":{"type":"string","description":"The object type of this resource - always set to `response`.\n","const":"response","isRequired":true,"uniqueKey":"oneOf.10.response.object","typeLabel":"string"},"access_programs":{"oneOf":[{"type":"object","required":["cyber"],"properties":{"cyber":{"type":"string","enum":["standard","daybreak_blue","daybreak_red"],"description":"The effective Cyber access program used for this response.","isRequired":true,"uniqueKey":"oneOf.10.response.access_programs.oneOf.0.cyber","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.10.response.access_programs.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.10.response.access_programs.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.10.response.access_programs","typeLabel":"object | null"},"created_at":{"type":"number","format":"unixtime","description":"Unix timestamp (in seconds) of when this Response was created.\n","isRequired":true,"uniqueKey":"oneOf.10.response.created_at","typeLabel":"number\u003cunixtime>"},"error":{"oneOf":[{"type":"object","description":"An error object returned when the model fails to generate a Response.\n","required":["code","message"],"properties":{"code":{"type":"string","description":"The error code for the response.\n","enum":["server_error","rate_limit_exceeded","invalid_prompt","data_residency_mismatch","bio_policy","misalignment_policy_violation","vector_store_timeout","invalid_image","invalid_image_format","invalid_base64_image","invalid_image_url","image_too_large","image_too_small","image_parse_error","image_content_policy_violation","invalid_image_mode","image_file_too_large","unsupported_image_media_type","empty_image_file","failed_to_download_image","image_file_not_found"],"isRequired":true,"uniqueKey":"oneOf.10.response.error.oneOf.0.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"A human-readable description of the error.\n","isRequired":true,"uniqueKey":"oneOf.10.response.error.oneOf.0.message","typeLabel":"string"},"type":{"oneOf":[{"type":"string","description":"The original error type, or null if it was not recorded.","uniqueKey":"oneOf.10.response.error.oneOf.0.type.oneOf.0","typeLabel":"string"},{"type":"null","description":"The original error type, or null if it was not recorded.","uniqueKey":"oneOf.10.response.error.oneOf.0.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.10.response.error.oneOf.0.type","typeLabel":"string | null"},"param":{"oneOf":[{"type":"string","description":"The request parameter associated with the error, or null if none was recorded.","uniqueKey":"oneOf.10.response.error.oneOf.0.param.oneOf.0","typeLabel":"string"},{"type":"null","description":"The request parameter associated with the error, or null if none was recorded.","uniqueKey":"oneOf.10.response.error.oneOf.0.param.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.10.response.error.oneOf.0.param","typeLabel":"string | null"},"misalignment":{"properties":{"review_target":{"oneOf":[{"type":"string","description":"An opaque target for explicitly continuing this review, or null when unavailable.","maxLength":96,"minLength":1,"pattern":"^[A-Za-z0-9._~:-]+$","uniqueKey":"oneOf.10.response.error.oneOf.0.misalignment.review_target.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.10.response.error.oneOf.0.misalignment.review_target.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.10.response.error.oneOf.0.misalignment.review_target","typeLabel":"string | null"},"error_type":{"oneOf":[{"type":"string","description":"An optional classification; clients must accept additional values.","uniqueKey":"oneOf.10.response.error.oneOf.0.misalignment.error_type.oneOf.0","typeLabel":"string"},{"type":"string","description":"An optional classification; clients must accept additional values.","enum":["potentially_unintended_data_transfer","potentially_unintended_data_access","potentially_unintended_destructive_activity","other"],"uniqueKey":"oneOf.10.response.error.oneOf.0.misalignment.error_type.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"oneOf.10.response.error.oneOf.0.misalignment.error_type","typeLabel":"string | enum\u003cstring>"},"detailed_explanation":{"type":"string","description":"The public explanation for this block.","uniqueKey":"oneOf.10.response.error.oneOf.0.misalignment.detailed_explanation","typeLabel":"string"},"steer":{"properties":{"message":{"type":"string","description":"The public continuation instruction.","isRequired":true,"uniqueKey":"oneOf.10.response.error.oneOf.0.misalignment.steer.message","typeLabel":"string"}},"type":"object","required":["message"],"description":"An optional public continuation instruction.","uniqueKey":"oneOf.10.response.error.oneOf.0.misalignment.steer","typeLabel":"object"}},"type":"object","required":[],"uniqueKey":"oneOf.10.response.error.oneOf.0.misalignment","typeLabel":"object"}},"isRequired":true,"uniqueKey":"oneOf.10.response.error.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.10.response.error.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.10.response.error","typeLabel":"object | null"},"incomplete_details":{"oneOf":[{"type":"object","description":"Details about why the response is incomplete.\n","properties":{"reason":{"type":"string","description":"The reason why the response is incomplete. `steered` means\nthe response stopped at a safe output boundary after a\nWebSocket `response.steer` event. The server can then create\na successor response automatically with the queued input.\n","enum":["max_output_tokens","max_messages","content_filter","steered"],"uniqueKey":"oneOf.10.response.incomplete_details.oneOf.0.reason","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.10.response.incomplete_details.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.10.response.incomplete_details.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.10.response.incomplete_details","typeLabel":"object | null"},"output":{"type":"array","description":"An array of content items generated by the model.\n\n- The length and order of items in the `output` array is dependent\n on the model's response.\n- Rather than accessing the first item in the `output` array and\n assuming it's an `assistant` message with the content generated by\n the model, you might consider using the `output_text` property where\n supported in SDKs.\n","items":{"oneOf":[{"type":"object","title":"Output message","description":"An output message from the model.\n","required":["id","type","role","content","status"],"properties":{"id":{"type":"string","description":"The unique ID of the output message.\n","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.0.id","typeLabel":"string"},"type":{"type":"string","description":"The type of the output message. Always `message`.\n","const":"message","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.0.type","typeLabel":"string"},"role":{"type":"string","description":"The role of the output message. Always `assistant`.\n","const":"assistant","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.0.role","typeLabel":"string"},"content":{"type":"array","description":"The content of the output message.\n","items":{"type":"any","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.0.content.items.[INDEX]","typeLabel":"any"},"isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.0.content","typeLabel":"any[]"},"status":{"type":"string","description":"The status of the message input. One of `in_progress`, `completed`, or\n`incomplete`. Populated when input items are returned via API.\n","enum":["in_progress","completed","incomplete"],"isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.0.status","typeLabel":"enum\u003cstring>"},"phase":{"type":"any","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.0.phase","typeLabel":"any"}},"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.0","typeLabel":"Output message · object"},{"type":"object","title":"File search tool call","description":"The results of a file search tool call. See the\n[file search guide](https://developers.openai.com/api/docs/guides/tools-file-search) for more information.\n","required":["id","type","status","queries"],"properties":{"id":{"type":"string","description":"The unique ID of the file search tool call.\n","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.1.id","typeLabel":"string"},"type":{"type":"string","enum":["file_search_call"],"description":"The type of the file search tool call. Always `file_search_call`.\n","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"status":{"type":"string","description":"The status of the file search tool call. One of `in_progress`,\n`searching`, `incomplete` or `failed`,\n","enum":["in_progress","searching","completed","incomplete","failed"],"isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.1.status","typeLabel":"enum\u003cstring>"},"queries":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.1.queries.items.[INDEX]","typeLabel":"string"},"description":"The queries used to search for files.\n","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.1.queries","typeLabel":"string[]"},"results":{"type":"any","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.1.results","typeLabel":"any"}},"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.1","typeLabel":"File search tool call · object"},{"type":"object","title":"Function tool call","description":"A tool call to run a function. See the\n[function calling guide](https://developers.openai.com/api/docs/guides/function-calling) for more information.\n","required":["type","call_id","name","arguments"],"properties":{"type":{"type":"string","const":"function_call","description":"The type of the function tool call. Always `function_call`.\n","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.2.type","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the function tool call generated by the model.\n","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.2.call_id","typeLabel":"string"},"name":{"type":"string","description":"The name of the function to run.\n","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.2.name","typeLabel":"string"},"arguments":{"type":"string","description":"A JSON string of the arguments to pass to the function.\n","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.2.arguments","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the function tool call.\n","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.2.id","typeLabel":"string"},"caller":{"type":"any","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.2.caller","typeLabel":"any"},"namespace":{"type":"string","description":"The namespace of the function to run.\n","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.2.namespace","typeLabel":"string"},"status":{"type":"string","description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.2.status","typeLabel":"enum\u003cstring>"},"async":{"type":"boolean","description":"Whether the function tool call runs asynchronously.\n","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.2.async","typeLabel":"boolean"}},"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.2","typeLabel":"Function tool call · object"},{"type":"object","title":"Function tool call output","description":"The output of a function tool call.\n","required":["id","status","type","output"],"properties":{"id":{"type":"string","description":"The unique ID of the function call tool output.\n","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.3.id","typeLabel":"string"},"type":{"type":"string","const":"function_call_output","description":"The type of the function tool call output. Always `function_call_output`.\n","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.3.type","typeLabel":"string"},"output":{"type":"any","description":"The output from the function call generated by your code.\nCan be a string or an list of output content.\n","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.3.output","typeLabel":"any"},"status":{"type":"string","description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.3.status","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","description":"The unique ID of the function tool call generated by the model.\n","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.3.call_id","typeLabel":"string"},"name":{"type":"string","description":"The name of the tool that produced the output.\n","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.3.name","typeLabel":"string"},"namespace":{"type":"string","description":"The namespace of the tool that produced the output.\n","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.3.namespace","typeLabel":"string"},"caller":{"type":"any","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.3.caller","typeLabel":"any"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.\n","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.3.created_by","typeLabel":"string"}},"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.3","typeLabel":"Function tool call output · object"},{"type":"object","title":"Web search tool call","description":"The results of a web search tool call. See the\n[web search guide](https://developers.openai.com/api/docs/guides/tools-web-search) for more information.\n","required":["id","type","status"],"properties":{"id":{"type":"string","description":"The unique ID of the web search tool call.\n","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.4.id","typeLabel":"string"},"type":{"type":"string","const":"web_search_call","description":"The type of the web search tool call. Always `web_search_call`.\n","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.4.type","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","searching","completed","failed","incomplete"],"description":"The status of the web search tool call.\n","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.4.status","typeLabel":"enum\u003cstring>"},"action":{"type":"any","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.4.action","typeLabel":"any"}},"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.4","typeLabel":"Web search tool call · object"},{"type":"object","title":"Computer tool call","description":"A tool call to a computer use tool. See the\n[computer use guide](https://developers.openai.com/api/docs/guides/tools-computer-use) for more information.\n","required":["type","id","call_id","pending_safety_checks","status"],"properties":{"type":{"type":"string","description":"The type of the computer call. Always `computer_call`.","enum":["computer_call"],"default":"computer_call","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.5.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the computer call.","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.5.id","typeLabel":"string"},"call_id":{"type":"string","description":"An identifier used when responding to the tool call with output.\n","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.5.call_id","typeLabel":"string"},"pending_safety_checks":{"type":"array","items":{"properties":{"id":{"type":"string","description":"The ID of the pending safety check.","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.5.pending_safety_checks.items.[INDEX].id","typeLabel":"string"},"code":{"type":"any","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.5.pending_safety_checks.items.[INDEX].code","typeLabel":"any"},"message":{"type":"any","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.5.pending_safety_checks.items.[INDEX].message","typeLabel":"any"}},"type":"object","required":["id"],"description":"A pending safety check for the computer call.","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.5.pending_safety_checks.items.[INDEX]","typeLabel":"object"},"description":"The pending safety checks for the computer call.\n","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.5.pending_safety_checks","typeLabel":"object[]"},"status":{"type":"string","description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.5.status","typeLabel":"enum\u003cstring>"},"action":{"type":"any","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.5.action","typeLabel":"any"},"actions":{"title":"Computer Action List","type":"array","description":"Flattened batched actions for `computer_use`. Each action includes an\n`type` discriminator and action-specific fields.\n","items":{"type":"any","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.5.actions.items.[INDEX]","typeLabel":"any"},"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.5.actions","typeLabel":"any[]"}},"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.5","typeLabel":"Computer tool call · object"},{"type":"object","title":"Computer tool call output","description":"The output of a computer tool call.\n","required":["id","status","type","call_id","output"],"properties":{"type":{"type":"string","description":"The type of the computer tool call output. Always `computer_call_output`.\n","const":"computer_call_output","default":"computer_call_output","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.6.type","typeLabel":"string"},"id":{"type":"string","description":"The ID of the computer tool call output.\n","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.6.id","typeLabel":"string"},"call_id":{"type":"string","description":"The ID of the computer tool call that produced the output.\n","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.6.call_id","typeLabel":"string"},"output":{"type":"object","description":"A computer screenshot image used with the computer use tool.\n","properties":{"type":{"type":"string","const":"computer_screenshot","default":"computer_screenshot","description":"Specifies the event type. For a computer screenshot, this property is \nalways set to `computer_screenshot`.\n","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.6.output.type","typeLabel":"string"},"image_url":{"type":"string","format":"uri","description":"The URL of the screenshot image.","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.6.output.image_url","typeLabel":"string\u003curi>"},"file_id":{"type":"string","description":"The identifier of an uploaded file that contains the screenshot.","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.6.output.file_id","typeLabel":"string"}},"required":["type"],"isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.6.output","typeLabel":"object"},"status":{"type":"string","description":"The status of the message input. One of `in_progress`, `completed`, or\n`incomplete`. Populated when input items are returned via API.\n","enum":["completed","incomplete"],"isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.6.status","typeLabel":"enum\u003cstring>"},"acknowledged_safety_checks":{"type":"array","description":"The safety checks reported by the API that have been acknowledged by the\ndeveloper.\n","items":{"properties":{"id":{"type":"string","description":"The ID of the pending safety check.","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.6.acknowledged_safety_checks.items.[INDEX].id","typeLabel":"string"},"code":{"type":"any","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.6.acknowledged_safety_checks.items.[INDEX].code","typeLabel":"any"},"message":{"type":"any","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.6.acknowledged_safety_checks.items.[INDEX].message","typeLabel":"any"}},"type":"object","required":["id"],"description":"A pending safety check for the computer call.","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.6.acknowledged_safety_checks.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.6.acknowledged_safety_checks","typeLabel":"object[]"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.\n","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.6.created_by","typeLabel":"string"}},"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.6","typeLabel":"Computer tool call output · object"},{"type":"object","title":"Reasoning","description":"A description of the chain of thought used by a reasoning model while generating\na response. Be sure to include these items in your `input` to the Responses API\nfor subsequent turns of a conversation if you are manually\n[managing context](https://developers.openai.com/api/docs/guides/conversation-state).\n","required":["id","summary","type"],"properties":{"type":{"type":"string","description":"The type of the object. Always `reasoning`.\n","enum":["reasoning"],"isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.7.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique identifier of the reasoning content.\n","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.7.id","typeLabel":"string"},"summary":{"type":"array","description":"Reasoning summary content.\n","items":{"properties":{"type":{"type":"string","enum":["summary_text"],"description":"The type of the object. Always `summary_text`.","default":"summary_text","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.7.summary.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"A summary of the reasoning output from the model so far.","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.7.summary.items.[INDEX].text","typeLabel":"string"}},"type":"object","required":["type","text"],"title":"Summary text","description":"A summary text from the model.","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.7.summary.items.[INDEX]","typeLabel":"Summary text · object"},"isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.7.summary","typeLabel":"Summary text · object[]"},"encrypted_content":{"type":"any","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.7.encrypted_content","typeLabel":"any"},"content":{"type":"array","description":"Reasoning text content.\n","items":{"properties":{"type":{"type":"string","enum":["reasoning_text"],"description":"The type of the reasoning text. Always `reasoning_text`.","default":"reasoning_text","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.7.content.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"The reasoning text from the model.","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.7.content.items.[INDEX].text","typeLabel":"string"}},"type":"object","required":["type","text"],"title":"Reasoning text","description":"Reasoning text from the model.","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.7.content.items.[INDEX]","typeLabel":"Reasoning text · object"},"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.7.content","typeLabel":"Reasoning text · object[]"},"status":{"type":"string","description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.7.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.7","typeLabel":"Reasoning · object"},{"type":"object","required":["type","id","call_id","code","fingerprint"],"properties":{"type":{"type":"string","enum":["program"],"description":"The type of the item. Always `program`.","default":"program","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.8.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the program item.","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.8.id","typeLabel":"string"},"call_id":{"type":"string","description":"The stable call ID of the program item.","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.8.call_id","typeLabel":"string"},"code":{"type":"string","description":"The JavaScript source executed by programmatic tool calling.","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.8.code","typeLabel":"string"},"fingerprint":{"type":"string","description":"Opaque program replay fingerprint that must be round-tripped.","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.8.fingerprint","typeLabel":"string"}},"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.8","typeLabel":"object"},{"type":"object","required":["type","id","call_id","result","status"],"properties":{"type":{"type":"string","enum":["program_output"],"description":"The type of the item. Always `program_output`.","default":"program_output","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.9.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the program output item.","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.9.id","typeLabel":"string"},"call_id":{"type":"string","description":"The call ID of the program item.","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.9.call_id","typeLabel":"string"},"result":{"type":"string","description":"The result produced by the program item.","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.9.result","typeLabel":"string"},"status":{"type":"string","enum":["completed","incomplete"],"description":"The terminal status of the program output item.","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.9.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.9","typeLabel":"object"},{"type":"object","required":["type","id","call_id","execution","arguments","status"],"properties":{"type":{"type":"string","enum":["tool_search_call"],"description":"The type of the item. Always `tool_search_call`.","default":"tool_search_call","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.10.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the tool search call item.","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.10.id","typeLabel":"string"},"call_id":{"type":"any","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.10.call_id","typeLabel":"any"},"execution":{"type":"string","enum":["server","client"],"description":"Whether tool search was executed by the server or by the client.","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.10.execution","typeLabel":"enum\u003cstring>"},"arguments":{"description":"Arguments used for the tool search call.","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.10.arguments","typeLabel":"any"},"status":{"type":"string","enum":["in_progress","completed","incomplete"],"description":"The status of the tool search call item that was recorded.","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.10.status","typeLabel":"enum\u003cstring>"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.10.created_by","typeLabel":"string"}},"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.10","typeLabel":"object"},{"type":"object","required":["type","id","call_id","execution","tools","status"],"properties":{"type":{"type":"string","enum":["tool_search_output"],"description":"The type of the item. Always `tool_search_output`.","default":"tool_search_output","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.11.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the tool search output item.","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.11.id","typeLabel":"string"},"call_id":{"type":"any","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.11.call_id","typeLabel":"any"},"execution":{"type":"string","enum":["server","client"],"description":"Whether tool search was executed by the server or by the client.","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.11.execution","typeLabel":"enum\u003cstring>"},"tools":{"items":{"type":"any","description":"A tool that can be used to generate a response.\n","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.11.tools.items.[INDEX]","typeLabel":"any"},"type":"array","description":"The loaded tool definitions returned by tool search.","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.11.tools","typeLabel":"any[]"},"status":{"type":"string","enum":["in_progress","completed","incomplete"],"description":"The status of the tool search output item that was recorded.","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.11.status","typeLabel":"enum\u003cstring>"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.11.created_by","typeLabel":"string"}},"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.11","typeLabel":"object"},{"type":"object","required":["type","id","role","tools"],"properties":{"type":{"type":"string","enum":["additional_tools"],"description":"The type of the item. Always `additional_tools`.","default":"additional_tools","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.12.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the additional tools item.","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.12.id","typeLabel":"string"},"role":{"type":"string","enum":["unknown","user","assistant","system","critic","discriminator","developer","tool"],"description":"The role that provided the additional tools.","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.12.role","typeLabel":"enum\u003cstring>"},"tools":{"items":{"type":"any","description":"A tool that can be used to generate a response.\n","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.12.tools.items.[INDEX]","typeLabel":"any"},"type":"array","description":"The additional tool definitions made available at this item.","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.12.tools","typeLabel":"any[]"}},"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.12","typeLabel":"object"},{"type":"object","title":"Compaction item","description":"A compaction item generated by the [`v1/responses/compact` API](https://developers.openai.com/api/reference/resources/responses/methods/compact).","required":["type","id","encrypted_content"],"properties":{"type":{"type":"string","enum":["compaction"],"description":"The type of the item. Always `compaction`.","default":"compaction","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.13.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the compaction item.","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.13.id","typeLabel":"string"},"encrypted_content":{"type":"string","description":"The encrypted content that was produced by compaction.","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.13.encrypted_content","typeLabel":"string"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.13.created_by","typeLabel":"string"}},"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.13","typeLabel":"Compaction item · object"},{"type":"object","title":"Image generation call","description":"An image generation request made by the model.","required":["type","id","status","result"],"properties":{"type":{"type":"string","enum":["image_generation_call"],"description":"The type of the image generation call. Always `image_generation_call`.","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.14.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the image generation call.","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.14.id","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","completed","generating","failed"],"description":"The status of the image generation call.","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.14.status","typeLabel":"enum\u003cstring>"},"result":{"type":"any","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.14.result","typeLabel":"any"},"error":{"properties":{"code":{"type":"any","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.14.error.code","typeLabel":"any"},"type":{"type":"string","description":"The error type.","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.14.error.type","typeLabel":"string"},"message":{"type":"string","description":"A description of the error.","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.14.error.message","typeLabel":"string"},"param":{"type":"any","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.14.error.param","typeLabel":"any"},"moderation_details":{"properties":{"moderation_stage":{"type":"string","enum":["input","output","unknown"],"description":"The stage where moderation blocked the image generation call.","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.14.error.moderation_details.moderation_stage","typeLabel":"enum\u003cstring>"},"categories":{"items":{"type":"string","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.14.error.moderation_details.categories.items.[INDEX]","typeLabel":"string"},"type":"array","description":"Public moderation categories. New category values may be added over time.","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.14.error.moderation_details.categories","typeLabel":"string[]"}},"type":"object","required":["moderation_stage","categories"],"description":"Public details for a `moderation_blocked` error, when available.","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.14.error.moderation_details","typeLabel":"object"}},"type":"object","required":["code","type","message","param"],"description":"Details of a moderation failure, when available.","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.14.error","typeLabel":"object"},"size":{"type":"any","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.14.size","typeLabel":"any"},"quality":{"type":"any","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.14.quality","typeLabel":"any"},"action":{"type":"any","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.14.action","typeLabel":"any"},"background":{"type":"any","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.14.background","typeLabel":"any"},"output_format":{"type":"any","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.14.output_format","typeLabel":"any"},"svg_usage":{"properties":{"model":{"type":"string","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.14.svg_usage.model","typeLabel":"string"},"input_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.14.svg_usage.input_tokens","typeLabel":"integer"},"output_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.14.svg_usage.output_tokens","typeLabel":"integer"},"total_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.14.svg_usage.total_tokens","typeLabel":"integer"},"reasoning_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.14.svg_usage.reasoning_tokens","typeLabel":"integer"}},"type":"object","required":["model","input_tokens","output_tokens","total_tokens","reasoning_tokens"],"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.14.svg_usage","typeLabel":"object"},"revised_prompt":{"type":"any","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.14.revised_prompt","typeLabel":"any"}},"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.14","typeLabel":"Image generation call · object"},{"type":"object","title":"Code interpreter tool call","description":"A tool call to run code.\n","required":["type","id","status","container_id","code","outputs"],"properties":{"type":{"type":"string","enum":["code_interpreter_call"],"default":"code_interpreter_call","description":"The type of the code interpreter tool call. Always `code_interpreter_call`.\n","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.15.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the code interpreter tool call.\n","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.15.id","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","completed","incomplete","interpreting","failed"],"description":"The status of the code interpreter tool call. Valid values are `in_progress`, `completed`, `incomplete`, `interpreting`, and `failed`.\n","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.15.status","typeLabel":"enum\u003cstring>"},"container_id":{"type":"string","description":"The ID of the container used to run the code.\n","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.15.container_id","typeLabel":"string"},"code":{"type":"any","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.15.code","typeLabel":"any"},"outputs":{"type":"any","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.15.outputs","typeLabel":"any"}},"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.15","typeLabel":"Code interpreter tool call · object"},{"type":"object","title":"Local shell call","description":"A tool call to run a command on the local shell.\n","required":["type","id","call_id","action","status"],"properties":{"type":{"type":"string","enum":["local_shell_call"],"description":"The type of the local shell call. Always `local_shell_call`.\n","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.16.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the local shell call.\n","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.16.id","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the local shell tool call generated by the model.\n","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.16.call_id","typeLabel":"string"},"action":{"properties":{"type":{"type":"string","enum":["exec"],"description":"The type of the local shell action. Always `exec`.","default":"exec","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.16.action.type","typeLabel":"enum\u003cstring>"},"command":{"items":{"type":"string","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.16.action.command.items.[INDEX]","typeLabel":"string"},"type":"array","description":"The command to run.","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.16.action.command","typeLabel":"string[]"},"env":{"additionalProperties":{"type":"string","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.16.action.env.additionalProperties","typeLabel":"string"},"type":"object","description":"Environment variables to set for the command.","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.16.action.env","typeLabel":"object"},"timeout_ms":{"type":"any","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.16.action.timeout_ms","typeLabel":"any"},"working_directory":{"type":"any","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.16.action.working_directory","typeLabel":"any"},"user":{"type":"any","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.16.action.user","typeLabel":"any"}},"type":"object","required":["type","command","env"],"title":"Local shell exec action","description":"Execute a shell command on the server.","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.16.action","typeLabel":"Local shell exec action · object"},"status":{"type":"string","enum":["in_progress","completed","incomplete"],"description":"The status of the local shell call.\n","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.16.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.16","typeLabel":"Local shell call · object"},{"type":"object","title":"Local shell call output","description":"The output of a local shell tool call.\n","required":["id","type","call_id","output"],"properties":{"type":{"type":"string","enum":["local_shell_call_output"],"description":"The type of the local shell tool call output. Always `local_shell_call_output`.\n","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.17.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the local shell tool call generated by the model.\n","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.17.id","typeLabel":"string"},"output":{"type":"string","description":"A JSON string of the output of the local shell tool call.\n","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.17.output","typeLabel":"string"},"status":{"type":"any","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.17.status","typeLabel":"any"}},"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.17","typeLabel":"Local shell call output · object"},{"type":"object","title":"Shell tool call","description":"A tool call that executes one or more shell commands in a managed environment.","required":["type","id","call_id","action","status","environment"],"properties":{"type":{"type":"string","enum":["shell_call"],"description":"The type of the item. Always `shell_call`.","default":"shell_call","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.18.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the shell tool call. Populated when this item is returned via API.","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.18.id","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the shell tool call generated by the model.","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.18.call_id","typeLabel":"string"},"action":{"properties":{"commands":{"items":{"type":"string","description":"A list of commands to run.","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.18.action.commands.items.[INDEX]","typeLabel":"string"},"type":"array","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.18.action.commands","typeLabel":"string[]"},"timeout_ms":{"type":"any","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.18.action.timeout_ms","typeLabel":"any"},"max_output_length":{"type":"any","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.18.action.max_output_length","typeLabel":"any"}},"type":"object","required":["commands","timeout_ms","max_output_length"],"title":"Shell exec action","description":"The shell commands and limits that describe how to run the tool call.","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.18.action","typeLabel":"Shell exec action · object"},"status":{"type":"string","enum":["in_progress","completed","incomplete"],"description":"The status of the shell call. One of `in_progress`, `completed`, or `incomplete`.","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.18.status","typeLabel":"enum\u003cstring>"},"environment":{"type":"any","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.18.environment","typeLabel":"any"},"caller":{"type":"any","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.18.caller","typeLabel":"any"},"created_by":{"type":"string","description":"The ID of the entity that created this tool call.","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.18.created_by","typeLabel":"string"}},"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.18","typeLabel":"Shell tool call · object"},{"type":"object","title":"Shell call output","description":"The output of a shell tool call that was emitted.","required":["type","id","call_id","status","output","max_output_length"],"properties":{"type":{"type":"string","enum":["shell_call_output"],"description":"The type of the shell call output. Always `shell_call_output`.","default":"shell_call_output","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.19.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the shell call output. Populated when this item is returned via API.","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.19.id","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the shell tool call generated by the model.","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.19.call_id","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","completed","incomplete"],"description":"The status of the shell call output. One of `in_progress`, `completed`, or `incomplete`.","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.19.status","typeLabel":"enum\u003cstring>"},"output":{"items":{"properties":{"stdout":{"type":"string","description":"The standard output that was captured.","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.19.output.items.[INDEX].stdout","typeLabel":"string"},"stderr":{"type":"string","description":"The standard error output that was captured.","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.19.output.items.[INDEX].stderr","typeLabel":"string"},"outcome":{"type":"any","title":"Shell call outcome","description":"Represents either an exit outcome (with an exit code) or a timeout outcome for a shell call output chunk.","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.19.output.items.[INDEX].outcome","typeLabel":"any"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.19.output.items.[INDEX].created_by","typeLabel":"string"}},"type":"object","required":["stdout","stderr","outcome"],"title":"Shell call output content","description":"The content of a shell tool call output that was emitted.","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.19.output.items.[INDEX]","typeLabel":"Shell call output content · object"},"type":"array","description":"An array of shell call output contents","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.19.output","typeLabel":"Shell call output content · object[]"},"max_output_length":{"type":"any","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.19.max_output_length","typeLabel":"any"},"caller":{"type":"any","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.19.caller","typeLabel":"any"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.19.created_by","typeLabel":"string"}},"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.19","typeLabel":"Shell call output · object"},{"type":"object","title":"Apply patch tool call","description":"A tool call that applies file diffs by creating, deleting, or updating files.","required":["type","id","call_id","status","operation"],"properties":{"type":{"type":"string","enum":["apply_patch_call"],"description":"The type of the item. Always `apply_patch_call`.","default":"apply_patch_call","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.20.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the apply patch tool call. Populated when this item is returned via API.","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.20.id","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the apply patch tool call generated by the model.","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.20.call_id","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","completed"],"description":"The status of the apply patch tool call. One of `in_progress` or `completed`.","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.20.status","typeLabel":"enum\u003cstring>"},"operation":{"type":"any","title":"Apply patch operation","description":"One of the create_file, delete_file, or update_file operations applied via apply_patch.","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.20.operation","typeLabel":"any"},"caller":{"type":"any","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.20.caller","typeLabel":"any"},"created_by":{"type":"string","description":"The ID of the entity that created this tool call.","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.20.created_by","typeLabel":"string"}},"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.20","typeLabel":"Apply patch tool call · object"},{"type":"object","title":"Apply patch tool call output","description":"The output emitted by an apply patch tool call.","required":["type","id","call_id","status"],"properties":{"type":{"type":"string","enum":["apply_patch_call_output"],"description":"The type of the item. Always `apply_patch_call_output`.","default":"apply_patch_call_output","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.21.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the apply patch tool call output. Populated when this item is returned via API.","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.21.id","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the apply patch tool call generated by the model.","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.21.call_id","typeLabel":"string"},"status":{"type":"string","enum":["completed","failed"],"description":"The status of the apply patch tool call output. One of `completed` or `failed`.","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.21.status","typeLabel":"enum\u003cstring>"},"caller":{"type":"any","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.21.caller","typeLabel":"any"},"output":{"type":"any","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.21.output","typeLabel":"any"},"created_by":{"type":"string","description":"The ID of the entity that created this tool call output.","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.21.created_by","typeLabel":"string"}},"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.21","typeLabel":"Apply patch tool call output · object"},{"type":"object","title":"MCP tool call","description":"An invocation of a tool on an MCP server.\n","required":["type","id","server_label","name","arguments"],"properties":{"type":{"type":"string","const":"mcp_call","description":"The type of the item. Always `mcp_call`.\n","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.22.type","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the tool call.\n","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.22.id","typeLabel":"string"},"server_label":{"type":"string","description":"The label of the MCP server running the tool.\n","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.22.server_label","typeLabel":"string"},"name":{"type":"string","description":"The name of the tool that was run.\n","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.22.name","typeLabel":"string"},"arguments":{"type":"string","description":"A JSON string of the arguments passed to the tool.\n","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.22.arguments","typeLabel":"string"},"output":{"type":"any","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.22.output","typeLabel":"any"},"error":{"type":"any","description":"The error from the tool call, if any.","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.22.error","typeLabel":"any"},"status":{"type":"string","enum":["in_progress","completed","incomplete","calling","failed"],"description":"The status of the tool call. One of `in_progress`, `completed`, `incomplete`, `calling`, or `failed`.\n","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.22.status","typeLabel":"enum\u003cstring>"},"approval_request_id":{"type":"any","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.22.approval_request_id","typeLabel":"any"}},"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.22","typeLabel":"MCP tool call · object"},{"type":"object","title":"MCP list tools","description":"A list of tools available on an MCP server.\n","required":["type","id","server_label","tools"],"properties":{"type":{"type":"string","const":"mcp_list_tools","description":"The type of the item. Always `mcp_list_tools`.\n","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.23.type","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the list.\n","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.23.id","typeLabel":"string"},"server_label":{"type":"string","description":"The label of the MCP server.\n","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.23.server_label","typeLabel":"string"},"tools":{"type":"array","items":{"type":"object","title":"MCP list tools tool","description":"A tool available on an MCP server.\n","properties":{"name":{"type":"string","description":"The name of the tool.\n","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.23.tools.items.[INDEX].name","typeLabel":"string"},"input_schema":{"type":"object","description":"The JSON schema describing the tool's input.\n","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.23.tools.items.[INDEX].input_schema","typeLabel":"object"},"description":{"type":"any","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.23.tools.items.[INDEX].description","typeLabel":"any"},"annotations":{"type":"any","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.23.tools.items.[INDEX].annotations","typeLabel":"any"}},"required":["name","input_schema"],"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.23.tools.items.[INDEX]","typeLabel":"MCP list tools tool · object"},"description":"The tools available on the server.\n","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.23.tools","typeLabel":"MCP list tools tool · object[]"},"error":{"type":"any","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.23.error","typeLabel":"any"}},"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.23","typeLabel":"MCP list tools · object"},{"type":"object","title":"MCP approval request","description":"A request for human approval of a tool invocation.\n","required":["type","id","server_label","name","arguments"],"properties":{"type":{"type":"string","const":"mcp_approval_request","description":"The type of the item. Always `mcp_approval_request`.\n","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.24.type","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the approval request.\n","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.24.id","typeLabel":"string"},"server_label":{"type":"string","description":"The label of the MCP server making the request.\n","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.24.server_label","typeLabel":"string"},"name":{"type":"string","description":"The name of the tool to run.\n","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.24.name","typeLabel":"string"},"arguments":{"type":"string","description":"A JSON string of arguments for the tool.\n","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.24.arguments","typeLabel":"string"}},"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.24","typeLabel":"MCP approval request · object"},{"type":"object","title":"MCP approval response","description":"A response to an MCP approval request.\n","required":["type","id","request_id","approve","approval_request_id"],"properties":{"type":{"type":"string","const":"mcp_approval_response","description":"The type of the item. Always `mcp_approval_response`.\n","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.25.type","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the approval response\n","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.25.id","typeLabel":"string"},"approval_request_id":{"type":"string","description":"The ID of the approval request being answered.\n","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.25.approval_request_id","typeLabel":"string"},"approve":{"type":"boolean","description":"Whether the request was approved.\n","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.25.approve","typeLabel":"boolean"},"reason":{"type":"any","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.25.reason","typeLabel":"any"}},"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.25","typeLabel":"MCP approval response · object"},{"type":"object","title":"Custom tool call","description":"A call to a custom tool created by the model.\n","required":["type","call_id","name","input"],"properties":{"type":{"type":"string","enum":["custom_tool_call"],"description":"The type of the custom tool call. Always `custom_tool_call`.\n","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.26.type","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","description":"An identifier used to map this custom tool call to a tool call output.\n","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.26.call_id","typeLabel":"string"},"name":{"type":"string","description":"The name of the custom tool being called.\n","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.26.name","typeLabel":"string"},"input":{"type":"string","description":"The input for the custom tool call generated by the model.\n","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.26.input","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the custom tool call in the OpenAI platform.\n","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.26.id","typeLabel":"string"},"caller":{"type":"any","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.26.caller","typeLabel":"any"},"namespace":{"type":"string","description":"The namespace of the custom tool being called.\n","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.26.namespace","typeLabel":"string"},"async":{"type":"boolean","description":"Whether the custom tool call runs asynchronously.\n","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.26.async","typeLabel":"boolean"}},"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.26","typeLabel":"Custom tool call · object"},{"type":"object","title":"ResponseCustomToolCallOutputItem","description":"The output of a custom tool call from your code, being sent back to the model.\n","required":["id","status","type","call_id","output"],"properties":{"type":{"type":"string","enum":["custom_tool_call_output"],"description":"The type of the custom tool call output. Always `custom_tool_call_output`.\n","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.27.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the custom tool call output item.\n","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.27.id","typeLabel":"string"},"call_id":{"type":"string","description":"The call ID, used to map this custom tool call output to a custom tool call.\n","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.27.call_id","typeLabel":"string"},"output":{"type":"any","description":"The output from the custom tool call generated by your code.\nCan be a string or an list of output content.\n","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.27.output","typeLabel":"any"},"status":{"type":"string","enum":["in_progress","completed","incomplete"],"description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","isRequired":true,"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.27.status","typeLabel":"enum\u003cstring>"},"caller":{"type":"any","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.27.caller","typeLabel":"any"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.\n","uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.27.created_by","typeLabel":"string"}},"uniqueKey":"oneOf.10.response.output.items.[INDEX].oneOf.27","typeLabel":"ResponseCustomToolCallOutputItem · object"}],"uniqueKey":"oneOf.10.response.output.items.[INDEX]","typeLabel":"Output message · object · File search tool call · object · Function tool call · object · Function tool call output · object · Web search tool call · object · Computer tool call · object · Computer tool call output · object · Reasoning · object · object · object · object · object · object · Compaction item · object · Image generation call · object · Code interpreter tool call · object · Local shell call · object · Local shell call output · object · Shell tool call · object · Shell call output · object · Apply patch tool call · object · Apply patch tool call output · object · MCP tool call · object · MCP list tools · object · MCP approval request · object · MCP approval response · object · Custom tool call · object · ResponseCustomToolCallOutputItem · object"},"isRequired":true,"uniqueKey":"oneOf.10.response.output","typeLabel":"Output message · object · File search tool call · object · Function tool call · object · Function tool call output · object · Web search tool call · object · Computer tool call · object · Computer tool call output · object · Reasoning · object · object · object · object · object · object · Compaction item · object · Image generation call · object · Code interpreter tool call · object · Local shell call · object · Local shell call output · object · Shell tool call · object · Shell call output · object · Apply patch tool call · object · Apply patch tool call output · object · MCP tool call · object · MCP list tools · object · MCP approval request · object · MCP approval response · object · Custom tool call · object · ResponseCustomToolCallOutputItem · object[]"},"instructions":{"oneOf":[{"type":"string","description":"A system (or developer) message inserted into the model's context.\n\nWhen using along with `previous_response_id`, the instructions from a previous\nresponse will not be carried over to the next response. This makes it simple\nto swap out system (or developer) messages in new responses.\n","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.0","typeLabel":"string"},{"type":"array","items":{"oneOf":[{"type":"object","title":"Input message","description":"A message input to the model with a role indicating instruction following\nhierarchy. Instructions given with the `developer` or `system` role take\nprecedence over instructions given with the `user` role. Messages with the\n`assistant` role are presumed to have been generated by the model in previous\ninteractions.\n","required":["role","content"],"properties":{"role":{"type":"string","description":"The role of the message input. One of `user`, `assistant`, `system`, or\n`developer`.\n","enum":["user","assistant","system","developer"],"isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.0.role","typeLabel":"enum\u003cstring>"},"content":{"type":"any","description":"Text, image, or audio input to the model, used to generate a response.\nCan also contain previous assistant responses.\n","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.0.content","typeLabel":"any"},"phase":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.0.phase","typeLabel":"any"},"type":{"type":"string","description":"The type of the message input. Always `message`.\n","enum":["message"],"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.0","typeLabel":"Input message · object"},{"type":"object","title":"Input message","description":"A message input to the model with a role indicating instruction following\nhierarchy. Instructions given with the `developer` or `system` role take\nprecedence over instructions given with the `user` role.\n","required":["role","content"],"properties":{"role":{"type":"string","description":"The role of the message input. One of `user`, `system`, or `developer`.\n","enum":["user","system","developer"],"isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.1.role","typeLabel":"enum\u003cstring>"},"content":{"type":"array","title":"Input item content list","description":"A list of one or many input items to the model, containing different content \ntypes.\n","items":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.1.content.items.[INDEX]","typeLabel":"any"},"isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.1.content","typeLabel":"any[]"},"type":{"type":"string","description":"The type of the message input. Always set to `message`.\n","const":"message","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.1.type","typeLabel":"string"},"status":{"type":"string","description":"The status of item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.1.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.1","typeLabel":"Input message · object"},{"type":"object","title":"Output message","description":"An output message from the model.\n","required":["id","type","role","content","status"],"properties":{"id":{"type":"string","description":"The unique ID of the output message.\n","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.2.id","typeLabel":"string"},"type":{"type":"string","description":"The type of the output message. Always `message`.\n","const":"message","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.2.type","typeLabel":"string"},"role":{"type":"string","description":"The role of the output message. Always `assistant`.\n","const":"assistant","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.2.role","typeLabel":"string"},"content":{"type":"array","description":"The content of the output message.\n","items":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.2.content.items.[INDEX]","typeLabel":"any"},"isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.2.content","typeLabel":"any[]"},"status":{"type":"string","description":"The status of the message input. One of `in_progress`, `completed`, or\n`incomplete`. Populated when input items are returned via API.\n","enum":["in_progress","completed","incomplete"],"isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.2.status","typeLabel":"enum\u003cstring>"},"phase":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.2.phase","typeLabel":"any"}},"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.2","typeLabel":"Output message · object"},{"type":"object","title":"File search tool call","description":"The results of a file search tool call. See the\n[file search guide](https://developers.openai.com/api/docs/guides/tools-file-search) for more information.\n","required":["id","type","status","queries"],"properties":{"id":{"type":"string","description":"The unique ID of the file search tool call.\n","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.3.id","typeLabel":"string"},"type":{"type":"string","enum":["file_search_call"],"description":"The type of the file search tool call. Always `file_search_call`.\n","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"status":{"type":"string","description":"The status of the file search tool call. One of `in_progress`,\n`searching`, `incomplete` or `failed`,\n","enum":["in_progress","searching","completed","incomplete","failed"],"isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.3.status","typeLabel":"enum\u003cstring>"},"queries":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.3.queries.items.[INDEX]","typeLabel":"string"},"description":"The queries used to search for files.\n","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.3.queries","typeLabel":"string[]"},"results":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.3.results","typeLabel":"any"}},"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.3","typeLabel":"File search tool call · object"},{"type":"object","title":"Computer tool call","description":"A tool call to a computer use tool. See the\n[computer use guide](https://developers.openai.com/api/docs/guides/tools-computer-use) for more information.\n","required":["type","id","call_id","pending_safety_checks","status"],"properties":{"type":{"type":"string","description":"The type of the computer call. Always `computer_call`.","enum":["computer_call"],"default":"computer_call","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.4.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the computer call.","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.4.id","typeLabel":"string"},"call_id":{"type":"string","description":"An identifier used when responding to the tool call with output.\n","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.4.call_id","typeLabel":"string"},"pending_safety_checks":{"type":"array","items":{"properties":{"id":{"type":"string","description":"The ID of the pending safety check.","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.4.pending_safety_checks.items.[INDEX].id","typeLabel":"string"},"code":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.4.pending_safety_checks.items.[INDEX].code","typeLabel":"any"},"message":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.4.pending_safety_checks.items.[INDEX].message","typeLabel":"any"}},"type":"object","required":["id"],"description":"A pending safety check for the computer call.","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.4.pending_safety_checks.items.[INDEX]","typeLabel":"object"},"description":"The pending safety checks for the computer call.\n","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.4.pending_safety_checks","typeLabel":"object[]"},"status":{"type":"string","description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.4.status","typeLabel":"enum\u003cstring>"},"action":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.4.action","typeLabel":"any"},"actions":{"title":"Computer Action List","type":"array","description":"Flattened batched actions for `computer_use`. Each action includes an\n`type` discriminator and action-specific fields.\n","items":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.4.actions.items.[INDEX]","typeLabel":"any"},"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.4.actions","typeLabel":"any[]"}},"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.4","typeLabel":"Computer tool call · object"},{"type":"object","title":"Computer tool call output","description":"The output of a computer tool call.","required":["call_id","type","output"],"properties":{"call_id":{"type":"string","maxLength":64,"minLength":1,"description":"The ID of the computer tool call that produced the output.","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.5.call_id","typeLabel":"string"},"type":{"type":"string","enum":["computer_call_output"],"description":"The type of the computer tool call output. Always `computer_call_output`.","default":"computer_call_output","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.5.type","typeLabel":"enum\u003cstring>"},"output":{"type":"object","description":"A computer screenshot image used with the computer use tool.\n","properties":{"type":{"type":"string","const":"computer_screenshot","default":"computer_screenshot","description":"Specifies the event type. For a computer screenshot, this property is \nalways set to `computer_screenshot`.\n","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.5.output.type","typeLabel":"string"},"image_url":{"type":"string","format":"uri","description":"The URL of the screenshot image.","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.5.output.image_url","typeLabel":"string\u003curi>"},"file_id":{"type":"string","description":"The identifier of an uploaded file that contains the screenshot.","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.5.output.file_id","typeLabel":"string"}},"required":["type"],"isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.5.output","typeLabel":"object"},"id":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.5.id","typeLabel":"any"},"acknowledged_safety_checks":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.5.acknowledged_safety_checks","typeLabel":"any"},"status":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.5.status","typeLabel":"any"}},"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.5","typeLabel":"Computer tool call output · object"},{"type":"object","title":"Web search tool call","description":"The results of a web search tool call. See the\n[web search guide](https://developers.openai.com/api/docs/guides/tools-web-search) for more information.\n","required":["id","type","status"],"properties":{"id":{"type":"string","description":"The unique ID of the web search tool call.\n","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.6.id","typeLabel":"string"},"type":{"type":"string","const":"web_search_call","description":"The type of the web search tool call. Always `web_search_call`.\n","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.6.type","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","searching","completed","failed","incomplete"],"description":"The status of the web search tool call.\n","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.6.status","typeLabel":"enum\u003cstring>"},"action":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.6.action","typeLabel":"any"}},"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.6","typeLabel":"Web search tool call · object"},{"type":"object","title":"Function tool call","description":"A tool call to run a function. See the\n[function calling guide](https://developers.openai.com/api/docs/guides/function-calling) for more information.\n","required":["type","call_id","name","arguments"],"properties":{"type":{"type":"string","const":"function_call","description":"The type of the function tool call. Always `function_call`.\n","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.7.type","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the function tool call generated by the model.\n","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.7.call_id","typeLabel":"string"},"name":{"type":"string","description":"The name of the function to run.\n","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.7.name","typeLabel":"string"},"arguments":{"type":"string","description":"A JSON string of the arguments to pass to the function.\n","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.7.arguments","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the function tool call.\n","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.7.id","typeLabel":"string"},"caller":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.7.caller","typeLabel":"any"},"namespace":{"type":"string","description":"The namespace of the function to run.\n","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.7.namespace","typeLabel":"string"},"status":{"type":"string","description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.7.status","typeLabel":"enum\u003cstring>"},"async":{"type":"boolean","description":"Whether the function tool call runs asynchronously.\n","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.7.async","typeLabel":"boolean"}},"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.7","typeLabel":"Function tool call · object"},{"type":"object","title":"Function tool call output","description":"The output of a function tool call.","required":["type","output"],"properties":{"type":{"type":"string","enum":["function_call_output"],"description":"The type of the function tool call output. Always `function_call_output`.","default":"function_call_output","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.8.type","typeLabel":"enum\u003cstring>"},"output":{"type":"any","description":"Text, image, or file output of the function tool call.","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.8.output","typeLabel":"any"},"id":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.8.id","typeLabel":"any"},"call_id":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.8.call_id","typeLabel":"any"},"name":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.8.name","typeLabel":"any"},"namespace":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.8.namespace","typeLabel":"any"},"caller":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.8.caller","typeLabel":"any"},"status":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.8.status","typeLabel":"any"}},"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.8","typeLabel":"Function tool call output · object"},{"type":"object","title":"Item","description":"An item representing part of the context for the response to be\ngenerated by the model. Can contain text, images, and audio inputs,\nas well as previous assistant responses and tool call outputs.\n","required":["type","arguments"],"properties":{"type":{"type":"string","enum":["tool_search_call"],"description":"The item type. Always `tool_search_call`.","default":"tool_search_call","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.9.type","typeLabel":"enum\u003cstring>"},"arguments":{"properties":{},"type":"object","required":[],"description":"The arguments supplied to the tool search call.","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.9.arguments","typeLabel":"object"},"id":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.9.id","typeLabel":"any"},"call_id":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.9.call_id","typeLabel":"any"},"execution":{"type":"string","enum":["server","client"],"description":"Whether tool search was executed by the server or by the client.","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.9.execution","typeLabel":"enum\u003cstring>"},"status":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.9.status","typeLabel":"any"}},"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.9","typeLabel":"Item · object"},{"type":"object","title":"Item","description":"An item representing part of the context for the response to be\ngenerated by the model. Can contain text, images, and audio inputs,\nas well as previous assistant responses and tool call outputs.\n","required":["type","tools"],"properties":{"type":{"type":"string","enum":["tool_search_output"],"description":"The item type. Always `tool_search_output`.","default":"tool_search_output","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.10.type","typeLabel":"enum\u003cstring>"},"tools":{"items":{"type":"any","description":"A tool definition returned by a tool search output.\n","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.10.tools.items.[INDEX]","typeLabel":"any"},"type":"array","description":"The loaded tool definitions returned by the tool search output.","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.10.tools","typeLabel":"any[]"},"id":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.10.id","typeLabel":"any"},"call_id":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.10.call_id","typeLabel":"any"},"execution":{"type":"string","enum":["server","client"],"description":"Whether tool search was executed by the server or by the client.","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.10.execution","typeLabel":"enum\u003cstring>"},"status":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.10.status","typeLabel":"any"}},"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.10","typeLabel":"Item · object"},{"type":"object","title":"Item","description":"An item representing part of the context for the response to be\ngenerated by the model. Can contain text, images, and audio inputs,\nas well as previous assistant responses and tool call outputs.\n","required":["type","role","tools"],"properties":{"type":{"type":"string","enum":["additional_tools"],"description":"The item type. Always `additional_tools`.","default":"additional_tools","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.11.type","typeLabel":"enum\u003cstring>"},"role":{"type":"string","enum":["developer"],"description":"The role that provided the additional tools. Only `developer` is supported.","default":"developer","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.11.role","typeLabel":"enum\u003cstring>"},"tools":{"items":{"type":"any","description":"A tool that can be used to generate a response.\n","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.11.tools.items.[INDEX]","typeLabel":"any"},"type":"array","description":"A list of additional tools made available at this item.","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.11.tools","typeLabel":"any[]"},"id":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.11.id","typeLabel":"any"}},"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.11","typeLabel":"Item · object"},{"type":"object","title":"Item","description":"An update to the conversation's response configuration. Supply reasoning,\ntext, or both. Each setting stays in effect until a later update replaces it.\n","required":["type"],"properties":{"type":{"type":"string","const":"configuration_update","description":"The item type. Always `configuration_update`.","default":"configuration_update","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.12.type","typeLabel":"string"},"id":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.12.id","typeLabel":"any"},"reasoning":{"type":"object","description":"Updates to reasoning configuration. Only effort is supported.","properties":{"effort":{"type":"any","description":"The reasoning effort to use for subsequent responses until another\nconfiguration update replaces it.\n","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.12.reasoning.effort","typeLabel":"any"}},"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.12.reasoning","typeLabel":"object"},"text":{"type":"object","description":"The text output configuration for subsequent responses.","properties":{"format":{"type":"any","description":"Use a JSON schema for structured output or text to return to plain text.","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.12.text.format","typeLabel":"any"}},"required":["format"],"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.12.text","typeLabel":"object"}},"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.12","typeLabel":"Item · object"},{"type":"object","title":"Reasoning","description":"A description of the chain of thought used by a reasoning model while generating\na response. Be sure to include these items in your `input` to the Responses API\nfor subsequent turns of a conversation if you are manually\n[managing context](https://developers.openai.com/api/docs/guides/conversation-state).\n","required":["id","summary","type"],"properties":{"type":{"type":"string","description":"The type of the object. Always `reasoning`.\n","enum":["reasoning"],"isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.13.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique identifier of the reasoning content.\n","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.13.id","typeLabel":"string"},"summary":{"type":"array","description":"Reasoning summary content.\n","items":{"properties":{"type":{"type":"string","enum":["summary_text"],"description":"The type of the object. Always `summary_text`.","default":"summary_text","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.13.summary.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"A summary of the reasoning output from the model so far.","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.13.summary.items.[INDEX].text","typeLabel":"string"}},"type":"object","required":["type","text"],"title":"Summary text","description":"A summary text from the model.","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.13.summary.items.[INDEX]","typeLabel":"Summary text · object"},"isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.13.summary","typeLabel":"Summary text · object[]"},"encrypted_content":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.13.encrypted_content","typeLabel":"any"},"content":{"type":"array","description":"Reasoning text content.\n","items":{"properties":{"type":{"type":"string","enum":["reasoning_text"],"description":"The type of the reasoning text. Always `reasoning_text`.","default":"reasoning_text","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.13.content.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"The reasoning text from the model.","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.13.content.items.[INDEX].text","typeLabel":"string"}},"type":"object","required":["type","text"],"title":"Reasoning text","description":"Reasoning text from the model.","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.13.content.items.[INDEX]","typeLabel":"Reasoning text · object"},"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.13.content","typeLabel":"Reasoning text · object[]"},"status":{"type":"string","description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.13.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.13","typeLabel":"Reasoning · object"},{"type":"object","title":"Compaction item","description":"A compaction item generated by the [`v1/responses/compact` API](https://developers.openai.com/api/reference/resources/responses/methods/compact).","required":["type","encrypted_content"],"properties":{"type":{"type":"string","enum":["compaction"],"description":"The type of the item. Always `compaction`.","default":"compaction","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.14.type","typeLabel":"enum\u003cstring>"},"encrypted_content":{"type":"string","maxLength":104857600,"description":"The encrypted content of the compaction summary.","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.14.encrypted_content","typeLabel":"string"},"id":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.14.id","typeLabel":"any"}},"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.14","typeLabel":"Compaction item · object"},{"type":"object","title":"Image generation call","description":"An image generation request made by the model.","required":["type","id","status","result"],"properties":{"type":{"type":"string","enum":["image_generation_call"],"description":"The type of the image generation call. Always `image_generation_call`.","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.15.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the image generation call.","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.15.id","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","completed","generating","failed"],"description":"The status of the image generation call.","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.15.status","typeLabel":"enum\u003cstring>"},"result":{"type":"any","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.15.result","typeLabel":"any"},"error":{"properties":{"code":{"type":"any","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.15.error.code","typeLabel":"any"},"type":{"type":"string","description":"The error type.","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.15.error.type","typeLabel":"string"},"message":{"type":"string","description":"A description of the error.","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.15.error.message","typeLabel":"string"},"param":{"type":"any","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.15.error.param","typeLabel":"any"},"moderation_details":{"properties":{"moderation_stage":{"type":"string","enum":["input","output","unknown"],"description":"The stage where moderation blocked the image generation call.","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.15.error.moderation_details.moderation_stage","typeLabel":"enum\u003cstring>"},"categories":{"items":{"type":"string","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.15.error.moderation_details.categories.items.[INDEX]","typeLabel":"string"},"type":"array","description":"Public moderation categories. New category values may be added over time.","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.15.error.moderation_details.categories","typeLabel":"string[]"}},"type":"object","required":["moderation_stage","categories"],"description":"Public details for a `moderation_blocked` error, when available.","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.15.error.moderation_details","typeLabel":"object"}},"type":"object","required":["code","type","message","param"],"description":"Details of a moderation failure, when available.","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.15.error","typeLabel":"object"},"size":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.15.size","typeLabel":"any"},"quality":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.15.quality","typeLabel":"any"},"action":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.15.action","typeLabel":"any"},"background":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.15.background","typeLabel":"any"},"output_format":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.15.output_format","typeLabel":"any"},"svg_usage":{"properties":{"model":{"type":"string","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.15.svg_usage.model","typeLabel":"string"},"input_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.15.svg_usage.input_tokens","typeLabel":"integer"},"output_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.15.svg_usage.output_tokens","typeLabel":"integer"},"total_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.15.svg_usage.total_tokens","typeLabel":"integer"},"reasoning_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.15.svg_usage.reasoning_tokens","typeLabel":"integer"}},"type":"object","required":["model","input_tokens","output_tokens","total_tokens","reasoning_tokens"],"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.15.svg_usage","typeLabel":"object"},"revised_prompt":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.15.revised_prompt","typeLabel":"any"}},"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.15","typeLabel":"Image generation call · object"},{"type":"object","title":"Code interpreter tool call","description":"A tool call to run code.\n","required":["type","id","status","container_id","code","outputs"],"properties":{"type":{"type":"string","enum":["code_interpreter_call"],"default":"code_interpreter_call","description":"The type of the code interpreter tool call. Always `code_interpreter_call`.\n","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.16.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the code interpreter tool call.\n","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.16.id","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","completed","incomplete","interpreting","failed"],"description":"The status of the code interpreter tool call. Valid values are `in_progress`, `completed`, `incomplete`, `interpreting`, and `failed`.\n","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.16.status","typeLabel":"enum\u003cstring>"},"container_id":{"type":"string","description":"The ID of the container used to run the code.\n","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.16.container_id","typeLabel":"string"},"code":{"type":"any","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.16.code","typeLabel":"any"},"outputs":{"type":"any","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.16.outputs","typeLabel":"any"}},"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.16","typeLabel":"Code interpreter tool call · object"},{"type":"object","title":"Local shell call","description":"A tool call to run a command on the local shell.\n","required":["type","id","call_id","action","status"],"properties":{"type":{"type":"string","enum":["local_shell_call"],"description":"The type of the local shell call. Always `local_shell_call`.\n","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.17.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the local shell call.\n","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.17.id","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the local shell tool call generated by the model.\n","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.17.call_id","typeLabel":"string"},"action":{"properties":{"type":{"type":"string","enum":["exec"],"description":"The type of the local shell action. Always `exec`.","default":"exec","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.17.action.type","typeLabel":"enum\u003cstring>"},"command":{"items":{"type":"string","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.17.action.command.items.[INDEX]","typeLabel":"string"},"type":"array","description":"The command to run.","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.17.action.command","typeLabel":"string[]"},"env":{"additionalProperties":{"type":"string","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.17.action.env.additionalProperties","typeLabel":"string"},"type":"object","description":"Environment variables to set for the command.","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.17.action.env","typeLabel":"object"},"timeout_ms":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.17.action.timeout_ms","typeLabel":"any"},"working_directory":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.17.action.working_directory","typeLabel":"any"},"user":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.17.action.user","typeLabel":"any"}},"type":"object","required":["type","command","env"],"title":"Local shell exec action","description":"Execute a shell command on the server.","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.17.action","typeLabel":"Local shell exec action · object"},"status":{"type":"string","enum":["in_progress","completed","incomplete"],"description":"The status of the local shell call.\n","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.17.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.17","typeLabel":"Local shell call · object"},{"type":"object","title":"Local shell call output","description":"The output of a local shell tool call.\n","required":["id","type","call_id","output"],"properties":{"type":{"type":"string","enum":["local_shell_call_output"],"description":"The type of the local shell tool call output. Always `local_shell_call_output`.\n","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.18.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the local shell tool call generated by the model.\n","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.18.id","typeLabel":"string"},"output":{"type":"string","description":"A JSON string of the output of the local shell tool call.\n","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.18.output","typeLabel":"string"},"status":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.18.status","typeLabel":"any"}},"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.18","typeLabel":"Local shell call output · object"},{"type":"object","title":"Shell tool call","description":"A tool representing a request to execute one or more shell commands.","required":["call_id","type","action"],"properties":{"call_id":{"type":"string","maxLength":64,"minLength":1,"description":"The unique ID of the shell tool call generated by the model.","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.19.call_id","typeLabel":"string"},"type":{"type":"string","enum":["shell_call"],"description":"The type of the item. Always `shell_call`.","default":"shell_call","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.19.type","typeLabel":"enum\u003cstring>"},"action":{"properties":{"commands":{"items":{"type":"string","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.19.action.commands.items.[INDEX]","typeLabel":"string"},"type":"array","description":"Ordered shell commands for the execution environment to run.","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.19.action.commands","typeLabel":"string[]"},"timeout_ms":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.19.action.timeout_ms","typeLabel":"any"},"max_output_length":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.19.action.max_output_length","typeLabel":"any"}},"type":"object","required":["commands"],"title":"Shell action","description":"The shell commands and limits that describe how to run the tool call.","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.19.action","typeLabel":"Shell action · object"},"id":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.19.id","typeLabel":"any"},"caller":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.19.caller","typeLabel":"any"},"status":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.19.status","typeLabel":"any"},"environment":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.19.environment","typeLabel":"any"}},"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.19","typeLabel":"Shell tool call · object"},{"type":"object","title":"Shell tool call output","description":"The streamed output items emitted by a shell tool call.","required":["call_id","type","output"],"properties":{"call_id":{"type":"string","maxLength":64,"minLength":1,"description":"The unique ID of the shell tool call generated by the model.","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.20.call_id","typeLabel":"string"},"type":{"type":"string","enum":["shell_call_output"],"description":"The type of the item. Always `shell_call_output`.","default":"shell_call_output","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.20.type","typeLabel":"enum\u003cstring>"},"output":{"items":{"properties":{"stdout":{"type":"string","maxLength":10485760,"description":"Captured stdout output for the shell call.","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.20.output.items.[INDEX].stdout","typeLabel":"string"},"stderr":{"type":"string","maxLength":10485760,"description":"Captured stderr output for the shell call.","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.20.output.items.[INDEX].stderr","typeLabel":"string"},"outcome":{"type":"any","title":"Shell call outcome","description":"The exit or timeout outcome associated with this shell call.","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.20.output.items.[INDEX].outcome","typeLabel":"any"}},"type":"object","required":["stdout","stderr","outcome"],"title":"Shell output content","description":"Captured stdout and stderr for a portion of a shell tool call output.","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.20.output.items.[INDEX]","typeLabel":"Shell output content · object"},"type":"array","description":"Captured chunks of stdout and stderr output, along with their associated outcomes.","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.20.output","typeLabel":"Shell output content · object[]"},"id":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.20.id","typeLabel":"any"},"caller":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.20.caller","typeLabel":"any"},"status":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.20.status","typeLabel":"any"},"max_output_length":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.20.max_output_length","typeLabel":"any"}},"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.20","typeLabel":"Shell tool call output · object"},{"type":"object","title":"Apply patch tool call","description":"A tool call representing a request to create, delete, or update files using diff patches.","required":["type","call_id","status","operation"],"properties":{"type":{"type":"string","enum":["apply_patch_call"],"description":"The type of the item. Always `apply_patch_call`.","default":"apply_patch_call","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.21.type","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","maxLength":64,"minLength":1,"description":"The unique ID of the apply patch tool call generated by the model.","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.21.call_id","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","completed"],"title":"Apply patch call status","description":"The status of the apply patch tool call. One of `in_progress` or `completed`.","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.21.status","typeLabel":"enum\u003cstring>"},"operation":{"type":"any","title":"Apply patch operation","description":"The specific create, delete, or update instruction for the apply_patch tool call.","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.21.operation","typeLabel":"any"},"id":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.21.id","typeLabel":"any"},"caller":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.21.caller","typeLabel":"any"}},"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.21","typeLabel":"Apply patch tool call · object"},{"type":"object","title":"Apply patch tool call output","description":"The streamed output emitted by an apply patch tool call.","required":["type","call_id","status"],"properties":{"type":{"type":"string","enum":["apply_patch_call_output"],"description":"The type of the item. Always `apply_patch_call_output`.","default":"apply_patch_call_output","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.22.type","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","maxLength":64,"minLength":1,"description":"The unique ID of the apply patch tool call generated by the model.","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.22.call_id","typeLabel":"string"},"status":{"type":"string","enum":["completed","failed"],"title":"Apply patch call output status","description":"The status of the apply patch tool call output. One of `completed` or `failed`.","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.22.status","typeLabel":"enum\u003cstring>"},"id":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.22.id","typeLabel":"any"},"caller":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.22.caller","typeLabel":"any"},"output":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.22.output","typeLabel":"any"}},"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.22","typeLabel":"Apply patch tool call output · object"},{"type":"object","title":"MCP list tools","description":"A list of tools available on an MCP server.\n","required":["type","id","server_label","tools"],"properties":{"type":{"type":"string","const":"mcp_list_tools","description":"The type of the item. Always `mcp_list_tools`.\n","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.23.type","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the list.\n","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.23.id","typeLabel":"string"},"server_label":{"type":"string","description":"The label of the MCP server.\n","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.23.server_label","typeLabel":"string"},"tools":{"type":"array","items":{"type":"object","title":"MCP list tools tool","description":"A tool available on an MCP server.\n","properties":{"name":{"type":"string","description":"The name of the tool.\n","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.23.tools.items.[INDEX].name","typeLabel":"string"},"input_schema":{"type":"object","description":"The JSON schema describing the tool's input.\n","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.23.tools.items.[INDEX].input_schema","typeLabel":"object"},"description":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.23.tools.items.[INDEX].description","typeLabel":"any"},"annotations":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.23.tools.items.[INDEX].annotations","typeLabel":"any"}},"required":["name","input_schema"],"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.23.tools.items.[INDEX]","typeLabel":"MCP list tools tool · object"},"description":"The tools available on the server.\n","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.23.tools","typeLabel":"MCP list tools tool · object[]"},"error":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.23.error","typeLabel":"any"}},"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.23","typeLabel":"MCP list tools · object"},{"type":"object","title":"MCP approval request","description":"A request for human approval of a tool invocation.\n","required":["type","id","server_label","name","arguments"],"properties":{"type":{"type":"string","const":"mcp_approval_request","description":"The type of the item. Always `mcp_approval_request`.\n","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.24.type","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the approval request.\n","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.24.id","typeLabel":"string"},"server_label":{"type":"string","description":"The label of the MCP server making the request.\n","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.24.server_label","typeLabel":"string"},"name":{"type":"string","description":"The name of the tool to run.\n","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.24.name","typeLabel":"string"},"arguments":{"type":"string","description":"A JSON string of arguments for the tool.\n","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.24.arguments","typeLabel":"string"}},"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.24","typeLabel":"MCP approval request · object"},{"type":"object","title":"MCP approval response","description":"A response to an MCP approval request.\n","required":["type","request_id","approve","approval_request_id"],"properties":{"type":{"type":"string","const":"mcp_approval_response","description":"The type of the item. Always `mcp_approval_response`.\n","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.25.type","typeLabel":"string"},"approval_request_id":{"type":"string","description":"The ID of the approval request being answered.\n","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.25.approval_request_id","typeLabel":"string"},"approve":{"type":"boolean","description":"Whether the request was approved.\n","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.25.approve","typeLabel":"boolean"},"id":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.25.id","typeLabel":"any"},"reason":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.25.reason","typeLabel":"any"}},"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.25","typeLabel":"MCP approval response · object"},{"type":"object","title":"MCP tool call","description":"An invocation of a tool on an MCP server.\n","required":["type","id","server_label","name","arguments"],"properties":{"type":{"type":"string","const":"mcp_call","description":"The type of the item. Always `mcp_call`.\n","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.26.type","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the tool call.\n","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.26.id","typeLabel":"string"},"server_label":{"type":"string","description":"The label of the MCP server running the tool.\n","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.26.server_label","typeLabel":"string"},"name":{"type":"string","description":"The name of the tool that was run.\n","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.26.name","typeLabel":"string"},"arguments":{"type":"string","description":"A JSON string of the arguments passed to the tool.\n","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.26.arguments","typeLabel":"string"},"output":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.26.output","typeLabel":"any"},"error":{"type":"any","description":"The error from the tool call, if any.","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.26.error","typeLabel":"any"},"status":{"type":"string","enum":["in_progress","completed","incomplete","calling","failed"],"description":"The status of the tool call. One of `in_progress`, `completed`, `incomplete`, `calling`, or `failed`.\n","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.26.status","typeLabel":"enum\u003cstring>"},"approval_request_id":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.26.approval_request_id","typeLabel":"any"}},"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.26","typeLabel":"MCP tool call · object"},{"type":"object","title":"Custom tool call output","description":"The output of a custom tool call from your code, being sent back to the model.\n","required":["type","call_id","output"],"properties":{"type":{"type":"string","enum":["custom_tool_call_output"],"description":"The type of the custom tool call output. Always `custom_tool_call_output`.\n","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.27.type","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","description":"The call ID, used to map this custom tool call output to a custom tool call.\n","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.27.call_id","typeLabel":"string"},"output":{"type":"any","description":"The output from the custom tool call generated by your code.\nCan be a string or an list of output content.\n","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.27.output","typeLabel":"any"},"id":{"type":"string","description":"The unique ID of the custom tool call output in the OpenAI platform.\n","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.27.id","typeLabel":"string"},"caller":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.27.caller","typeLabel":"any"}},"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.27","typeLabel":"Custom tool call output · object"},{"type":"object","title":"Custom tool call","description":"A call to a custom tool created by the model.\n","required":["type","call_id","name","input"],"properties":{"type":{"type":"string","enum":["custom_tool_call"],"description":"The type of the custom tool call. Always `custom_tool_call`.\n","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.28.type","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","description":"An identifier used to map this custom tool call to a tool call output.\n","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.28.call_id","typeLabel":"string"},"name":{"type":"string","description":"The name of the custom tool being called.\n","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.28.name","typeLabel":"string"},"input":{"type":"string","description":"The input for the custom tool call generated by the model.\n","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.28.input","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the custom tool call in the OpenAI platform.\n","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.28.id","typeLabel":"string"},"caller":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.28.caller","typeLabel":"any"},"namespace":{"type":"string","description":"The namespace of the custom tool being called.\n","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.28.namespace","typeLabel":"string"},"async":{"type":"boolean","description":"Whether the custom tool call runs asynchronously.\n","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.28.async","typeLabel":"boolean"}},"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.28","typeLabel":"Custom tool call · object"},{"type":"object","title":"Compaction trigger","description":"Compacts the current context. Must be the final input item.","required":["type"],"properties":{"type":{"type":"string","enum":["compaction_trigger"],"description":"The type of the item. Always `compaction_trigger`.","default":"compaction_trigger","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.29.type","typeLabel":"enum\u003cstring>"},"id":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.29.id","typeLabel":"any"}},"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.29","typeLabel":"Compaction trigger · object"},{"type":"object","title":"Item reference","description":"An internal identifier for an item to reference.","required":["id"],"properties":{"id":{"type":"string","description":"The ID of the item to reference.","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.30.id","typeLabel":"string"},"type":{"type":"any","uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.30.type","typeLabel":"any"}},"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.30","typeLabel":"Item reference · object"},{"type":"object","required":["id","type","call_id","code","fingerprint"],"properties":{"id":{"type":"string","description":"The unique ID of this program item.","example":"cm_123","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.31.id","typeLabel":"string"},"type":{"type":"string","enum":["program"],"description":"The item type. Always `program`.","default":"program","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.31.type","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","maxLength":64,"minLength":1,"description":"The stable call ID of the program item.","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.31.call_id","typeLabel":"string"},"code":{"type":"string","maxLength":10485760,"description":"The JavaScript source executed by programmatic tool calling.","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.31.code","typeLabel":"string"},"fingerprint":{"type":"string","maxLength":10485760,"description":"Opaque program replay fingerprint that must be round-tripped.","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.31.fingerprint","typeLabel":"string"}},"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.31","typeLabel":"object"},{"type":"object","required":["id","type","call_id","result","status"],"properties":{"id":{"type":"string","description":"The unique ID of this program output item.","example":"cmo_123","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.32.id","typeLabel":"string"},"type":{"type":"string","enum":["program_output"],"description":"The item type. Always `program_output`.","default":"program_output","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.32.type","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","maxLength":64,"minLength":1,"description":"The call ID of the program item.","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.32.call_id","typeLabel":"string"},"result":{"type":"string","maxLength":10485760,"description":"The result produced by the program item.","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.32.result","typeLabel":"string"},"status":{"type":"string","enum":["completed","incomplete"],"description":"The terminal status of the program output.","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.32.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX].oneOf.32","typeLabel":"object"}],"uniqueKey":"oneOf.10.response.instructions.oneOf.1.items.[INDEX]","typeLabel":"Input message · object · Input message · object · Output message · object · File search tool call · object · Computer tool call · object · Computer tool call output · object · Web search tool call · object · Function tool call · object · Function tool call output · object · Item · object · Item · object · Item · object · Item · object · Reasoning · object · Compaction item · object · Image generation call · object · Code interpreter tool call · object · Local shell call · object · Local shell call output · object · Shell tool call · object · Shell tool call output · object · Apply patch tool call · object · Apply patch tool call output · object · MCP list tools · object · MCP approval request · object · MCP approval response · object · MCP tool call · object · Custom tool call output · object · Custom tool call · object · Compaction trigger · object · Item reference · object · object · object"},"title":"Input item list","description":"A system (or developer) message inserted into the model's context.\n\nWhen using along with `previous_response_id`, the instructions from a previous\nresponse will not be carried over to the next response. This makes it simple\nto swap out system (or developer) messages in new responses.\n","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.1","typeLabel":"Input message · object · Input message · object · Output message · object · File search tool call · object · Computer tool call · object · Computer tool call output · object · Web search tool call · object · Function tool call · object · Function tool call output · object · Item · object · Item · object · Item · object · Item · object · Reasoning · object · Compaction item · object · Image generation call · object · Code interpreter tool call · object · Local shell call · object · Local shell call output · object · Shell tool call · object · Shell tool call output · object · Apply patch tool call · object · Apply patch tool call output · object · MCP list tools · object · MCP approval request · object · MCP approval response · object · MCP tool call · object · Custom tool call output · object · Custom tool call · object · Compaction trigger · object · Item reference · object · object · object[]"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.10.response.instructions.oneOf.2","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.10.response.instructions","typeLabel":"string | Input message · object · Input message · object · Output message · object · File search tool call · object · Computer tool call · object · Computer tool call output · object · Web search tool call · object · Function tool call · object · Function tool call output · object · Item · object · Item · object · Item · object · Item · object · Reasoning · object · Compaction item · object · Image generation call · object · Code interpreter tool call · object · Local shell call · object · Local shell call output · object · Shell tool call · object · Shell tool call output · object · Apply patch tool call · object · Apply patch tool call output · object · MCP list tools · object · MCP approval request · object · MCP approval response · object · MCP tool call · object · Custom tool call output · object · Custom tool call · object · Compaction trigger · object · Item reference · object · object · object[] | null"},"parallel_tool_calls":{"type":"boolean","description":"Whether to allow the model to run tool calls in parallel.\n","default":true,"isRequired":true,"uniqueKey":"oneOf.10.response.parallel_tool_calls","typeLabel":"boolean"},"top_logprobs":{"oneOf":[{"type":"integer","description":"An integer between 0 and 20 specifying the maximum number of most likely\ntokens to return at each token position, each with an associated log\nprobability. In some cases, the number of returned tokens may be fewer than\nrequested.\n","maximum":20,"minimum":0,"uniqueKey":"oneOf.10.response.top_logprobs.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"oneOf.10.response.top_logprobs.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.10.response.top_logprobs","typeLabel":"integer | null"},"user":{"oneOf":[{"type":"string","example":"user-1234","deprecated":true,"description":"This field is being replaced by `safety_identifier` and `prompt_cache_key`. Use `prompt_cache_key` instead to maintain caching optimizations.\nA stable identifier for your end-users.\nUsed to boost cache hit rates by better bucketing similar requests and to help OpenAI detect and prevent abuse. [Learn more](https://developers.openai.com/api/docs/guides/safety-best-practices#implement-safety-identifiers).\n","uniqueKey":"oneOf.10.response.user.oneOf.0","typeLabel":"string"},{"type":"null","example":"user-1234","deprecated":true,"description":"This field is being replaced by `safety_identifier` and `prompt_cache_key`. Use `prompt_cache_key` instead to maintain caching optimizations.\nA stable identifier for your end-users.\nUsed to boost cache hit rates by better bucketing similar requests and to help OpenAI detect and prevent abuse. [Learn more](https://developers.openai.com/api/docs/guides/safety-best-practices#implement-safety-identifiers).\n","uniqueKey":"oneOf.10.response.user.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.10.response.user","typeLabel":"string | null"},"safety_identifier":{"oneOf":[{"type":"string","description":"A stable identifier used to help detect users of your application that may be violating OpenAI's usage policies.\nThe IDs should be a string that uniquely identifies each user, with a maximum length of 128 characters. We recommend hashing their username or email address, in order to avoid sending us any identifying information. [Learn more](https://developers.openai.com/api/docs/guides/safety-best-practices#implement-safety-identifiers).\n","maxLength":128,"example":"safety-identifier-1234","uniqueKey":"oneOf.10.response.safety_identifier.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.10.response.safety_identifier.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.10.response.safety_identifier","typeLabel":"string | null"},"prompt_cache_key":{"oneOf":[{"type":"string","description":"Used by OpenAI to cache responses for similar requests to optimize your cache hit rates. Replaces the `user` field. [Learn more](https://developers.openai.com/api/docs/guides/prompt-caching).\n","example":"prompt-cache-key-1234","uniqueKey":"oneOf.10.response.prompt_cache_key.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.10.response.prompt_cache_key.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.10.response.prompt_cache_key","typeLabel":"string | null"},"prompt_cache_retention":{"oneOf":[{"type":"string","description":"Deprecated. Use `prompt_cache_options.ttl` instead.\n\nThe retention policy for the prompt cache. Set to `24h` to enable extended prompt caching, which keeps cached prefixes active for longer, up to a maximum of 24 hours. [Learn more](https://developers.openai.com/api/docs/guides/prompt-caching#prompt-cache-retention).\nThis field expresses a maximum retention policy, while\n`prompt_cache_options.ttl` expresses a minimum cache lifetime. The two\nfields are independent and do not interact.\nFor `gpt-5.5`, `gpt-5.5-pro`, and future models, only `24h` is supported.\n\nFor older models that support both `in_memory` and `24h`, the default depends on your organization's data retention policy:\n - Organizations without ZDR enabled default to `24h`.\n - Organizations with ZDR enabled default to `in_memory` when `prompt_cache_retention` is not specified.\n","enum":["in_memory","24h"],"deprecated":true,"uniqueKey":"oneOf.10.response.prompt_cache_retention.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","deprecated":true,"uniqueKey":"oneOf.10.response.prompt_cache_retention.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.10.response.prompt_cache_retention","typeLabel":"enum\u003cstring> | null"},"previous_response_id":{"oneOf":[{"type":"string","description":"The unique ID of the previous response to the model. Use this to\ncreate multi-turn conversations. Learn more about\n[conversation state](https://developers.openai.com/api/docs/guides/conversation-state). Cannot be used in conjunction with `conversation`.\n","uniqueKey":"oneOf.10.response.previous_response_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.10.response.previous_response_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.10.response.previous_response_id","typeLabel":"string | null"},"background":{"oneOf":[{"type":"boolean","description":"Whether to run the model response in the background.\n[Learn more](https://developers.openai.com/api/docs/guides/background).\n","default":false,"uniqueKey":"oneOf.10.response.background.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"oneOf.10.response.background.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.10.response.background","typeLabel":"boolean | null"},"max_tool_calls":{"oneOf":[{"type":"integer","description":"The maximum number of total calls to built-in tools that can be processed in a response. This maximum number applies across all built-in tool calls, not per individual tool. Any further attempts to call a tool by the model will be ignored.\n","uniqueKey":"oneOf.10.response.max_tool_calls.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"oneOf.10.response.max_tool_calls.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.10.response.max_tool_calls","typeLabel":"integer | null"},"text":{"type":"object","description":"Configuration options for a text response from the model. Can be plain\ntext or structured JSON data. Learn more:\n- [Text inputs and outputs](https://developers.openai.com/api/docs/guides/text)\n- [Structured Outputs](https://developers.openai.com/api/docs/guides/structured-outputs)\n","properties":{"format":{"oneOf":[{"type":"object","title":"Text","description":"An object specifying the format that the model must output.\n\nConfiguring `{ \"type\": \"json_schema\" }` enables Structured Outputs,\nwhich ensures the model will match your supplied JSON schema. Learn more in the\n[Structured Outputs guide](https://developers.openai.com/api/docs/guides/structured-outputs).\n\nThe default format is `{ \"type\": \"text\" }` with no additional options.\n\n**Not recommended for gpt-4o and newer models:**\n\nSetting to `{ \"type\": \"json_object\" }` enables the older JSON mode, which\nensures the message the model generates is valid JSON. Using `json_schema`\nis preferred for models that support it.\n","required":["type"],"properties":{"type":{"type":"string","description":"The type of response format being defined. Always `text`.","const":"text","isRequired":true,"uniqueKey":"oneOf.10.response.text.format.oneOf.0.type","typeLabel":"string"}},"uniqueKey":"oneOf.10.response.text.format.oneOf.0","typeLabel":"Text · object"},{"type":"object","title":"JSON schema","description":"An object specifying the format that the model must output.\n\nConfiguring `{ \"type\": \"json_schema\" }` enables Structured Outputs,\nwhich ensures the model will match your supplied JSON schema. Learn more in the\n[Structured Outputs guide](https://developers.openai.com/api/docs/guides/structured-outputs).\n\nThe default format is `{ \"type\": \"text\" }` with no additional options.\n\n**Not recommended for gpt-4o and newer models:**\n\nSetting to `{ \"type\": \"json_object\" }` enables the older JSON mode, which\nensures the message the model generates is valid JSON. Using `json_schema`\nis preferred for models that support it.\n","required":["type","schema","name"],"properties":{"type":{"type":"string","description":"The type of response format being defined. Always `json_schema`.","enum":["json_schema"],"isRequired":true,"uniqueKey":"oneOf.10.response.text.format.oneOf.1.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"The name of the response format. Must be a-z, A-Z, 0-9, or contain\nunderscores and dashes, with a maximum length of 64.\n","isRequired":true,"uniqueKey":"oneOf.10.response.text.format.oneOf.1.name","typeLabel":"string"},"schema":{"type":"object","title":"JSON schema","description":"The schema for the response format, described as a JSON Schema object.\nLearn how to build JSON schemas [here](https://json-schema.org/).\n","additionalProperties":true,"isRequired":true,"uniqueKey":"oneOf.10.response.text.format.oneOf.1.schema","typeLabel":"JSON schema · object"},"description":{"type":"string","description":"A description of what the response format is for, used by the model to\ndetermine how to respond in the format.\n","uniqueKey":"oneOf.10.response.text.format.oneOf.1.description","typeLabel":"string"},"strict":{"oneOf":[{"type":"boolean","description":"Whether to enable strict schema adherence when generating the output.\nIf set to true, the model will always follow the exact schema defined\nin the `schema` field. Only a subset of JSON Schema is supported when\n`strict` is `true`. To learn more, read the [Structured Outputs\nguide](https://developers.openai.com/api/docs/guides/structured-outputs).\n","default":false,"uniqueKey":"oneOf.10.response.text.format.oneOf.1.strict.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"oneOf.10.response.text.format.oneOf.1.strict.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.10.response.text.format.oneOf.1.strict","typeLabel":"boolean | null"}},"uniqueKey":"oneOf.10.response.text.format.oneOf.1","typeLabel":"JSON schema · object"},{"type":"object","title":"JSON object","description":"An object specifying the format that the model must output.\n\nConfiguring `{ \"type\": \"json_schema\" }` enables Structured Outputs,\nwhich ensures the model will match your supplied JSON schema. Learn more in the\n[Structured Outputs guide](https://developers.openai.com/api/docs/guides/structured-outputs).\n\nThe default format is `{ \"type\": \"text\" }` with no additional options.\n\n**Not recommended for gpt-4o and newer models:**\n\nSetting to `{ \"type\": \"json_object\" }` enables the older JSON mode, which\nensures the message the model generates is valid JSON. Using `json_schema`\nis preferred for models that support it.\n","required":["type"],"properties":{"type":{"type":"string","description":"The type of response format being defined. Always `json_object`.","const":"json_object","isRequired":true,"uniqueKey":"oneOf.10.response.text.format.oneOf.2.type","typeLabel":"string"}},"uniqueKey":"oneOf.10.response.text.format.oneOf.2","typeLabel":"JSON object · object"}],"uniqueKey":"oneOf.10.response.text.format","typeLabel":"Text · object | JSON schema · object | JSON object · object"},"verbosity":{"oneOf":[{"type":"string","description":"Constrains the verbosity of the model's response. Lower values will result in\nmore concise responses, while higher values will result in more verbose responses.\nCurrently supported values are `low`, `medium`, and `high`. The default is\n`medium`.\n","default":"medium","enum":["low","medium","high"],"uniqueKey":"oneOf.10.response.text.verbosity.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"oneOf.10.response.text.verbosity.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.10.response.text.verbosity","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"oneOf.10.response.text","typeLabel":"object"},"prompt":{"oneOf":[{"type":"object","description":"Reference to a prompt template and its variables.\n[Learn more](https://developers.openai.com/api/docs/guides/text?api-mode=responses#version-prompts-in-code).\n","required":["id"],"properties":{"id":{"type":"string","description":"The unique identifier of the prompt template to use.","isRequired":true,"uniqueKey":"oneOf.10.response.prompt.oneOf.0.id","typeLabel":"string"},"version":{"oneOf":[{"type":"string","description":"Optional version of the prompt template.","uniqueKey":"oneOf.10.response.prompt.oneOf.0.version.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.10.response.prompt.oneOf.0.version.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.10.response.prompt.oneOf.0.version","typeLabel":"string | null"},"variables":{"oneOf":[{"type":"object","title":"Prompt Variables","description":"Optional map of values to substitute in for variables in your\nprompt. The substitution values can either be strings, or other\nResponse input types like images or files.\n","additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"oneOf.10.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"object","title":"Input text","description":"A text input to the model.","required":["type","text"],"properties":{"type":{"type":"string","enum":["input_text"],"description":"The type of the input item. Always `input_text`.","default":"input_text","isRequired":true,"uniqueKey":"oneOf.10.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.1.type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"The text input to the model.","isRequired":true,"uniqueKey":"oneOf.10.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.1.text","typeLabel":"string"},"prompt_cache_breakpoint":{"properties":{"mode":{"type":"string","enum":["explicit"],"description":"The breakpoint mode. Always `explicit`.","default":"explicit","isRequired":true,"uniqueKey":"oneOf.10.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.1.prompt_cache_breakpoint.mode","typeLabel":"enum\u003cstring>"},"ttl":{"type":"string","enum":["30m","12h"],"description":"The minimum lifetime of this cache breakpoint. Defaults to the request TTL.","uniqueKey":"oneOf.10.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.1.prompt_cache_breakpoint.ttl","typeLabel":"enum\u003cstring>"}},"type":"object","required":["mode"],"title":"Prompt cache breakpoint","description":"Marks the exact end of a reusable prompt prefix. When `ttl` is omitted, the breakpoint inherits the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block.","uniqueKey":"oneOf.10.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.1.prompt_cache_breakpoint","typeLabel":"Prompt cache breakpoint · object"}},"uniqueKey":"oneOf.10.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.1","typeLabel":"Input text · object"},{"type":"object","title":"Input image","description":"An image input to the model. Learn about [image inputs](https://developers.openai.com/api/docs/guides/images-vision).","required":["type","detail"],"properties":{"type":{"type":"string","enum":["input_image"],"description":"The type of the input item. Always `input_image`.","default":"input_image","isRequired":true,"uniqueKey":"oneOf.10.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2.type","typeLabel":"enum\u003cstring>"},"detail":{"type":"string","enum":["low","high","auto","original"],"description":"The detail level of the image to be sent to the model. One of `high`, `low`, `auto`, or `original`. Defaults to `auto`.","isRequired":true,"uniqueKey":"oneOf.10.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2.detail","typeLabel":"enum\u003cstring>"},"image_url":{"type":"any","uniqueKey":"oneOf.10.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2.image_url","typeLabel":"any"},"file_id":{"type":"any","uniqueKey":"oneOf.10.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2.file_id","typeLabel":"any"},"prompt_cache_breakpoint":{"properties":{"mode":{"type":"string","enum":["explicit"],"description":"The breakpoint mode. Always `explicit`.","default":"explicit","isRequired":true,"uniqueKey":"oneOf.10.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2.prompt_cache_breakpoint.mode","typeLabel":"enum\u003cstring>"},"ttl":{"type":"string","enum":["30m","12h"],"description":"The minimum lifetime of this cache breakpoint. Defaults to the request TTL.","uniqueKey":"oneOf.10.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2.prompt_cache_breakpoint.ttl","typeLabel":"enum\u003cstring>"}},"type":"object","required":["mode"],"title":"Prompt cache breakpoint","description":"Marks the exact end of a reusable prompt prefix. When `ttl` is omitted, the breakpoint inherits the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block.","uniqueKey":"oneOf.10.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2.prompt_cache_breakpoint","typeLabel":"Prompt cache breakpoint · object"}},"uniqueKey":"oneOf.10.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2","typeLabel":"Input image · object"},{"type":"object","title":"Input file","description":"A file input to the model.","required":["type"],"properties":{"type":{"type":"string","enum":["input_file"],"description":"The type of the input item. Always `input_file`.","default":"input_file","isRequired":true,"uniqueKey":"oneOf.10.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.type","typeLabel":"enum\u003cstring>"},"file_id":{"type":"any","uniqueKey":"oneOf.10.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.file_id","typeLabel":"any"},"filename":{"type":"string","description":"The name of the file to be sent to the model.","uniqueKey":"oneOf.10.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.filename","typeLabel":"string"},"file_data":{"type":"string","description":"The content of the file to be sent to the model.\n","uniqueKey":"oneOf.10.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.file_data","typeLabel":"string"},"prompt_cache_breakpoint":{"properties":{"mode":{"type":"string","enum":["explicit"],"description":"The breakpoint mode. Always `explicit`.","default":"explicit","isRequired":true,"uniqueKey":"oneOf.10.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.prompt_cache_breakpoint.mode","typeLabel":"enum\u003cstring>"},"ttl":{"type":"string","enum":["30m","12h"],"description":"The minimum lifetime of this cache breakpoint. Defaults to the request TTL.","uniqueKey":"oneOf.10.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.prompt_cache_breakpoint.ttl","typeLabel":"enum\u003cstring>"}},"type":"object","required":["mode"],"title":"Prompt cache breakpoint","description":"Marks the exact end of a reusable prompt prefix. When `ttl` is omitted, the breakpoint inherits the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block.","uniqueKey":"oneOf.10.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.prompt_cache_breakpoint","typeLabel":"Prompt cache breakpoint · object"},"file_url":{"type":"string","format":"uri","description":"The URL of the file to be sent to the model.","uniqueKey":"oneOf.10.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.file_url","typeLabel":"string\u003curi>"},"detail":{"type":"string","enum":["auto","low","high"],"description":"The detail level of the file to be sent to the model. Use `auto` to let the system select the detail level; for GPT-5.6 and later models, `auto` uses high-quality rendering, which may increase input token usage. Use `low` for lower-cost rendering, or `high` to render the file at higher quality. Defaults to `auto`.","uniqueKey":"oneOf.10.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.detail","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.10.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3","typeLabel":"Input file · object"}],"uniqueKey":"oneOf.10.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties","typeLabel":"string | Input text · object | Input image · object | Input file · object"},"uniqueKey":"oneOf.10.response.prompt.oneOf.0.variables.oneOf.0","typeLabel":"Prompt Variables · object"},{"type":"null","uniqueKey":"oneOf.10.response.prompt.oneOf.0.variables.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.10.response.prompt.oneOf.0.variables","typeLabel":"Prompt Variables · object | null"}},"uniqueKey":"oneOf.10.response.prompt.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"oneOf.10.response.prompt.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.10.response.prompt","typeLabel":"object | null"},"image":{"properties":{"context_compression":{"type":"string","enum":["enabled","disabled"],"description":"Effective image context optimization policy.","isRequired":true,"uniqueKey":"oneOf.10.response.image.context_compression","typeLabel":"enum\u003cstring>"}},"type":"object","required":["context_compression"],"uniqueKey":"oneOf.10.response.image","typeLabel":"object"},"service_tier":{"oneOf":[{"type":"string","description":"Specifies the processing type used for serving the request.\n - If set to 'auto', then the request will be processed with the service tier configured in the Project settings. Unless otherwise configured, the Project will use 'default'.\n - If set to 'default', then the request will be processed with the standard pricing and performance for the selected model.\n - If set to '[flex](https://developers.openai.com/api/docs/guides/flex-processing)', then the request will be processed with the Flex Processing service tier.\n - To opt-in to [Fast mode](https://developers.openai.com/api/docs/guides/fast-mode) at the request level, include the `service_tier=fast` or `service_tier=priority` parameter for Responses or Chat Completions. The response will show `service_tier=priority` regardless of if you specify `service_tier=fast` or `priority` in your request.\n - If set to 'ultrafast', then the request will be processed with the access-controlled Ultrafast Processing service tier. This tier is currently available for `gpt-5.6-sol`; a response served through it will show `service_tier=ultrafast`.\n - When not set, the default behavior is 'auto'.\n\n When the `service_tier` parameter is set, the response body will include the `service_tier` value based on the processing mode actually used to serve the request. This response value may be different from the value set in the parameter.\n","default":"auto","enum":["auto","default","flex","scale","priority","fast","ultrafast"],"uniqueKey":"oneOf.10.response.service_tier.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"oneOf.10.response.service_tier.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.10.response.service_tier","typeLabel":"enum\u003cstring> | null"},"truncation":{"oneOf":[{"type":"string","description":"The truncation strategy to use for the model response.\n- `auto`: If the input to this Response exceeds\n the model's context window size, the model will truncate the\n response to fit the context window by dropping items from the beginning of the conversation.\n On some models, trimming can begin earlier because the API subtracts the model's\n maximum output allowance from its input limit, even if you set a lower `max_output_tokens`.\n- `disabled` (default): If the input size will exceed the context window\n size for a model, the request will fail with a 400 error.\n","default":"disabled","enum":["auto","disabled"],"uniqueKey":"oneOf.10.response.truncation.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"oneOf.10.response.truncation.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.10.response.truncation","typeLabel":"enum\u003cstring> | null"},"status":{"type":"string","description":"The status of the response generation. One of `completed`, `failed`,\n`in_progress`, `cancelled`, `queued`, or `incomplete`.\n","enum":["completed","failed","in_progress","cancelled","queued","incomplete"],"uniqueKey":"oneOf.10.response.status","typeLabel":"enum\u003cstring>"},"completed_at":{"oneOf":[{"type":"number","description":"Unix timestamp (in seconds) of when this Response was completed.\nOnly present when the status is `completed`.\n","format":"unixtime","uniqueKey":"oneOf.10.response.completed_at.oneOf.0","typeLabel":"number\u003cunixtime>"},{"type":"null","uniqueKey":"oneOf.10.response.completed_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.10.response.completed_at","typeLabel":"number\u003cunixtime> | null"},"input_transformations":{"type":"array","description":"Reasoning inputs withheld from the model, in input order.","items":{"properties":{"type":{"type":"string","enum":["reasoning"],"default":"reasoning","isRequired":true,"uniqueKey":"oneOf.10.response.input_transformations.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The original reasoning item ID.","isRequired":true,"uniqueKey":"oneOf.10.response.input_transformations.items.[INDEX].id","typeLabel":"string"},"action":{"type":"string","enum":["removed"],"default":"removed","isRequired":true,"uniqueKey":"oneOf.10.response.input_transformations.items.[INDEX].action","typeLabel":"enum\u003cstring>"},"reason":{"type":"string","enum":["organization_mismatch","end_user_mismatch","model_mismatch","prefix_mismatch","turn_boundary"],"isRequired":true,"uniqueKey":"oneOf.10.response.input_transformations.items.[INDEX].reason","typeLabel":"enum\u003cstring>"}},"type":"object","required":["type","id","action","reason"],"uniqueKey":"oneOf.10.response.input_transformations.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.10.response.input_transformations","typeLabel":"object[]"},"reasoning":{"oneOf":[{"type":"object","title":"Reasoning","description":"Configuration options for\n[reasoning models](https://developers.openai.com/api/docs/guides/reasoning).\n","properties":{"mode":{"oneOf":[{"type":"string","description":"Controls the reasoning execution mode for the request.\n\nWhen returned on a response, this is the effective execution mode.\n","uniqueKey":"oneOf.10.response.reasoning.oneOf.0.mode.oneOf.0","typeLabel":"string"},{"type":"string","description":"Controls the reasoning execution mode for the request.\n\nWhen returned on a response, this is the effective execution mode.\n","enum":["standard","pro"],"uniqueKey":"oneOf.10.response.reasoning.oneOf.0.mode.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"oneOf.10.response.reasoning.oneOf.0.mode","typeLabel":"string | enum\u003cstring>"},"effort":{"oneOf":[{"type":"string","description":"Constrains effort on reasoning for reasoning models. Currently supported\nvalues are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`.\nReducing reasoning effort can result in faster responses and fewer tokens\nused on reasoning in a response. Not all reasoning models support every\nvalue. See the\n[reasoning guide](https://developers.openai.com/api/docs/guides/reasoning)\nfor model-specific support.\n","default":"medium","enum":["none","minimal","low","medium","high","xhigh","max"],"uniqueKey":"oneOf.10.response.reasoning.oneOf.0.effort.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"oneOf.10.response.reasoning.oneOf.0.effort.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.10.response.reasoning.oneOf.0.effort","typeLabel":"enum\u003cstring> | null"},"summary":{"oneOf":[{"type":"string","description":"A summary of the reasoning performed by the model. This can be\nuseful for debugging and understanding the model's reasoning process.\nOne of `auto`, `concise`, or `detailed`.\n\n`concise` is supported for `computer-use-preview` models and all reasoning models after `gpt-5`.\n","enum":["auto","concise","detailed"],"uniqueKey":"oneOf.10.response.reasoning.oneOf.0.summary.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"oneOf.10.response.reasoning.oneOf.0.summary.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.10.response.reasoning.oneOf.0.summary","typeLabel":"enum\u003cstring> | null"},"context":{"oneOf":[{"type":"string","description":"Controls which reasoning items are rendered back to the model on later turns.\nIf omitted or set to `auto`, the model determines the context mode. The\n`gpt-5.6` model family defaults to `all_turns`; earlier models default to\n`current_turn`.\n\nWhen returned on a response, this is the effective reasoning context mode\nused for the response.\n","enum":["auto","current_turn","all_turns"],"uniqueKey":"oneOf.10.response.reasoning.oneOf.0.context.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"oneOf.10.response.reasoning.oneOf.0.context.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.10.response.reasoning.oneOf.0.context","typeLabel":"enum\u003cstring> | null"},"generate_summary":{"oneOf":[{"type":"string","description":"**Deprecated:** use `summary` instead.\n\nA summary of the reasoning performed by the model. This can be\nuseful for debugging and understanding the model's reasoning process.\nOne of `auto`, `concise`, or `detailed`.\n","enum":["auto","concise","detailed"],"deprecated":true,"uniqueKey":"oneOf.10.response.reasoning.oneOf.0.generate_summary.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"oneOf.10.response.reasoning.oneOf.0.generate_summary.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.10.response.reasoning.oneOf.0.generate_summary","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"oneOf.10.response.reasoning.oneOf.0","typeLabel":"Reasoning · object"},{"type":"null","uniqueKey":"oneOf.10.response.reasoning.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.10.response.reasoning","typeLabel":"Reasoning · object | null"},"output_text":{"oneOf":[{"type":"string","description":"SDK-only convenience property that contains the aggregated text output\nfrom all `output_text` items in the `output` array, if any are present.\nSupported in the Python and JavaScript SDKs.\n","uniqueKey":"oneOf.10.response.output_text.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.10.response.output_text.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.10.response.output_text","typeLabel":"string | null"},"usage":{"oneOf":[{"type":"object","description":"Represents token usage details including input tokens, output tokens,\na breakdown of output tokens, and the total tokens used.\n","required":["input_tokens","input_tokens_details","output_tokens","output_tokens_details","total_tokens"],"properties":{"input_tokens":{"type":"integer","description":"The number of input tokens.","isRequired":true,"uniqueKey":"oneOf.10.response.usage.oneOf.0.input_tokens","typeLabel":"integer"},"input_tokens_details":{"type":"object","description":"A detailed breakdown of the input tokens.","properties":{"cached_tokens":{"type":"integer","description":"The number of tokens that were retrieved from the cache.\n[More on prompt caching](https://developers.openai.com/api/docs/guides/prompt-caching).\n","isRequired":true,"uniqueKey":"oneOf.10.response.usage.oneOf.0.input_tokens_details.cached_tokens","typeLabel":"integer"},"cache_write_tokens":{"type":"integer","description":"The number of input tokens that were written to the cache.","isRequired":true,"uniqueKey":"oneOf.10.response.usage.oneOf.0.input_tokens_details.cache_write_tokens","typeLabel":"integer"},"cache_write_tokens_details":{"properties":{"ttl_30m_tokens":{"type":"integer","description":"The number of input tokens written with 30-minute retention.","isRequired":true,"uniqueKey":"oneOf.10.response.usage.oneOf.0.input_tokens_details.cache_write_tokens_details.ttl_30m_tokens","typeLabel":"integer"},"ttl_12h_tokens":{"type":"integer","description":"The number of input tokens written with 12-hour retention.","isRequired":true,"uniqueKey":"oneOf.10.response.usage.oneOf.0.input_tokens_details.cache_write_tokens_details.ttl_12h_tokens","typeLabel":"integer"}},"type":"object","required":["ttl_30m_tokens","ttl_12h_tokens"],"uniqueKey":"oneOf.10.response.usage.oneOf.0.input_tokens_details.cache_write_tokens_details","typeLabel":"object"}},"required":["cached_tokens","cache_write_tokens"],"isRequired":true,"uniqueKey":"oneOf.10.response.usage.oneOf.0.input_tokens_details","typeLabel":"object"},"output_tokens":{"type":"integer","description":"The number of output tokens.","isRequired":true,"uniqueKey":"oneOf.10.response.usage.oneOf.0.output_tokens","typeLabel":"integer"},"output_tokens_details":{"type":"object","description":"A detailed breakdown of the output tokens.","properties":{"reasoning_tokens":{"type":"integer","description":"The number of reasoning tokens.","isRequired":true,"uniqueKey":"oneOf.10.response.usage.oneOf.0.output_tokens_details.reasoning_tokens","typeLabel":"integer"}},"required":["reasoning_tokens"],"isRequired":true,"uniqueKey":"oneOf.10.response.usage.oneOf.0.output_tokens_details","typeLabel":"object"},"total_tokens":{"type":"integer","description":"The total number of tokens used.","isRequired":true,"uniqueKey":"oneOf.10.response.usage.oneOf.0.total_tokens","typeLabel":"integer"}},"uniqueKey":"oneOf.10.response.usage.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"oneOf.10.response.usage.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.10.response.usage","typeLabel":"object | null"},"tool_usage":{"properties":{"image_gen":{"properties":{"input_tokens":{"type":"integer","description":"The number of tokens (images and text) in the input prompt.","isRequired":true,"uniqueKey":"oneOf.10.response.tool_usage.image_gen.input_tokens","typeLabel":"integer"},"total_tokens":{"type":"integer","description":"The total number of tokens (images and text) used for the image generation.","isRequired":true,"uniqueKey":"oneOf.10.response.tool_usage.image_gen.total_tokens","typeLabel":"integer"},"output_tokens":{"type":"integer","description":"The number of output tokens generated by the model.","isRequired":true,"uniqueKey":"oneOf.10.response.tool_usage.image_gen.output_tokens","typeLabel":"integer"},"input_tokens_details":{"properties":{"text_tokens":{"type":"integer","description":"The number of text tokens in the input prompt.","isRequired":true,"uniqueKey":"oneOf.10.response.tool_usage.image_gen.input_tokens_details.text_tokens","typeLabel":"integer"},"image_tokens":{"type":"integer","description":"The number of image tokens in the input prompt.","isRequired":true,"uniqueKey":"oneOf.10.response.tool_usage.image_gen.input_tokens_details.image_tokens","typeLabel":"integer"}},"type":"object","required":["text_tokens","image_tokens"],"title":"Input usage details","description":"The input tokens detailed information for the image generation.","isRequired":true,"uniqueKey":"oneOf.10.response.tool_usage.image_gen.input_tokens_details","typeLabel":"Input usage details · object"},"output_tokens_details":{"properties":{"image_tokens":{"type":"integer","description":"The number of image output tokens generated by the model.","isRequired":true,"uniqueKey":"oneOf.10.response.tool_usage.image_gen.output_tokens_details.image_tokens","typeLabel":"integer"},"text_tokens":{"type":"integer","description":"The number of text output tokens generated by the model.","isRequired":true,"uniqueKey":"oneOf.10.response.tool_usage.image_gen.output_tokens_details.text_tokens","typeLabel":"integer"}},"type":"object","required":["image_tokens","text_tokens"],"title":"Image generation output token details","description":"The output token details for the image generation.","uniqueKey":"oneOf.10.response.tool_usage.image_gen.output_tokens_details","typeLabel":"Image generation output token details · object"},"cached_tokens":{"type":"integer","uniqueKey":"oneOf.10.response.tool_usage.image_gen.cached_tokens","typeLabel":"integer"},"cached_tokens_details":{"properties":{"cached_text_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.10.response.tool_usage.image_gen.cached_tokens_details.cached_text_tokens","typeLabel":"integer"},"cached_image_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.10.response.tool_usage.image_gen.cached_tokens_details.cached_image_tokens","typeLabel":"integer"}},"type":"object","required":["cached_text_tokens","cached_image_tokens"],"uniqueKey":"oneOf.10.response.tool_usage.image_gen.cached_tokens_details","typeLabel":"object"}},"type":"object","required":["input_tokens","total_tokens","output_tokens","input_tokens_details"],"title":"Image generation tool usage","description":"Aggregated usage statistics for image generation tool calls.","isRequired":true,"uniqueKey":"oneOf.10.response.tool_usage.image_gen","typeLabel":"Image generation tool usage · object"},"web_search":{"properties":{"num_requests":{"type":"integer","description":"The number of billable web search requests issued.","isRequired":true,"uniqueKey":"oneOf.10.response.tool_usage.web_search.num_requests","typeLabel":"integer"}},"type":"object","required":["num_requests"],"title":"Web search usage","description":"Aggregated billable usage statistics for web search tool calls.","isRequired":true,"uniqueKey":"oneOf.10.response.tool_usage.web_search","typeLabel":"Web search usage · object"}},"type":"object","required":["image_gen","web_search"],"title":"Response tool usage","description":"Usage reported by hosted tools, separate from base model `usage`. The field\ncan be omitted when tool usage is unavailable. When present, tool families\nwith no recorded usage have zero counts.\n\n`image_gen` sums available token counts across image generation calls.\nCalls with missing or incomplete usage records may be skipped. Output\ntoken details and cached input counts can be omitted. An omitted cache\ncount means cache usage is unknown.\n\n`web_search.num_requests` counts billable searches. Discounted searches\nand actions such as opening a page are excluded. Use billing records to\nreconcile final charges.\n","uniqueKey":"oneOf.10.response.tool_usage","typeLabel":"Response tool usage · object"},"prompt_cache_options":{"properties":{"ttl":{"type":"string","enum":["30m","12h"],"description":"The minimum lifetime applied to each cache breakpoint.","isRequired":true,"uniqueKey":"oneOf.10.response.prompt_cache_options.ttl","typeLabel":"enum\u003cstring>"},"mode":{"type":"string","enum":["implicit","explicit"],"description":"Whether implicit prompt-cache breakpoints were enabled.","isRequired":true,"uniqueKey":"oneOf.10.response.prompt_cache_options.mode","typeLabel":"enum\u003cstring>"},"comparison_response_id":{"oneOf":[{"type":"string","description":"The response ID supplied as the prompt cache diagnostics comparison.","uniqueKey":"oneOf.10.response.prompt_cache_options.comparison_response_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.10.response.prompt_cache_options.comparison_response_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.10.response.prompt_cache_options.comparison_response_id","typeLabel":"string | null"}},"type":"object","required":["ttl","mode"],"title":"Prompt cache options","description":"The prompt-caching options that were applied to the response. Supported for `gpt-5.6` and later models.","uniqueKey":"oneOf.10.response.prompt_cache_options","typeLabel":"Prompt cache options · object"},"prompt_cache_diagnostics":{"oneOf":[{"type":"object","description":"Prompt cache diagnostics requested for this response.","required":["type","reason","cache_missed_tokens"],"properties":{"type":{"type":"string","enum":["cache_miss"],"default":"cache_miss","isRequired":true,"uniqueKey":"oneOf.10.response.prompt_cache_diagnostics.oneOf.0.type","typeLabel":"enum\u003cstring>"},"reason":{"type":"string","enum":["model_changed","prompt_cache_key_changed","tools_changed","text_format_changed","reasoning_effort_changed","verbosity_changed","context_compacted","input_changed","service_tier_changed"],"description":"The reason prompt cache reuse did not occur.","isRequired":true,"uniqueKey":"oneOf.10.response.prompt_cache_diagnostics.oneOf.0.reason","typeLabel":"enum\u003cstring>"},"cache_missed_tokens":{"type":"integer","description":"The estimated number of input tokens affected after the first detected divergence.","isRequired":true,"uniqueKey":"oneOf.10.response.prompt_cache_diagnostics.oneOf.0.cache_missed_tokens","typeLabel":"integer"},"comparison_reusable_tokens":{"type":"integer","description":"The raw token count of the reusable prefix in the compared response.","uniqueKey":"oneOf.10.response.prompt_cache_diagnostics.oneOf.0.comparison_reusable_tokens","typeLabel":"integer"}},"uniqueKey":"oneOf.10.response.prompt_cache_diagnostics.oneOf.0","typeLabel":"object"},{"type":"object","description":"Prompt cache diagnostics requested for this response.","required":["type"],"properties":{"type":{"type":"string","enum":["cache_hit"],"default":"cache_hit","isRequired":true,"uniqueKey":"oneOf.10.response.prompt_cache_diagnostics.oneOf.1.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.10.response.prompt_cache_diagnostics.oneOf.1","typeLabel":"object"},{"type":"object","description":"Prompt cache diagnostics requested for this response.","required":["type"],"properties":{"type":{"type":"string","enum":["comparison_response_not_found"],"default":"comparison_response_not_found","isRequired":true,"uniqueKey":"oneOf.10.response.prompt_cache_diagnostics.oneOf.2.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.10.response.prompt_cache_diagnostics.oneOf.2","typeLabel":"object"},{"type":"object","description":"Prompt cache diagnostics requested for this response.","required":["type"],"properties":{"type":{"type":"string","enum":["unavailable"],"default":"unavailable","isRequired":true,"uniqueKey":"oneOf.10.response.prompt_cache_diagnostics.oneOf.3.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.10.response.prompt_cache_diagnostics.oneOf.3","typeLabel":"object"}],"uniqueKey":"oneOf.10.response.prompt_cache_diagnostics","typeLabel":"object"},"moderation":{"oneOf":[{"type":"object","title":"Moderation","description":"Moderation results for the response input and output, if moderated completions were requested.\n","required":["input","output"],"properties":{"input":{"oneOf":[{"type":"object","title":"Moderation result","description":"Moderation for the response input.","required":["type","model","flagged","categories","category_scores","category_applied_input_types"],"properties":{"type":{"type":"string","enum":["moderation_result"],"description":"The object type, which was always `moderation_result` for successful moderation results.","default":"moderation_result","isRequired":true,"uniqueKey":"oneOf.10.response.moderation.oneOf.0.input.oneOf.0.type","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"The moderation model that produced this result.","isRequired":true,"uniqueKey":"oneOf.10.response.moderation.oneOf.0.input.oneOf.0.model","typeLabel":"string"},"flagged":{"type":"boolean","description":"A boolean indicating whether the content was flagged by any category.","isRequired":true,"uniqueKey":"oneOf.10.response.moderation.oneOf.0.input.oneOf.0.flagged","typeLabel":"boolean"},"categories":{"additionalProperties":{"type":"boolean","uniqueKey":"oneOf.10.response.moderation.oneOf.0.input.oneOf.0.categories.additionalProperties","typeLabel":"boolean"},"type":"object","description":"A dictionary of moderation categories to booleans, True if the input is flagged under this category.","isRequired":true,"uniqueKey":"oneOf.10.response.moderation.oneOf.0.input.oneOf.0.categories","typeLabel":"object"},"category_scores":{"additionalProperties":{"type":"number","uniqueKey":"oneOf.10.response.moderation.oneOf.0.input.oneOf.0.category_scores.additionalProperties","typeLabel":"number"},"type":"object","description":"A dictionary of moderation categories to scores.","isRequired":true,"uniqueKey":"oneOf.10.response.moderation.oneOf.0.input.oneOf.0.category_scores","typeLabel":"object"},"category_applied_input_types":{"additionalProperties":{"items":{"type":"string","enum":["text","image"],"uniqueKey":"oneOf.10.response.moderation.oneOf.0.input.oneOf.0.category_applied_input_types.additionalProperties.items.[INDEX]","typeLabel":"enum\u003cstring>"},"type":"array","uniqueKey":"oneOf.10.response.moderation.oneOf.0.input.oneOf.0.category_applied_input_types.additionalProperties","typeLabel":"enum\u003cstring>[]"},"type":"object","description":"Which modalities of input are reflected by the score for each category.","isRequired":true,"uniqueKey":"oneOf.10.response.moderation.oneOf.0.input.oneOf.0.category_applied_input_types","typeLabel":"object"}},"isRequired":true,"uniqueKey":"oneOf.10.response.moderation.oneOf.0.input.oneOf.0","typeLabel":"Moderation result · object"},{"type":"object","title":"Moderation error","description":"Moderation for the response input.","required":["type","code","message"],"properties":{"type":{"type":"string","enum":["error"],"description":"The object type, which was always `error` for moderation failures.","default":"error","isRequired":true,"uniqueKey":"oneOf.10.response.moderation.oneOf.0.input.oneOf.1.type","typeLabel":"enum\u003cstring>"},"code":{"type":"string","description":"The error code.","isRequired":true,"uniqueKey":"oneOf.10.response.moderation.oneOf.0.input.oneOf.1.code","typeLabel":"string"},"message":{"type":"string","description":"The error message.","isRequired":true,"uniqueKey":"oneOf.10.response.moderation.oneOf.0.input.oneOf.1.message","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.10.response.moderation.oneOf.0.input.oneOf.1","typeLabel":"Moderation error · object"}],"isRequired":true,"uniqueKey":"oneOf.10.response.moderation.oneOf.0.input","typeLabel":"Moderation result · object | Moderation error · object"},"output":{"oneOf":[{"type":"object","title":"Moderation result","description":"Moderation for the response output.","required":["type","model","flagged","categories","category_scores","category_applied_input_types"],"properties":{"type":{"type":"string","enum":["moderation_result"],"description":"The object type, which was always `moderation_result` for successful moderation results.","default":"moderation_result","isRequired":true,"uniqueKey":"oneOf.10.response.moderation.oneOf.0.output.oneOf.0.type","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"The moderation model that produced this result.","isRequired":true,"uniqueKey":"oneOf.10.response.moderation.oneOf.0.output.oneOf.0.model","typeLabel":"string"},"flagged":{"type":"boolean","description":"A boolean indicating whether the content was flagged by any category.","isRequired":true,"uniqueKey":"oneOf.10.response.moderation.oneOf.0.output.oneOf.0.flagged","typeLabel":"boolean"},"categories":{"additionalProperties":{"type":"boolean","uniqueKey":"oneOf.10.response.moderation.oneOf.0.output.oneOf.0.categories.additionalProperties","typeLabel":"boolean"},"type":"object","description":"A dictionary of moderation categories to booleans, True if the input is flagged under this category.","isRequired":true,"uniqueKey":"oneOf.10.response.moderation.oneOf.0.output.oneOf.0.categories","typeLabel":"object"},"category_scores":{"additionalProperties":{"type":"number","uniqueKey":"oneOf.10.response.moderation.oneOf.0.output.oneOf.0.category_scores.additionalProperties","typeLabel":"number"},"type":"object","description":"A dictionary of moderation categories to scores.","isRequired":true,"uniqueKey":"oneOf.10.response.moderation.oneOf.0.output.oneOf.0.category_scores","typeLabel":"object"},"category_applied_input_types":{"additionalProperties":{"items":{"type":"string","enum":["text","image"],"uniqueKey":"oneOf.10.response.moderation.oneOf.0.output.oneOf.0.category_applied_input_types.additionalProperties.items.[INDEX]","typeLabel":"enum\u003cstring>"},"type":"array","uniqueKey":"oneOf.10.response.moderation.oneOf.0.output.oneOf.0.category_applied_input_types.additionalProperties","typeLabel":"enum\u003cstring>[]"},"type":"object","description":"Which modalities of input are reflected by the score for each category.","isRequired":true,"uniqueKey":"oneOf.10.response.moderation.oneOf.0.output.oneOf.0.category_applied_input_types","typeLabel":"object"}},"isRequired":true,"uniqueKey":"oneOf.10.response.moderation.oneOf.0.output.oneOf.0","typeLabel":"Moderation result · object"},{"type":"object","title":"Moderation error","description":"Moderation for the response output.","required":["type","code","message"],"properties":{"type":{"type":"string","enum":["error"],"description":"The object type, which was always `error` for moderation failures.","default":"error","isRequired":true,"uniqueKey":"oneOf.10.response.moderation.oneOf.0.output.oneOf.1.type","typeLabel":"enum\u003cstring>"},"code":{"type":"string","description":"The error code.","isRequired":true,"uniqueKey":"oneOf.10.response.moderation.oneOf.0.output.oneOf.1.code","typeLabel":"string"},"message":{"type":"string","description":"The error message.","isRequired":true,"uniqueKey":"oneOf.10.response.moderation.oneOf.0.output.oneOf.1.message","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.10.response.moderation.oneOf.0.output.oneOf.1","typeLabel":"Moderation error · object"}],"isRequired":true,"uniqueKey":"oneOf.10.response.moderation.oneOf.0.output","typeLabel":"Moderation result · object | Moderation error · object"}},"uniqueKey":"oneOf.10.response.moderation.oneOf.0","typeLabel":"Moderation · object"},{"type":"null","uniqueKey":"oneOf.10.response.moderation.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.10.response.moderation","typeLabel":"Moderation · object | null"},"conversation":{"oneOf":[{"type":"object","title":"Conversation","description":"The conversation that this response belonged to. Input items and output items from this response were automatically added to this conversation.","default":null,"required":["id"],"properties":{"id":{"type":"string","description":"The unique ID of the conversation that this response was associated with.","isRequired":true,"uniqueKey":"oneOf.10.response.conversation.oneOf.0.id","typeLabel":"string"}},"uniqueKey":"oneOf.10.response.conversation.oneOf.0","typeLabel":"Conversation · object"},{"type":"null","uniqueKey":"oneOf.10.response.conversation.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.10.response.conversation","typeLabel":"Conversation · object | null"},"max_output_tokens":{"oneOf":[{"type":"integer","description":"An upper bound for the number of tokens that can be generated for a response, including visible output tokens and [reasoning tokens](https://developers.openai.com/api/docs/guides/reasoning).\n","uniqueKey":"oneOf.10.response.max_output_tokens.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"oneOf.10.response.max_output_tokens.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.10.response.max_output_tokens","typeLabel":"integer | null"}},"isRequired":true,"uniqueKey":"oneOf.10.response","typeLabel":"The response object · object"},"sequence_number":{"type":"integer","description":"The sequence number for this event.","isRequired":true,"uniqueKey":"oneOf.10.sequence_number","typeLabel":"integer"}},"uniqueKey":"oneOf.10","typeLabel":"object"},{"type":"object","description":"Event emitted while a response is streamed.","required":["type","item_id","output_index","content_index","part","sequence_number"],"properties":{"type":{"type":"string","description":"The type of the event. Always `response.content_part.added`.\n","const":"response.content_part.added","isRequired":true,"uniqueKey":"oneOf.11.type","typeLabel":"string"},"item_id":{"type":"string","description":"The ID of the output item that the content part was added to.\n","isRequired":true,"uniqueKey":"oneOf.11.item_id","typeLabel":"string"},"output_index":{"type":"integer","description":"The index of the output item that the content part was added to.\n","isRequired":true,"uniqueKey":"oneOf.11.output_index","typeLabel":"integer"},"content_index":{"type":"integer","description":"The index of the content part that was added.\n","isRequired":true,"uniqueKey":"oneOf.11.content_index","typeLabel":"integer"},"part":{"oneOf":[{"type":"object","title":"Output text","description":"The content part that was added.\n","required":["type","text","annotations","logprobs"],"properties":{"type":{"type":"string","enum":["output_text"],"description":"The type of the output text. Always `output_text`.","default":"output_text","isRequired":true,"uniqueKey":"oneOf.11.part.oneOf.0.type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"The text output from the model.","isRequired":true,"uniqueKey":"oneOf.11.part.oneOf.0.text","typeLabel":"string"},"annotations":{"items":{"oneOf":[{"type":"object","title":"File citation","description":"An annotation that applies to a span of output text.","required":["type","file_id","index","filename"],"properties":{"type":{"type":"string","enum":["file_citation"],"description":"The type of the file citation. Always `file_citation`.","default":"file_citation","isRequired":true,"uniqueKey":"oneOf.11.part.oneOf.0.annotations.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"file_id":{"type":"string","description":"The ID of the file.","isRequired":true,"uniqueKey":"oneOf.11.part.oneOf.0.annotations.items.[INDEX].oneOf.0.file_id","typeLabel":"string"},"index":{"type":"integer","description":"The index in the output text at which to insert the file citation.","isRequired":true,"uniqueKey":"oneOf.11.part.oneOf.0.annotations.items.[INDEX].oneOf.0.index","typeLabel":"integer"},"filename":{"type":"string","description":"The filename of the file cited.","isRequired":true,"uniqueKey":"oneOf.11.part.oneOf.0.annotations.items.[INDEX].oneOf.0.filename","typeLabel":"string"}},"uniqueKey":"oneOf.11.part.oneOf.0.annotations.items.[INDEX].oneOf.0","typeLabel":"File citation · object"},{"type":"object","title":"URL citation","description":"An annotation that applies to a span of output text.","required":["type","url","start_index","end_index","title"],"properties":{"type":{"type":"string","enum":["url_citation"],"description":"The type of the URL citation. Always `url_citation`.","default":"url_citation","isRequired":true,"uniqueKey":"oneOf.11.part.oneOf.0.annotations.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"url":{"type":"string","format":"uri","description":"The URL of the web resource.","isRequired":true,"uniqueKey":"oneOf.11.part.oneOf.0.annotations.items.[INDEX].oneOf.1.url","typeLabel":"string\u003curi>"},"start_index":{"type":"integer","description":"The index of the first character of the URL citation in the message.","isRequired":true,"uniqueKey":"oneOf.11.part.oneOf.0.annotations.items.[INDEX].oneOf.1.start_index","typeLabel":"integer"},"end_index":{"type":"integer","description":"The index of the last character of the URL citation in the message.","isRequired":true,"uniqueKey":"oneOf.11.part.oneOf.0.annotations.items.[INDEX].oneOf.1.end_index","typeLabel":"integer"},"title":{"type":"string","description":"The title of the web resource.","isRequired":true,"uniqueKey":"oneOf.11.part.oneOf.0.annotations.items.[INDEX].oneOf.1.title","typeLabel":"string"}},"uniqueKey":"oneOf.11.part.oneOf.0.annotations.items.[INDEX].oneOf.1","typeLabel":"URL citation · object"},{"type":"object","title":"Container file citation","description":"An annotation that applies to a span of output text.","required":["type","container_id","file_id","start_index","end_index","filename"],"properties":{"type":{"type":"string","enum":["container_file_citation"],"description":"The type of the container file citation. Always `container_file_citation`.","default":"container_file_citation","isRequired":true,"uniqueKey":"oneOf.11.part.oneOf.0.annotations.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"container_id":{"type":"string","description":"The ID of the container file.","isRequired":true,"uniqueKey":"oneOf.11.part.oneOf.0.annotations.items.[INDEX].oneOf.2.container_id","typeLabel":"string"},"file_id":{"type":"string","description":"The ID of the file.","isRequired":true,"uniqueKey":"oneOf.11.part.oneOf.0.annotations.items.[INDEX].oneOf.2.file_id","typeLabel":"string"},"start_index":{"type":"integer","description":"The index of the first character of the container file citation in the message.","isRequired":true,"uniqueKey":"oneOf.11.part.oneOf.0.annotations.items.[INDEX].oneOf.2.start_index","typeLabel":"integer"},"end_index":{"type":"integer","description":"The index of the last character of the container file citation in the message.","isRequired":true,"uniqueKey":"oneOf.11.part.oneOf.0.annotations.items.[INDEX].oneOf.2.end_index","typeLabel":"integer"},"filename":{"type":"string","description":"The filename of the container file cited.","isRequired":true,"uniqueKey":"oneOf.11.part.oneOf.0.annotations.items.[INDEX].oneOf.2.filename","typeLabel":"string"}},"uniqueKey":"oneOf.11.part.oneOf.0.annotations.items.[INDEX].oneOf.2","typeLabel":"Container file citation · object"},{"type":"object","title":"File path","description":"An annotation that applies to a span of output text.","required":["type","file_id","index"],"properties":{"type":{"type":"string","description":"The type of the file path. Always `file_path`.\n","enum":["file_path"],"isRequired":true,"uniqueKey":"oneOf.11.part.oneOf.0.annotations.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"file_id":{"type":"string","description":"The ID of the file.\n","isRequired":true,"uniqueKey":"oneOf.11.part.oneOf.0.annotations.items.[INDEX].oneOf.3.file_id","typeLabel":"string"},"index":{"type":"integer","description":"The index of the file in the list of files.\n","isRequired":true,"uniqueKey":"oneOf.11.part.oneOf.0.annotations.items.[INDEX].oneOf.3.index","typeLabel":"integer"}},"uniqueKey":"oneOf.11.part.oneOf.0.annotations.items.[INDEX].oneOf.3","typeLabel":"File path · object"}],"uniqueKey":"oneOf.11.part.oneOf.0.annotations.items.[INDEX]","typeLabel":"File citation · object | URL citation · object | Container file citation · object | File path · object"},"type":"array","description":"The annotations of the text output.","isRequired":true,"uniqueKey":"oneOf.11.part.oneOf.0.annotations","typeLabel":"(File citation · object | URL citation · object | Container file citation · object | File path · object)[]"},"logprobs":{"items":{"properties":{"token":{"type":"string","isRequired":true,"uniqueKey":"oneOf.11.part.oneOf.0.logprobs.items.[INDEX].token","typeLabel":"string"},"logprob":{"type":"number","isRequired":true,"uniqueKey":"oneOf.11.part.oneOf.0.logprobs.items.[INDEX].logprob","typeLabel":"number"},"bytes":{"items":{"type":"integer","uniqueKey":"oneOf.11.part.oneOf.0.logprobs.items.[INDEX].bytes.items.[INDEX]","typeLabel":"integer"},"type":"array","isRequired":true,"uniqueKey":"oneOf.11.part.oneOf.0.logprobs.items.[INDEX].bytes","typeLabel":"integer[]"},"top_logprobs":{"items":{"properties":{"token":{"type":"string","isRequired":true,"uniqueKey":"oneOf.11.part.oneOf.0.logprobs.items.[INDEX].top_logprobs.items.[INDEX].token","typeLabel":"string"},"logprob":{"type":"number","isRequired":true,"uniqueKey":"oneOf.11.part.oneOf.0.logprobs.items.[INDEX].top_logprobs.items.[INDEX].logprob","typeLabel":"number"},"bytes":{"items":{"type":"integer","uniqueKey":"oneOf.11.part.oneOf.0.logprobs.items.[INDEX].top_logprobs.items.[INDEX].bytes.items.[INDEX]","typeLabel":"integer"},"type":"array","isRequired":true,"uniqueKey":"oneOf.11.part.oneOf.0.logprobs.items.[INDEX].top_logprobs.items.[INDEX].bytes","typeLabel":"integer[]"}},"type":"object","required":["token","logprob","bytes"],"title":"Top log probability","description":"The top log probability of a token.","uniqueKey":"oneOf.11.part.oneOf.0.logprobs.items.[INDEX].top_logprobs.items.[INDEX]","typeLabel":"Top log probability · object"},"type":"array","isRequired":true,"uniqueKey":"oneOf.11.part.oneOf.0.logprobs.items.[INDEX].top_logprobs","typeLabel":"Top log probability · object[]"}},"type":"object","required":["token","logprob","bytes","top_logprobs"],"title":"Log probability","description":"The log probability of a token.","uniqueKey":"oneOf.11.part.oneOf.0.logprobs.items.[INDEX]","typeLabel":"Log probability · object"},"type":"array","isRequired":true,"uniqueKey":"oneOf.11.part.oneOf.0.logprobs","typeLabel":"Log probability · object[]"}},"isRequired":true,"uniqueKey":"oneOf.11.part.oneOf.0","typeLabel":"Output text · object"},{"type":"object","title":"Refusal","description":"The content part that was added.\n","required":["type","refusal"],"properties":{"type":{"type":"string","enum":["refusal"],"description":"The type of the refusal. Always `refusal`.","default":"refusal","isRequired":true,"uniqueKey":"oneOf.11.part.oneOf.1.type","typeLabel":"enum\u003cstring>"},"refusal":{"type":"string","description":"The refusal explanation from the model.","isRequired":true,"uniqueKey":"oneOf.11.part.oneOf.1.refusal","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.11.part.oneOf.1","typeLabel":"Refusal · object"},{"type":"object","title":"Reasoning text","description":"The content part that was added.\n","required":["type","text"],"properties":{"type":{"type":"string","enum":["reasoning_text"],"description":"The type of the reasoning text. Always `reasoning_text`.","default":"reasoning_text","isRequired":true,"uniqueKey":"oneOf.11.part.oneOf.2.type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"The reasoning text from the model.","isRequired":true,"uniqueKey":"oneOf.11.part.oneOf.2.text","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.11.part.oneOf.2","typeLabel":"Reasoning text · object"}],"isRequired":true,"uniqueKey":"oneOf.11.part","typeLabel":"Output text · object | Refusal · object | Reasoning text · object"},"sequence_number":{"type":"integer","description":"The sequence number of this event.","isRequired":true,"uniqueKey":"oneOf.11.sequence_number","typeLabel":"integer"}},"uniqueKey":"oneOf.11","typeLabel":"object"},{"type":"object","description":"Event emitted while a response is streamed.","required":["type","item_id","output_index","content_index","part","sequence_number"],"properties":{"type":{"type":"string","description":"The type of the event. Always `response.content_part.done`.\n","const":"response.content_part.done","isRequired":true,"uniqueKey":"oneOf.12.type","typeLabel":"string"},"item_id":{"type":"string","description":"The ID of the output item that the content part was added to.\n","isRequired":true,"uniqueKey":"oneOf.12.item_id","typeLabel":"string"},"output_index":{"type":"integer","description":"The index of the output item that the content part was added to.\n","isRequired":true,"uniqueKey":"oneOf.12.output_index","typeLabel":"integer"},"content_index":{"type":"integer","description":"The index of the content part that is done.\n","isRequired":true,"uniqueKey":"oneOf.12.content_index","typeLabel":"integer"},"sequence_number":{"type":"integer","description":"The sequence number of this event.","isRequired":true,"uniqueKey":"oneOf.12.sequence_number","typeLabel":"integer"},"part":{"oneOf":[{"type":"object","title":"Output text","description":"The content part that is done.\n","required":["type","text","annotations","logprobs"],"properties":{"type":{"type":"string","enum":["output_text"],"description":"The type of the output text. Always `output_text`.","default":"output_text","isRequired":true,"uniqueKey":"oneOf.12.part.oneOf.0.type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"The text output from the model.","isRequired":true,"uniqueKey":"oneOf.12.part.oneOf.0.text","typeLabel":"string"},"annotations":{"items":{"oneOf":[{"type":"object","title":"File citation","description":"An annotation that applies to a span of output text.","required":["type","file_id","index","filename"],"properties":{"type":{"type":"string","enum":["file_citation"],"description":"The type of the file citation. Always `file_citation`.","default":"file_citation","isRequired":true,"uniqueKey":"oneOf.12.part.oneOf.0.annotations.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"file_id":{"type":"string","description":"The ID of the file.","isRequired":true,"uniqueKey":"oneOf.12.part.oneOf.0.annotations.items.[INDEX].oneOf.0.file_id","typeLabel":"string"},"index":{"type":"integer","description":"The index in the output text at which to insert the file citation.","isRequired":true,"uniqueKey":"oneOf.12.part.oneOf.0.annotations.items.[INDEX].oneOf.0.index","typeLabel":"integer"},"filename":{"type":"string","description":"The filename of the file cited.","isRequired":true,"uniqueKey":"oneOf.12.part.oneOf.0.annotations.items.[INDEX].oneOf.0.filename","typeLabel":"string"}},"uniqueKey":"oneOf.12.part.oneOf.0.annotations.items.[INDEX].oneOf.0","typeLabel":"File citation · object"},{"type":"object","title":"URL citation","description":"An annotation that applies to a span of output text.","required":["type","url","start_index","end_index","title"],"properties":{"type":{"type":"string","enum":["url_citation"],"description":"The type of the URL citation. Always `url_citation`.","default":"url_citation","isRequired":true,"uniqueKey":"oneOf.12.part.oneOf.0.annotations.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"url":{"type":"string","format":"uri","description":"The URL of the web resource.","isRequired":true,"uniqueKey":"oneOf.12.part.oneOf.0.annotations.items.[INDEX].oneOf.1.url","typeLabel":"string\u003curi>"},"start_index":{"type":"integer","description":"The index of the first character of the URL citation in the message.","isRequired":true,"uniqueKey":"oneOf.12.part.oneOf.0.annotations.items.[INDEX].oneOf.1.start_index","typeLabel":"integer"},"end_index":{"type":"integer","description":"The index of the last character of the URL citation in the message.","isRequired":true,"uniqueKey":"oneOf.12.part.oneOf.0.annotations.items.[INDEX].oneOf.1.end_index","typeLabel":"integer"},"title":{"type":"string","description":"The title of the web resource.","isRequired":true,"uniqueKey":"oneOf.12.part.oneOf.0.annotations.items.[INDEX].oneOf.1.title","typeLabel":"string"}},"uniqueKey":"oneOf.12.part.oneOf.0.annotations.items.[INDEX].oneOf.1","typeLabel":"URL citation · object"},{"type":"object","title":"Container file citation","description":"An annotation that applies to a span of output text.","required":["type","container_id","file_id","start_index","end_index","filename"],"properties":{"type":{"type":"string","enum":["container_file_citation"],"description":"The type of the container file citation. Always `container_file_citation`.","default":"container_file_citation","isRequired":true,"uniqueKey":"oneOf.12.part.oneOf.0.annotations.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"},"container_id":{"type":"string","description":"The ID of the container file.","isRequired":true,"uniqueKey":"oneOf.12.part.oneOf.0.annotations.items.[INDEX].oneOf.2.container_id","typeLabel":"string"},"file_id":{"type":"string","description":"The ID of the file.","isRequired":true,"uniqueKey":"oneOf.12.part.oneOf.0.annotations.items.[INDEX].oneOf.2.file_id","typeLabel":"string"},"start_index":{"type":"integer","description":"The index of the first character of the container file citation in the message.","isRequired":true,"uniqueKey":"oneOf.12.part.oneOf.0.annotations.items.[INDEX].oneOf.2.start_index","typeLabel":"integer"},"end_index":{"type":"integer","description":"The index of the last character of the container file citation in the message.","isRequired":true,"uniqueKey":"oneOf.12.part.oneOf.0.annotations.items.[INDEX].oneOf.2.end_index","typeLabel":"integer"},"filename":{"type":"string","description":"The filename of the container file cited.","isRequired":true,"uniqueKey":"oneOf.12.part.oneOf.0.annotations.items.[INDEX].oneOf.2.filename","typeLabel":"string"}},"uniqueKey":"oneOf.12.part.oneOf.0.annotations.items.[INDEX].oneOf.2","typeLabel":"Container file citation · object"},{"type":"object","title":"File path","description":"An annotation that applies to a span of output text.","required":["type","file_id","index"],"properties":{"type":{"type":"string","description":"The type of the file path. Always `file_path`.\n","enum":["file_path"],"isRequired":true,"uniqueKey":"oneOf.12.part.oneOf.0.annotations.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"file_id":{"type":"string","description":"The ID of the file.\n","isRequired":true,"uniqueKey":"oneOf.12.part.oneOf.0.annotations.items.[INDEX].oneOf.3.file_id","typeLabel":"string"},"index":{"type":"integer","description":"The index of the file in the list of files.\n","isRequired":true,"uniqueKey":"oneOf.12.part.oneOf.0.annotations.items.[INDEX].oneOf.3.index","typeLabel":"integer"}},"uniqueKey":"oneOf.12.part.oneOf.0.annotations.items.[INDEX].oneOf.3","typeLabel":"File path · object"}],"uniqueKey":"oneOf.12.part.oneOf.0.annotations.items.[INDEX]","typeLabel":"File citation · object | URL citation · object | Container file citation · object | File path · object"},"type":"array","description":"The annotations of the text output.","isRequired":true,"uniqueKey":"oneOf.12.part.oneOf.0.annotations","typeLabel":"(File citation · object | URL citation · object | Container file citation · object | File path · object)[]"},"logprobs":{"items":{"properties":{"token":{"type":"string","isRequired":true,"uniqueKey":"oneOf.12.part.oneOf.0.logprobs.items.[INDEX].token","typeLabel":"string"},"logprob":{"type":"number","isRequired":true,"uniqueKey":"oneOf.12.part.oneOf.0.logprobs.items.[INDEX].logprob","typeLabel":"number"},"bytes":{"items":{"type":"integer","uniqueKey":"oneOf.12.part.oneOf.0.logprobs.items.[INDEX].bytes.items.[INDEX]","typeLabel":"integer"},"type":"array","isRequired":true,"uniqueKey":"oneOf.12.part.oneOf.0.logprobs.items.[INDEX].bytes","typeLabel":"integer[]"},"top_logprobs":{"items":{"properties":{"token":{"type":"string","isRequired":true,"uniqueKey":"oneOf.12.part.oneOf.0.logprobs.items.[INDEX].top_logprobs.items.[INDEX].token","typeLabel":"string"},"logprob":{"type":"number","isRequired":true,"uniqueKey":"oneOf.12.part.oneOf.0.logprobs.items.[INDEX].top_logprobs.items.[INDEX].logprob","typeLabel":"number"},"bytes":{"items":{"type":"integer","uniqueKey":"oneOf.12.part.oneOf.0.logprobs.items.[INDEX].top_logprobs.items.[INDEX].bytes.items.[INDEX]","typeLabel":"integer"},"type":"array","isRequired":true,"uniqueKey":"oneOf.12.part.oneOf.0.logprobs.items.[INDEX].top_logprobs.items.[INDEX].bytes","typeLabel":"integer[]"}},"type":"object","required":["token","logprob","bytes"],"title":"Top log probability","description":"The top log probability of a token.","uniqueKey":"oneOf.12.part.oneOf.0.logprobs.items.[INDEX].top_logprobs.items.[INDEX]","typeLabel":"Top log probability · object"},"type":"array","isRequired":true,"uniqueKey":"oneOf.12.part.oneOf.0.logprobs.items.[INDEX].top_logprobs","typeLabel":"Top log probability · object[]"}},"type":"object","required":["token","logprob","bytes","top_logprobs"],"title":"Log probability","description":"The log probability of a token.","uniqueKey":"oneOf.12.part.oneOf.0.logprobs.items.[INDEX]","typeLabel":"Log probability · object"},"type":"array","isRequired":true,"uniqueKey":"oneOf.12.part.oneOf.0.logprobs","typeLabel":"Log probability · object[]"}},"isRequired":true,"uniqueKey":"oneOf.12.part.oneOf.0","typeLabel":"Output text · object"},{"type":"object","title":"Refusal","description":"The content part that is done.\n","required":["type","refusal"],"properties":{"type":{"type":"string","enum":["refusal"],"description":"The type of the refusal. Always `refusal`.","default":"refusal","isRequired":true,"uniqueKey":"oneOf.12.part.oneOf.1.type","typeLabel":"enum\u003cstring>"},"refusal":{"type":"string","description":"The refusal explanation from the model.","isRequired":true,"uniqueKey":"oneOf.12.part.oneOf.1.refusal","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.12.part.oneOf.1","typeLabel":"Refusal · object"},{"type":"object","title":"Reasoning text","description":"The content part that is done.\n","required":["type","text"],"properties":{"type":{"type":"string","enum":["reasoning_text"],"description":"The type of the reasoning text. Always `reasoning_text`.","default":"reasoning_text","isRequired":true,"uniqueKey":"oneOf.12.part.oneOf.2.type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"The reasoning text from the model.","isRequired":true,"uniqueKey":"oneOf.12.part.oneOf.2.text","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.12.part.oneOf.2","typeLabel":"Reasoning text · object"}],"isRequired":true,"uniqueKey":"oneOf.12.part","typeLabel":"Output text · object | Refusal · object | Reasoning text · object"}},"uniqueKey":"oneOf.12","typeLabel":"object"},{"type":"object","description":"Event emitted while a response is streamed.","required":["type","response","sequence_number"],"properties":{"type":{"type":"string","description":"The type of the event. Always `response.created`.\n","const":"response.created","isRequired":true,"uniqueKey":"oneOf.13.type","typeLabel":"string"},"response":{"type":"object","title":"The response object","description":"The response that was created.\n","required":["access_programs","id","object","created_at","error","incomplete_details","instructions","model","tools","output","parallel_tool_calls","metadata","tool_choice","temperature","top_p"],"example":{"id":"resp_67ccd3a9da748190baa7f1570fe91ac604becb25c45c1d41","object":"response","access_programs":null,"created_at":1741476777,"status":"completed","completed_at":1741476778,"error":null,"incomplete_details":null,"instructions":null,"max_output_tokens":null,"model":"gpt-6.2-astra","output":[{"type":"message","id":"msg_67ccd3acc8d48190a77525dc6de64b4104becb25c45c1d41","status":"completed","role":"assistant","content":[{"type":"output_text","text":"The image depicts a scenic landscape with a wooden boardwalk or pathway leading through lush, green grass under a blue sky with some clouds. The setting suggests a peaceful natural area, possibly a park or nature reserve. There are trees and shrubs in the background.","annotations":[],"logprobs":[]}]}],"parallel_tool_calls":true,"previous_response_id":null,"reasoning":{"effort":null,"summary":null,"context":null},"temperature":1,"text":{"format":{"type":"text"}},"tool_choice":"auto","tools":[],"top_p":1,"truncation":"disabled","usage":{"input_tokens":328,"input_tokens_details":{"cached_tokens":0,"cache_write_tokens":0},"output_tokens":52,"output_tokens_details":{"reasoning_tokens":0},"total_tokens":380},"tool_usage":{"image_gen":{"input_tokens":0,"input_tokens_details":{"text_tokens":0,"image_tokens":0},"output_tokens":0,"output_tokens_details":{"text_tokens":0,"image_tokens":0},"total_tokens":0},"web_search":{"num_requests":0}},"user":null,"metadata":{}},"properties":{"metadata":{"oneOf":[{"type":"object","description":"Set of 16 key-value pairs that can be attached to an object. This can be\nuseful for storing additional information about the object in a structured\nformat, and querying for objects via API or the dashboard.\n\nKeys are strings with a maximum length of 64 characters. Values are strings\nwith a maximum length of 512 characters.\n","additionalProperties":{"type":"string","uniqueKey":"oneOf.13.response.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"isRequired":true,"uniqueKey":"oneOf.13.response.metadata.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.13.response.metadata.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.13.response.metadata","typeLabel":"object | null"},"temperature":{"oneOf":[{"type":"number","description":"What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.\nWe generally recommend altering this or `top_p` but not both.\n","default":1,"maximum":2,"minimum":0,"example":1,"isRequired":true,"uniqueKey":"oneOf.13.response.temperature.oneOf.0","typeLabel":"number"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.13.response.temperature.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.13.response.temperature","typeLabel":"number | null"},"top_p":{"oneOf":[{"type":"number","description":"An alternative to sampling with temperature, called nucleus sampling,\nwhere the model considers the results of the tokens with top_p probability\nmass. So 0.1 means only the tokens comprising the top 10% probability mass\nare considered.\n\nWe generally recommend altering this or `temperature` but not both.\n","default":1,"maximum":1,"minimum":0,"example":1,"isRequired":true,"uniqueKey":"oneOf.13.response.top_p.oneOf.0","typeLabel":"number"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.13.response.top_p.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.13.response.top_p","typeLabel":"number | null"},"model":{"type":"string","description":"ID of the model to use, for example `gpt-6.2-sol`. See [Models](/en/llm/openai-responses) for the available models.","example":"gpt-6.2-sol","isRequired":true,"uniqueKey":"oneOf.13.response.model","typeLabel":"string"},"tools":{"type":"array","description":"An array of tools the model may call while generating a response. You\ncan specify which tool to use by setting the `tool_choice` parameter.\n\nWe support the following categories of tools:\n- **Built-in tools**: Tools that are provided by OpenAI that extend the\n model's capabilities, like [web search](https://developers.openai.com/api/docs/guides/tools-web-search)\n or [file search](https://developers.openai.com/api/docs/guides/tools-file-search). Learn more about\n [built-in tools](https://developers.openai.com/api/docs/guides/tools).\n- **MCP Tools**: Integrations with third-party systems via custom MCP servers\n or predefined connectors such as Google Drive and SharePoint. Learn more about\n [MCP Tools](https://developers.openai.com/api/docs/guides/tools-connectors-mcp).\n- **Function calls (custom tools)**: Functions that are defined by you,\n enabling the model to call your own code with strongly typed arguments\n and outputs. Learn more about\n [function calling](https://developers.openai.com/api/docs/guides/function-calling). You can also use\n custom tools to call your own code.\n","items":{"oneOf":[{"type":"object","title":"Function","description":"A tool that can be used to generate a response.\n","required":["type","name","strict","parameters"],"properties":{"type":{"type":"string","enum":["function"],"description":"The type of the function tool. Always `function`.","default":"function","isRequired":true,"uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"The name of the function to call.","isRequired":true,"uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.0.name","typeLabel":"string"},"parameters":{"type":"any","isRequired":true,"uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.0.parameters","typeLabel":"any"},"strict":{"type":"any","isRequired":true,"uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.0.strict","typeLabel":"any"},"async":{"type":"boolean","uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.0.async","typeLabel":"boolean"},"description":{"type":"any","uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.0.description","typeLabel":"any"},"output_schema":{"type":"any","uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.0.output_schema","typeLabel":"any"},"defer_loading":{"type":"boolean","description":"Whether this function is deferred and loaded via tool search.","uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.0.defer_loading","typeLabel":"boolean"},"allowed_callers":{"type":"any","uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.0.allowed_callers","typeLabel":"any"}},"uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.0","typeLabel":"Function · object"},{"type":"object","title":"File search","description":"A tool that can be used to generate a response.\n","required":["type","vector_store_ids"],"properties":{"type":{"type":"string","enum":["file_search"],"description":"The type of the file search tool. Always `file_search`.","default":"file_search","isRequired":true,"uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"vector_store_ids":{"items":{"type":"string","uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.1.vector_store_ids.items.[INDEX]","typeLabel":"string"},"type":"array","description":"The IDs of the vector stores to search.","isRequired":true,"uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.1.vector_store_ids","typeLabel":"string[]"},"max_num_results":{"type":"integer","description":"The maximum number of results to return. This number should be between 1 and 50 inclusive.","uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.1.max_num_results","typeLabel":"integer"},"ranking_options":{"properties":{"ranker":{"type":"string","enum":["auto","default-2024-11-15"],"description":"The ranker to use for the file search.","uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.1.ranking_options.ranker","typeLabel":"enum\u003cstring>"},"score_threshold":{"type":"number","description":"The score threshold for the file search, a number between 0 and 1. Numbers closer to 1 will attempt to return only the most relevant results, but may return fewer results.","uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.1.ranking_options.score_threshold","typeLabel":"number"},"hybrid_search":{"properties":{"embedding_weight":{"type":"number","description":"The weight of the embedding in the reciprocal ranking fusion.","isRequired":true,"uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.1.ranking_options.hybrid_search.embedding_weight","typeLabel":"number"},"text_weight":{"type":"number","description":"The weight of the text in the reciprocal ranking fusion.","isRequired":true,"uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.1.ranking_options.hybrid_search.text_weight","typeLabel":"number"}},"type":"object","required":["embedding_weight","text_weight"],"description":"Weights that control how reciprocal rank fusion balances semantic embedding matches versus sparse keyword matches when hybrid search is enabled.","uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.1.ranking_options.hybrid_search","typeLabel":"object"}},"type":"object","required":[],"description":"Ranking options for search.","uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.1.ranking_options","typeLabel":"object"},"filters":{"type":"any","uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.1.filters","typeLabel":"any"}},"uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.1","typeLabel":"File search · object"},{"type":"object","title":"Computer","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["computer"],"description":"The type of the computer tool. Always `computer`.","default":"computer","isRequired":true,"uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.2","typeLabel":"Computer · object"},{"type":"object","title":"Computer use preview","description":"A tool that can be used to generate a response.\n","required":["type","environment","display_width","display_height"],"properties":{"type":{"type":"string","enum":["computer_use_preview"],"description":"The type of the computer use tool. Always `computer_use_preview`.","default":"computer_use_preview","isRequired":true,"uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"environment":{"type":"string","enum":["windows","mac","linux","ubuntu","browser"],"description":"The type of computer environment to control.","isRequired":true,"uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.3.environment","typeLabel":"enum\u003cstring>"},"display_width":{"type":"integer","description":"The width of the computer display.","isRequired":true,"uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.3.display_width","typeLabel":"integer"},"display_height":{"type":"integer","description":"The height of the computer display.","isRequired":true,"uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.3.display_height","typeLabel":"integer"}},"uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.3","typeLabel":"Computer use preview · object"},{"type":"object","title":"Web search","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["web_search","web_search_2025_08_26"],"description":"The type of the web search tool. One of `web_search` or `web_search_2025_08_26`.","default":"web_search","isRequired":true,"uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.4.type","typeLabel":"enum\u003cstring>"},"external_web_access":{"type":"boolean","default":true,"description":"Allow live internet access for web search. Defaults to true when omitted. When false, the web search tool runs in offline/cache-only mode and will not fetch new external content.","uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.4.external_web_access","typeLabel":"boolean"},"filters":{"type":"any","uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.4.filters","typeLabel":"any"},"user_location":{"type":"any","description":"The approximate location of the user. If omitted or null, defaults to the\nUnited States. To avoid this fallback, pass `{\"type\": \"approximate\"}` without\nlocation fields. To localize results, provide the relevant location fields.\n","uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.4.user_location","typeLabel":"any"},"search_context_size":{"type":"string","enum":["low","medium","high"],"default":"medium","description":"High level guidance for the amount of context window space to use for the search. One of `low`, `medium`, or `high`. `medium` is the default.","uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.4.search_context_size","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.4","typeLabel":"Web search · object"},{"type":"object","title":"MCP tool","description":"A tool that can be used to generate a response.\n","required":["type","server_label"],"properties":{"type":{"type":"string","const":"mcp","description":"The type of the MCP tool. Always `mcp`.","isRequired":true,"uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.5.type","typeLabel":"string"},"server_label":{"type":"string","description":"A label for this MCP server, used to identify it in tool calls.\n","isRequired":true,"uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.5.server_label","typeLabel":"string"},"server_url":{"type":"string","format":"uri","description":"The URL for the MCP server. One of `server_url`, `connector_id`, or\n`tunnel_id` must be provided.\n","uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.5.server_url","typeLabel":"string\u003curi>"},"connector_id":{"type":"string","deprecated":true,"enum":["connector_dropbox","connector_gmail","connector_googlecalendar","connector_googledrive","connector_microsoftteams","connector_outlookcalendar","connector_outlookemail","connector_sharepoint"],"description":"Identifier for service connectors, like those available in ChatGPT. One of\n`server_url`, `connector_id`, or `tunnel_id` must be provided. Learn more\nabout service connectors [here](https://developers.openai.com/api/docs/guides/tools-connectors-mcp#connectors).\n\nThis field is deprecated for models released after September 1, 2026.\nUse `server_url` to connect to a remote MCP server, or `tunnel_id` to\nconnect through a Secure MCP Tunnel.\n\nCurrently supported `connector_id` values are:\n\n- Dropbox: `connector_dropbox`\n- Gmail: `connector_gmail`\n- Google Calendar: `connector_googlecalendar`\n- Google Drive: `connector_googledrive`\n- Microsoft Teams: `connector_microsoftteams`\n- Outlook Calendar: `connector_outlookcalendar`\n- Outlook Email: `connector_outlookemail`\n- SharePoint: `connector_sharepoint`\n","uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.5.connector_id","typeLabel":"enum\u003cstring>"},"tunnel_id":{"type":"string","pattern":"^tunnel_[a-z0-9]{32}$","description":"The Secure MCP Tunnel ID to use instead of a direct server URL. One of\n`server_url`, `connector_id`, or `tunnel_id` must be provided.\n","uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.5.tunnel_id","typeLabel":"string"},"authorization":{"type":"string","description":"An OAuth access token that can be used with a remote MCP server, either\nwith a custom MCP server URL or a service connector. Your application\nmust handle the OAuth authorization flow and provide the token here.\n","uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.5.authorization","typeLabel":"string"},"server_description":{"type":"string","description":"Optional description of the MCP server, used to provide more context.\n","uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.5.server_description","typeLabel":"string"},"headers":{"type":"any","uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.5.headers","typeLabel":"any"},"allowed_tools":{"type":"any","uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.5.allowed_tools","typeLabel":"any"},"allowed_callers":{"type":"any","uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.5.allowed_callers","typeLabel":"any"},"require_approval":{"type":"any","uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.5.require_approval","typeLabel":"any"},"defer_loading":{"type":"boolean","description":"Whether this MCP tool is deferred and discovered via tool search.\n","uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.5.defer_loading","typeLabel":"boolean"}},"uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.5","typeLabel":"MCP tool · object"},{"type":"object","title":"Code interpreter","description":"A tool that can be used to generate a response.\n","required":["type","container"],"properties":{"type":{"type":"string","enum":["code_interpreter"],"description":"The type of the code interpreter tool. Always `code_interpreter`.\n","isRequired":true,"uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.6.type","typeLabel":"enum\u003cstring>"},"container":{"type":"any","description":"The code interpreter container. Can be a container ID or an object that\nspecifies uploaded file IDs to make available to your code, along with an\noptional `memory_limit` setting.\n","isRequired":true,"uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.6.container","typeLabel":"any"},"allowed_callers":{"type":"any","uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.6.allowed_callers","typeLabel":"any"}},"uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.6","typeLabel":"Code interpreter · object"},{"type":"object","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["programmatic_tool_calling"],"description":"The type of the tool. Always `programmatic_tool_calling`.","default":"programmatic_tool_calling","isRequired":true,"uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.7.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.7","typeLabel":"object"},{"type":"object","title":"Image generation tool","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["image_generation"],"description":"The type of the image generation tool. Always `image_generation`.\n","isRequired":true,"uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.8.type","typeLabel":"enum\u003cstring>"},"model":{"type":"any","uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.8.model","typeLabel":"any"},"complexity":{"type":"string","enum":["low","medium","high"],"description":"Computation spent planning the image, independently of rendering quality.\nOverrides the outer response's `reasoning.effort` for image generation.\nWhen omitted, inherits a supported outer reasoning effort or uses the\nimage model's configured default.\nFor SVG output, controls the reference image, not the SVG author's\nreasoning.\n","uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.8.complexity","typeLabel":"enum\u003cstring>"},"quality":{"type":"string","enum":["low","medium","high","xhigh","max","auto"],"description":"The quality of the generated image. The GPT image models support `low`,\n`medium`, and `high`. `gpt-image-2.5-sunburst` and `gpt-image-2.5-flare`,\nincluding their `2026-09-08` snapshots, also support `xhigh` and `max`.\nDefault: `auto`.\n","default":"auto","uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.8.quality","typeLabel":"enum\u003cstring>"},"size":{"type":"any","description":"The size of the generated images. For `gpt-image-2`, `gpt-image-2-2026-04-21`, `gpt-image-2.5-sunburst`, `gpt-image-2.5-sunburst-2026-09-08`, `gpt-image-2.5-flare`, and `gpt-image-2.5-flare-2026-09-08`, arbitrary resolutions are supported as `WIDTHxHEIGHT` strings, for example `1536x864`. Width and height must both be divisible by 16 and the requested aspect ratio must be between 1:3 and 3:1. Resolutions above `2560x1440` are experimental, and the maximum supported resolution is `3840x2160`. The requested size must also satisfy the model's current pixel and edge limits. The standard sizes `1024x1024`, `1536x1024`, and `1024x1536` are supported by the GPT image models; `auto` is supported for models that allow automatic sizing.","default":"auto","uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.8.size","typeLabel":"any"},"output_format":{"type":"string","enum":["png","webp","jpeg","gif","svg"],"description":"The output format of the generated image. One of `png`, `webp`, `jpeg`,\n`gif`, or `svg`. Default: `png`. GIF and SVG output require a model\nthat supports the selected format. GIF output does not support\npartial image streaming (`partial_images` greater than `0`),\n`input_image_mask`, or custom `output_compression`.\nResponses lifecycle events can still be streamed for GIF output.\n","default":"png","uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.8.output_format","typeLabel":"enum\u003cstring>"},"frame_count":{"type":"integer","minimum":2,"maximum":16,"default":9,"description":"Number of GIF frames. Requires `output_format` to be `gif`. Default: 9.\n","uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.8.frame_count","typeLabel":"integer"},"frame_duration_ms":{"type":"integer","minimum":20,"maximum":2000,"default":200,"description":"Duration of each GIF frame in milliseconds, rounded to 10 ms.\nRequires `output_format` to be `gif`. Default: 200.\n","uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.8.frame_duration_ms","typeLabel":"integer"},"svg":{"properties":{"model":{"type":"string","minLength":1,"uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.8.svg.model","typeLabel":"string"},"reasoning":{"type":"any","uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.8.svg.reasoning","typeLabel":"any"}},"type":"object","required":[],"description":"SVG author model settings. Requires `output_format` to be `svg`.\nWhen SVG model selection is enabled, omitting this object uses the\nouter response model. Otherwise, the default SVG author is used and\nexplicit model overrides are unavailable.\n","uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.8.svg","typeLabel":"object"},"output_compression":{"type":"integer","minimum":0,"maximum":100,"description":"Compression level for the output image. Default: 100.\n","default":100,"uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.8.output_compression","typeLabel":"integer"},"moderation":{"type":"string","enum":["auto","low"],"description":"Moderation level for the generated image. Default: `auto`.\n","default":"auto","uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.8.moderation","typeLabel":"enum\u003cstring>"},"background":{"type":"string","enum":["transparent","opaque","auto"],"description":"Set the background of the generated image. One of `transparent`, `opaque`,\nor `auto`. `gpt-image-2.5-sunburst` and `gpt-image-2.5-flare`, including\ntheir `2026-09-08` snapshots, support `opaque` and `transparent`\nbackgrounds. Transparent backgrounds are available for supported GPT Image\nmodels. For `gpt-image-2` and `gpt-image-2-2026-04-21`, this support is in\npreview. When using `transparent`, set the output format to `png` or `webp`.\nDefault: `auto`.\n","default":"auto","uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.8.background","typeLabel":"enum\u003cstring>"},"input_fidelity":{"type":"any","uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.8.input_fidelity","typeLabel":"any"},"input_image_mask":{"type":"object","description":"Optional mask for inpainting. Contains `image_url`\n(string, optional) and `file_id` (string, optional).\n","properties":{"image_url":{"type":"string","description":"Base64-encoded mask image.\n","uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.8.input_image_mask.image_url","typeLabel":"string"},"file_id":{"type":"string","description":"File ID for the mask image.\n","uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.8.input_image_mask.file_id","typeLabel":"string"}},"required":[],"additionalProperties":false,"uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.8.input_image_mask","typeLabel":"object"},"partial_images":{"type":"integer","minimum":0,"maximum":3,"description":"Number of partial images to generate in streaming mode, from 0 (default value) to 3.\n","default":0,"uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.8.partial_images","typeLabel":"integer"},"action":{"type":"string","enum":["generate","edit","auto"],"description":"Whether to generate a new image or edit an existing image. Default: `auto`.\n","uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.8.action","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.8","typeLabel":"Image generation tool · object"},{"type":"object","title":"Local shell tool","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["local_shell"],"description":"The type of the local shell tool. Always `local_shell`.","default":"local_shell","isRequired":true,"uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.9.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.9","typeLabel":"Local shell tool · object"},{"type":"object","title":"Shell tool","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["shell"],"description":"The type of the shell tool. Always `shell`.","default":"shell","isRequired":true,"uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.10.type","typeLabel":"enum\u003cstring>"},"environment":{"type":"any","uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.10.environment","typeLabel":"any"},"allowed_callers":{"type":"any","uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.10.allowed_callers","typeLabel":"any"}},"uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.10","typeLabel":"Shell tool · object"},{"type":"object","title":"Custom tool","description":"A tool that can be used to generate a response.\n","required":["type","name"],"properties":{"type":{"type":"string","enum":["custom"],"description":"The type of the custom tool. Always `custom`.","default":"custom","isRequired":true,"uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.11.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"The name of the custom tool, used to identify it in tool calls.","isRequired":true,"uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.11.name","typeLabel":"string"},"async":{"type":"boolean","description":"Whether the tool response can be returned asynchronously versus immediately returned on next response creation.","uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.11.async","typeLabel":"boolean"},"description":{"type":"string","description":"Optional description of the custom tool, used to provide more context.","uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.11.description","typeLabel":"string"},"format":{"type":"any","description":"The input format for the custom tool. Default is unconstrained text.","uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.11.format","typeLabel":"any"},"defer_loading":{"type":"boolean","description":"Whether this tool should be deferred and discovered via tool search.","uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.11.defer_loading","typeLabel":"boolean"},"allowed_callers":{"type":"any","uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.11.allowed_callers","typeLabel":"any"}},"uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.11","typeLabel":"Custom tool · object"},{"type":"object","title":"Namespace","description":"A tool that can be used to generate a response.\n","required":["type","name","description","tools"],"properties":{"type":{"type":"string","enum":["namespace"],"description":"The type of the tool. Always `namespace`.","default":"namespace","isRequired":true,"uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.12.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","minLength":1,"description":"The namespace name used in tool calls (for example, `crm`).","isRequired":true,"uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.12.name","typeLabel":"string"},"description":{"type":"string","description":"A description of the namespace shown to the model.","isRequired":true,"uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.12.description","typeLabel":"string"},"tools":{"items":{"type":"any","description":"A function or custom tool that belongs to a namespace.","uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.12.tools.items.[INDEX]","typeLabel":"any"},"type":"array","minItems":1,"description":"The function/custom tools available inside this namespace.","isRequired":true,"uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.12.tools","typeLabel":"any[]"}},"uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.12","typeLabel":"Namespace · object"},{"type":"object","title":"Tool search tool","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["tool_search"],"description":"The type of the tool. Always `tool_search`.","default":"tool_search","isRequired":true,"uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.13.type","typeLabel":"enum\u003cstring>"},"execution":{"type":"string","enum":["server","client"],"description":"Whether tool search is executed by the server or by the client.","uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.13.execution","typeLabel":"enum\u003cstring>"},"description":{"type":"any","uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.13.description","typeLabel":"any"},"parameters":{"type":"any","uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.13.parameters","typeLabel":"any"}},"uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.13","typeLabel":"Tool search tool · object"},{"type":"object","title":"Web search preview","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["web_search_preview","web_search_preview_2025_03_11"],"description":"The type of the web search tool. One of `web_search_preview` or `web_search_preview_2025_03_11`.","default":"web_search_preview","isRequired":true,"uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.14.type","typeLabel":"enum\u003cstring>"},"user_location":{"type":"any","uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.14.user_location","typeLabel":"any"},"search_context_size":{"type":"string","enum":["low","medium","high"],"description":"High level guidance for the amount of context window space to use for the search. One of `low`, `medium`, or `high`. `medium` is the default.","uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.14.search_context_size","typeLabel":"enum\u003cstring>"},"search_content_types":{"items":{"type":"string","enum":["text","image"],"uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.14.search_content_types.items.[INDEX]","typeLabel":"enum\u003cstring>"},"type":"array","uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.14.search_content_types","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.14","typeLabel":"Web search preview · object"},{"type":"object","title":"Apply patch tool","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["apply_patch"],"description":"The type of the tool. Always `apply_patch`.","default":"apply_patch","isRequired":true,"uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.15.type","typeLabel":"enum\u003cstring>"},"allowed_callers":{"type":"any","uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.15.allowed_callers","typeLabel":"any"}},"uniqueKey":"oneOf.13.response.tools.items.[INDEX].oneOf.15","typeLabel":"Apply patch tool · object"}],"uniqueKey":"oneOf.13.response.tools.items.[INDEX]","typeLabel":"Function · object | File search · object | Computer · object | Computer use preview · object | Web search · object | MCP tool · object | Code interpreter · object | object | Image generation tool · object | Local shell tool · object | Shell tool · object | Custom tool · object | Namespace · object | Tool search tool · object | Web search preview · object | Apply patch tool · object"},"isRequired":true,"uniqueKey":"oneOf.13.response.tools","typeLabel":"(Function · object | File search · object | Computer · object | Computer use preview · object | Web search · object | MCP tool · object | Code interpreter · object | object | Image generation tool · object | Local shell tool · object | Shell tool · object | Custom tool · object | Namespace · object | Tool search tool · object | Web search preview · object | Apply patch tool · object)[]"},"tool_choice":{"oneOf":[{"type":"string","title":"Tool choice mode","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","enum":["none","auto","required"],"isRequired":true,"uniqueKey":"oneOf.13.response.tool_choice.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"object","title":"Allowed tools","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","required":["type","mode","tools"],"properties":{"type":{"type":"string","enum":["allowed_tools"],"description":"Allowed tool configuration type. Always `allowed_tools`.","isRequired":true,"uniqueKey":"oneOf.13.response.tool_choice.oneOf.1.type","typeLabel":"enum\u003cstring>"},"mode":{"type":"string","enum":["auto","required"],"description":"Constrains the tools available to the model to a pre-defined set.\n\n`auto` allows the model to pick from among the allowed tools and generate a\nmessage.\n\n`required` requires the model to call one or more of the allowed tools.\n","isRequired":true,"uniqueKey":"oneOf.13.response.tool_choice.oneOf.1.mode","typeLabel":"enum\u003cstring>"},"tools":{"type":"array","description":"A list of tool definitions that the model should be allowed to call.\n\nFor the Responses API, the list of tool definitions might look like:\n```json\n[\n { \"type\": \"function\", \"name\": \"get_weather\" },\n { \"type\": \"mcp\", \"server_label\": \"deepwiki\" },\n { \"type\": \"image_generation\" }\n]\n```\n","items":{"type":"object","description":"A tool definition that the model should be allowed to call.\n","additionalProperties":true,"uniqueKey":"oneOf.13.response.tool_choice.oneOf.1.tools.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"oneOf.13.response.tool_choice.oneOf.1.tools","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"oneOf.13.response.tool_choice.oneOf.1","typeLabel":"Allowed tools · object"},{"type":"object","title":"Hosted tool","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","required":["type"],"properties":{"type":{"type":"string","description":"The type of hosted tool the model should to use. Learn more about\n[built-in tools](https://developers.openai.com/api/docs/guides/tools).\n\nAllowed values are:\n- `file_search`\n- `web_search_preview`\n- `computer`\n- `computer_use_preview`\n- `computer_use`\n- `code_interpreter`\n- `image_generation`\n","enum":["file_search","web_search_preview","computer","computer_use_preview","computer_use","web_search_preview_2025_03_11","image_generation","code_interpreter"],"isRequired":true,"uniqueKey":"oneOf.13.response.tool_choice.oneOf.2.type","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.13.response.tool_choice.oneOf.2","typeLabel":"Hosted tool · object"},{"type":"object","title":"Function tool","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","required":["type","name"],"properties":{"type":{"type":"string","enum":["function"],"description":"For function calling, the type is always `function`.","isRequired":true,"uniqueKey":"oneOf.13.response.tool_choice.oneOf.3.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"The name of the function to call.","isRequired":true,"uniqueKey":"oneOf.13.response.tool_choice.oneOf.3.name","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.13.response.tool_choice.oneOf.3","typeLabel":"Function tool · object"},{"type":"object","title":"MCP tool","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","required":["type","server_label"],"properties":{"type":{"type":"string","enum":["mcp"],"description":"For MCP tools, the type is always `mcp`.","isRequired":true,"uniqueKey":"oneOf.13.response.tool_choice.oneOf.4.type","typeLabel":"enum\u003cstring>"},"server_label":{"type":"string","description":"The label of the MCP server to use.\n","isRequired":true,"uniqueKey":"oneOf.13.response.tool_choice.oneOf.4.server_label","typeLabel":"string"},"name":{"type":"any","uniqueKey":"oneOf.13.response.tool_choice.oneOf.4.name","typeLabel":"any"}},"isRequired":true,"uniqueKey":"oneOf.13.response.tool_choice.oneOf.4","typeLabel":"MCP tool · object"},{"type":"object","title":"Custom tool","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","required":["type","name"],"properties":{"type":{"type":"string","enum":["custom"],"description":"For custom tool calling, the type is always `custom`.","isRequired":true,"uniqueKey":"oneOf.13.response.tool_choice.oneOf.5.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"The name of the custom tool to call.","isRequired":true,"uniqueKey":"oneOf.13.response.tool_choice.oneOf.5.name","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.13.response.tool_choice.oneOf.5","typeLabel":"Custom tool · object"},{"type":"object","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","required":["type"],"properties":{"type":{"type":"string","enum":["programmatic_tool_calling"],"description":"The tool to call. Always `programmatic_tool_calling`.","default":"programmatic_tool_calling","isRequired":true,"uniqueKey":"oneOf.13.response.tool_choice.oneOf.6.type","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.13.response.tool_choice.oneOf.6","typeLabel":"object"},{"type":"object","title":"Specific apply patch tool choice","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","required":["type"],"properties":{"type":{"type":"string","enum":["apply_patch"],"description":"The tool to call. Always `apply_patch`.","default":"apply_patch","isRequired":true,"uniqueKey":"oneOf.13.response.tool_choice.oneOf.7.type","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.13.response.tool_choice.oneOf.7","typeLabel":"Specific apply patch tool choice · object"},{"type":"object","title":"Specific shell tool choice","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","required":["type"],"properties":{"type":{"type":"string","enum":["shell"],"description":"The tool to call. Always `shell`.","default":"shell","isRequired":true,"uniqueKey":"oneOf.13.response.tool_choice.oneOf.8.type","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.13.response.tool_choice.oneOf.8","typeLabel":"Specific shell tool choice · object"}],"isRequired":true,"uniqueKey":"oneOf.13.response.tool_choice","typeLabel":"enum\u003cstring> | Allowed tools · object | Hosted tool · object | Function tool · object | MCP tool · object | Custom tool · object | object | Specific apply patch tool choice · object | Specific shell tool choice · object"},"id":{"type":"string","description":"Unique identifier for this Response.\n","isRequired":true,"uniqueKey":"oneOf.13.response.id","typeLabel":"string"},"object":{"type":"string","description":"The object type of this resource - always set to `response`.\n","const":"response","isRequired":true,"uniqueKey":"oneOf.13.response.object","typeLabel":"string"},"access_programs":{"oneOf":[{"type":"object","required":["cyber"],"properties":{"cyber":{"type":"string","enum":["standard","daybreak_blue","daybreak_red"],"description":"The effective Cyber access program used for this response.","isRequired":true,"uniqueKey":"oneOf.13.response.access_programs.oneOf.0.cyber","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.13.response.access_programs.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.13.response.access_programs.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.13.response.access_programs","typeLabel":"object | null"},"created_at":{"type":"number","format":"unixtime","description":"Unix timestamp (in seconds) of when this Response was created.\n","isRequired":true,"uniqueKey":"oneOf.13.response.created_at","typeLabel":"number\u003cunixtime>"},"error":{"oneOf":[{"type":"object","description":"An error object returned when the model fails to generate a Response.\n","required":["code","message"],"properties":{"code":{"type":"string","description":"The error code for the response.\n","enum":["server_error","rate_limit_exceeded","invalid_prompt","data_residency_mismatch","bio_policy","misalignment_policy_violation","vector_store_timeout","invalid_image","invalid_image_format","invalid_base64_image","invalid_image_url","image_too_large","image_too_small","image_parse_error","image_content_policy_violation","invalid_image_mode","image_file_too_large","unsupported_image_media_type","empty_image_file","failed_to_download_image","image_file_not_found"],"isRequired":true,"uniqueKey":"oneOf.13.response.error.oneOf.0.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"A human-readable description of the error.\n","isRequired":true,"uniqueKey":"oneOf.13.response.error.oneOf.0.message","typeLabel":"string"},"type":{"oneOf":[{"type":"string","description":"The original error type, or null if it was not recorded.","uniqueKey":"oneOf.13.response.error.oneOf.0.type.oneOf.0","typeLabel":"string"},{"type":"null","description":"The original error type, or null if it was not recorded.","uniqueKey":"oneOf.13.response.error.oneOf.0.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.error.oneOf.0.type","typeLabel":"string | null"},"param":{"oneOf":[{"type":"string","description":"The request parameter associated with the error, or null if none was recorded.","uniqueKey":"oneOf.13.response.error.oneOf.0.param.oneOf.0","typeLabel":"string"},{"type":"null","description":"The request parameter associated with the error, or null if none was recorded.","uniqueKey":"oneOf.13.response.error.oneOf.0.param.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.error.oneOf.0.param","typeLabel":"string | null"},"misalignment":{"properties":{"review_target":{"oneOf":[{"type":"string","description":"An opaque target for explicitly continuing this review, or null when unavailable.","maxLength":96,"minLength":1,"pattern":"^[A-Za-z0-9._~:-]+$","uniqueKey":"oneOf.13.response.error.oneOf.0.misalignment.review_target.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.13.response.error.oneOf.0.misalignment.review_target.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.error.oneOf.0.misalignment.review_target","typeLabel":"string | null"},"error_type":{"oneOf":[{"type":"string","description":"An optional classification; clients must accept additional values.","uniqueKey":"oneOf.13.response.error.oneOf.0.misalignment.error_type.oneOf.0","typeLabel":"string"},{"type":"string","description":"An optional classification; clients must accept additional values.","enum":["potentially_unintended_data_transfer","potentially_unintended_data_access","potentially_unintended_destructive_activity","other"],"uniqueKey":"oneOf.13.response.error.oneOf.0.misalignment.error_type.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"oneOf.13.response.error.oneOf.0.misalignment.error_type","typeLabel":"string | enum\u003cstring>"},"detailed_explanation":{"type":"string","description":"The public explanation for this block.","uniqueKey":"oneOf.13.response.error.oneOf.0.misalignment.detailed_explanation","typeLabel":"string"},"steer":{"properties":{"message":{"type":"string","description":"The public continuation instruction.","isRequired":true,"uniqueKey":"oneOf.13.response.error.oneOf.0.misalignment.steer.message","typeLabel":"string"}},"type":"object","required":["message"],"description":"An optional public continuation instruction.","uniqueKey":"oneOf.13.response.error.oneOf.0.misalignment.steer","typeLabel":"object"}},"type":"object","required":[],"uniqueKey":"oneOf.13.response.error.oneOf.0.misalignment","typeLabel":"object"}},"isRequired":true,"uniqueKey":"oneOf.13.response.error.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.13.response.error.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.13.response.error","typeLabel":"object | null"},"incomplete_details":{"oneOf":[{"type":"object","description":"Details about why the response is incomplete.\n","properties":{"reason":{"type":"string","description":"The reason why the response is incomplete. `steered` means\nthe response stopped at a safe output boundary after a\nWebSocket `response.steer` event. The server can then create\na successor response automatically with the queued input.\n","enum":["max_output_tokens","max_messages","content_filter","steered"],"uniqueKey":"oneOf.13.response.incomplete_details.oneOf.0.reason","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.13.response.incomplete_details.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.13.response.incomplete_details.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.13.response.incomplete_details","typeLabel":"object | null"},"output":{"type":"array","description":"An array of content items generated by the model.\n\n- The length and order of items in the `output` array is dependent\n on the model's response.\n- Rather than accessing the first item in the `output` array and\n assuming it's an `assistant` message with the content generated by\n the model, you might consider using the `output_text` property where\n supported in SDKs.\n","items":{"oneOf":[{"type":"object","title":"Output message","description":"An output message from the model.\n","required":["id","type","role","content","status"],"properties":{"id":{"type":"string","description":"The unique ID of the output message.\n","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.id","typeLabel":"string"},"type":{"type":"string","description":"The type of the output message. Always `message`.\n","const":"message","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.type","typeLabel":"string"},"role":{"type":"string","description":"The role of the output message. Always `assistant`.\n","const":"assistant","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.role","typeLabel":"string"},"content":{"type":"array","description":"The content of the output message.\n","items":{"type":"any","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.content.items.[INDEX]","typeLabel":"any"},"isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.content","typeLabel":"any[]"},"status":{"type":"string","description":"The status of the message input. One of `in_progress`, `completed`, or\n`incomplete`. Populated when input items are returned via API.\n","enum":["in_progress","completed","incomplete"],"isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.status","typeLabel":"enum\u003cstring>"},"phase":{"type":"any","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0.phase","typeLabel":"any"}},"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.0","typeLabel":"Output message · object"},{"type":"object","title":"File search tool call","description":"The results of a file search tool call. See the\n[file search guide](https://developers.openai.com/api/docs/guides/tools-file-search) for more information.\n","required":["id","type","status","queries"],"properties":{"id":{"type":"string","description":"The unique ID of the file search tool call.\n","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.1.id","typeLabel":"string"},"type":{"type":"string","enum":["file_search_call"],"description":"The type of the file search tool call. Always `file_search_call`.\n","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"status":{"type":"string","description":"The status of the file search tool call. One of `in_progress`,\n`searching`, `incomplete` or `failed`,\n","enum":["in_progress","searching","completed","incomplete","failed"],"isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.1.status","typeLabel":"enum\u003cstring>"},"queries":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.1.queries.items.[INDEX]","typeLabel":"string"},"description":"The queries used to search for files.\n","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.1.queries","typeLabel":"string[]"},"results":{"type":"any","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.1.results","typeLabel":"any"}},"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.1","typeLabel":"File search tool call · object"},{"type":"object","title":"Function tool call","description":"A tool call to run a function. See the\n[function calling guide](https://developers.openai.com/api/docs/guides/function-calling) for more information.\n","required":["type","call_id","name","arguments"],"properties":{"type":{"type":"string","const":"function_call","description":"The type of the function tool call. Always `function_call`.\n","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.2.type","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the function tool call generated by the model.\n","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.2.call_id","typeLabel":"string"},"name":{"type":"string","description":"The name of the function to run.\n","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.2.name","typeLabel":"string"},"arguments":{"type":"string","description":"A JSON string of the arguments to pass to the function.\n","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.2.arguments","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the function tool call.\n","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.2.id","typeLabel":"string"},"caller":{"type":"any","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.2.caller","typeLabel":"any"},"namespace":{"type":"string","description":"The namespace of the function to run.\n","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.2.namespace","typeLabel":"string"},"status":{"type":"string","description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.2.status","typeLabel":"enum\u003cstring>"},"async":{"type":"boolean","description":"Whether the function tool call runs asynchronously.\n","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.2.async","typeLabel":"boolean"}},"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.2","typeLabel":"Function tool call · object"},{"type":"object","title":"Function tool call output","description":"The output of a function tool call.\n","required":["id","status","type","output"],"properties":{"id":{"type":"string","description":"The unique ID of the function call tool output.\n","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.3.id","typeLabel":"string"},"type":{"type":"string","const":"function_call_output","description":"The type of the function tool call output. Always `function_call_output`.\n","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.3.type","typeLabel":"string"},"output":{"type":"any","description":"The output from the function call generated by your code.\nCan be a string or an list of output content.\n","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.3.output","typeLabel":"any"},"status":{"type":"string","description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.3.status","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","description":"The unique ID of the function tool call generated by the model.\n","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.3.call_id","typeLabel":"string"},"name":{"type":"string","description":"The name of the tool that produced the output.\n","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.3.name","typeLabel":"string"},"namespace":{"type":"string","description":"The namespace of the tool that produced the output.\n","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.3.namespace","typeLabel":"string"},"caller":{"type":"any","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.3.caller","typeLabel":"any"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.\n","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.3.created_by","typeLabel":"string"}},"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.3","typeLabel":"Function tool call output · object"},{"type":"object","title":"Web search tool call","description":"The results of a web search tool call. See the\n[web search guide](https://developers.openai.com/api/docs/guides/tools-web-search) for more information.\n","required":["id","type","status"],"properties":{"id":{"type":"string","description":"The unique ID of the web search tool call.\n","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.4.id","typeLabel":"string"},"type":{"type":"string","const":"web_search_call","description":"The type of the web search tool call. Always `web_search_call`.\n","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.4.type","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","searching","completed","failed","incomplete"],"description":"The status of the web search tool call.\n","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.4.status","typeLabel":"enum\u003cstring>"},"action":{"type":"any","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.4.action","typeLabel":"any"}},"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.4","typeLabel":"Web search tool call · object"},{"type":"object","title":"Computer tool call","description":"A tool call to a computer use tool. See the\n[computer use guide](https://developers.openai.com/api/docs/guides/tools-computer-use) for more information.\n","required":["type","id","call_id","pending_safety_checks","status"],"properties":{"type":{"type":"string","description":"The type of the computer call. Always `computer_call`.","enum":["computer_call"],"default":"computer_call","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.5.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the computer call.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.5.id","typeLabel":"string"},"call_id":{"type":"string","description":"An identifier used when responding to the tool call with output.\n","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.5.call_id","typeLabel":"string"},"pending_safety_checks":{"type":"array","items":{"properties":{"id":{"type":"string","description":"The ID of the pending safety check.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.5.pending_safety_checks.items.[INDEX].id","typeLabel":"string"},"code":{"type":"any","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.5.pending_safety_checks.items.[INDEX].code","typeLabel":"any"},"message":{"type":"any","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.5.pending_safety_checks.items.[INDEX].message","typeLabel":"any"}},"type":"object","required":["id"],"description":"A pending safety check for the computer call.","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.5.pending_safety_checks.items.[INDEX]","typeLabel":"object"},"description":"The pending safety checks for the computer call.\n","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.5.pending_safety_checks","typeLabel":"object[]"},"status":{"type":"string","description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.5.status","typeLabel":"enum\u003cstring>"},"action":{"type":"any","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.5.action","typeLabel":"any"},"actions":{"title":"Computer Action List","type":"array","description":"Flattened batched actions for `computer_use`. Each action includes an\n`type` discriminator and action-specific fields.\n","items":{"type":"any","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.5.actions.items.[INDEX]","typeLabel":"any"},"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.5.actions","typeLabel":"any[]"}},"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.5","typeLabel":"Computer tool call · object"},{"type":"object","title":"Computer tool call output","description":"The output of a computer tool call.\n","required":["id","status","type","call_id","output"],"properties":{"type":{"type":"string","description":"The type of the computer tool call output. Always `computer_call_output`.\n","const":"computer_call_output","default":"computer_call_output","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.6.type","typeLabel":"string"},"id":{"type":"string","description":"The ID of the computer tool call output.\n","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.6.id","typeLabel":"string"},"call_id":{"type":"string","description":"The ID of the computer tool call that produced the output.\n","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.6.call_id","typeLabel":"string"},"output":{"type":"object","description":"A computer screenshot image used with the computer use tool.\n","properties":{"type":{"type":"string","const":"computer_screenshot","default":"computer_screenshot","description":"Specifies the event type. For a computer screenshot, this property is \nalways set to `computer_screenshot`.\n","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.6.output.type","typeLabel":"string"},"image_url":{"type":"string","format":"uri","description":"The URL of the screenshot image.","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.6.output.image_url","typeLabel":"string\u003curi>"},"file_id":{"type":"string","description":"The identifier of an uploaded file that contains the screenshot.","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.6.output.file_id","typeLabel":"string"}},"required":["type"],"isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.6.output","typeLabel":"object"},"status":{"type":"string","description":"The status of the message input. One of `in_progress`, `completed`, or\n`incomplete`. Populated when input items are returned via API.\n","enum":["completed","incomplete"],"isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.6.status","typeLabel":"enum\u003cstring>"},"acknowledged_safety_checks":{"type":"array","description":"The safety checks reported by the API that have been acknowledged by the\ndeveloper.\n","items":{"properties":{"id":{"type":"string","description":"The ID of the pending safety check.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.6.acknowledged_safety_checks.items.[INDEX].id","typeLabel":"string"},"code":{"type":"any","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.6.acknowledged_safety_checks.items.[INDEX].code","typeLabel":"any"},"message":{"type":"any","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.6.acknowledged_safety_checks.items.[INDEX].message","typeLabel":"any"}},"type":"object","required":["id"],"description":"A pending safety check for the computer call.","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.6.acknowledged_safety_checks.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.6.acknowledged_safety_checks","typeLabel":"object[]"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.\n","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.6.created_by","typeLabel":"string"}},"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.6","typeLabel":"Computer tool call output · object"},{"type":"object","title":"Reasoning","description":"A description of the chain of thought used by a reasoning model while generating\na response. Be sure to include these items in your `input` to the Responses API\nfor subsequent turns of a conversation if you are manually\n[managing context](https://developers.openai.com/api/docs/guides/conversation-state).\n","required":["id","summary","type"],"properties":{"type":{"type":"string","description":"The type of the object. Always `reasoning`.\n","enum":["reasoning"],"isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.7.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique identifier of the reasoning content.\n","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.7.id","typeLabel":"string"},"summary":{"type":"array","description":"Reasoning summary content.\n","items":{"properties":{"type":{"type":"string","enum":["summary_text"],"description":"The type of the object. Always `summary_text`.","default":"summary_text","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.7.summary.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"A summary of the reasoning output from the model so far.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.7.summary.items.[INDEX].text","typeLabel":"string"}},"type":"object","required":["type","text"],"title":"Summary text","description":"A summary text from the model.","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.7.summary.items.[INDEX]","typeLabel":"Summary text · object"},"isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.7.summary","typeLabel":"Summary text · object[]"},"encrypted_content":{"type":"any","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.7.encrypted_content","typeLabel":"any"},"content":{"type":"array","description":"Reasoning text content.\n","items":{"properties":{"type":{"type":"string","enum":["reasoning_text"],"description":"The type of the reasoning text. Always `reasoning_text`.","default":"reasoning_text","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.7.content.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"The reasoning text from the model.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.7.content.items.[INDEX].text","typeLabel":"string"}},"type":"object","required":["type","text"],"title":"Reasoning text","description":"Reasoning text from the model.","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.7.content.items.[INDEX]","typeLabel":"Reasoning text · object"},"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.7.content","typeLabel":"Reasoning text · object[]"},"status":{"type":"string","description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.7.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.7","typeLabel":"Reasoning · object"},{"type":"object","required":["type","id","call_id","code","fingerprint"],"properties":{"type":{"type":"string","enum":["program"],"description":"The type of the item. Always `program`.","default":"program","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.8.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the program item.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.8.id","typeLabel":"string"},"call_id":{"type":"string","description":"The stable call ID of the program item.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.8.call_id","typeLabel":"string"},"code":{"type":"string","description":"The JavaScript source executed by programmatic tool calling.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.8.code","typeLabel":"string"},"fingerprint":{"type":"string","description":"Opaque program replay fingerprint that must be round-tripped.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.8.fingerprint","typeLabel":"string"}},"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.8","typeLabel":"object"},{"type":"object","required":["type","id","call_id","result","status"],"properties":{"type":{"type":"string","enum":["program_output"],"description":"The type of the item. Always `program_output`.","default":"program_output","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.9.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the program output item.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.9.id","typeLabel":"string"},"call_id":{"type":"string","description":"The call ID of the program item.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.9.call_id","typeLabel":"string"},"result":{"type":"string","description":"The result produced by the program item.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.9.result","typeLabel":"string"},"status":{"type":"string","enum":["completed","incomplete"],"description":"The terminal status of the program output item.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.9.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.9","typeLabel":"object"},{"type":"object","required":["type","id","call_id","execution","arguments","status"],"properties":{"type":{"type":"string","enum":["tool_search_call"],"description":"The type of the item. Always `tool_search_call`.","default":"tool_search_call","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.10.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the tool search call item.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.10.id","typeLabel":"string"},"call_id":{"type":"any","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.10.call_id","typeLabel":"any"},"execution":{"type":"string","enum":["server","client"],"description":"Whether tool search was executed by the server or by the client.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.10.execution","typeLabel":"enum\u003cstring>"},"arguments":{"description":"Arguments used for the tool search call.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.10.arguments","typeLabel":"any"},"status":{"type":"string","enum":["in_progress","completed","incomplete"],"description":"The status of the tool search call item that was recorded.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.10.status","typeLabel":"enum\u003cstring>"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.10.created_by","typeLabel":"string"}},"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.10","typeLabel":"object"},{"type":"object","required":["type","id","call_id","execution","tools","status"],"properties":{"type":{"type":"string","enum":["tool_search_output"],"description":"The type of the item. Always `tool_search_output`.","default":"tool_search_output","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.11.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the tool search output item.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.11.id","typeLabel":"string"},"call_id":{"type":"any","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.11.call_id","typeLabel":"any"},"execution":{"type":"string","enum":["server","client"],"description":"Whether tool search was executed by the server or by the client.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.11.execution","typeLabel":"enum\u003cstring>"},"tools":{"items":{"type":"any","description":"A tool that can be used to generate a response.\n","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.11.tools.items.[INDEX]","typeLabel":"any"},"type":"array","description":"The loaded tool definitions returned by tool search.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.11.tools","typeLabel":"any[]"},"status":{"type":"string","enum":["in_progress","completed","incomplete"],"description":"The status of the tool search output item that was recorded.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.11.status","typeLabel":"enum\u003cstring>"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.11.created_by","typeLabel":"string"}},"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.11","typeLabel":"object"},{"type":"object","required":["type","id","role","tools"],"properties":{"type":{"type":"string","enum":["additional_tools"],"description":"The type of the item. Always `additional_tools`.","default":"additional_tools","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.12.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the additional tools item.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.12.id","typeLabel":"string"},"role":{"type":"string","enum":["unknown","user","assistant","system","critic","discriminator","developer","tool"],"description":"The role that provided the additional tools.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.12.role","typeLabel":"enum\u003cstring>"},"tools":{"items":{"type":"any","description":"A tool that can be used to generate a response.\n","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.12.tools.items.[INDEX]","typeLabel":"any"},"type":"array","description":"The additional tool definitions made available at this item.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.12.tools","typeLabel":"any[]"}},"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.12","typeLabel":"object"},{"type":"object","title":"Compaction item","description":"A compaction item generated by the [`v1/responses/compact` API](https://developers.openai.com/api/reference/resources/responses/methods/compact).","required":["type","id","encrypted_content"],"properties":{"type":{"type":"string","enum":["compaction"],"description":"The type of the item. Always `compaction`.","default":"compaction","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.13.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the compaction item.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.13.id","typeLabel":"string"},"encrypted_content":{"type":"string","description":"The encrypted content that was produced by compaction.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.13.encrypted_content","typeLabel":"string"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.13.created_by","typeLabel":"string"}},"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.13","typeLabel":"Compaction item · object"},{"type":"object","title":"Image generation call","description":"An image generation request made by the model.","required":["type","id","status","result"],"properties":{"type":{"type":"string","enum":["image_generation_call"],"description":"The type of the image generation call. Always `image_generation_call`.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.14.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the image generation call.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.14.id","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","completed","generating","failed"],"description":"The status of the image generation call.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.14.status","typeLabel":"enum\u003cstring>"},"result":{"type":"any","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.14.result","typeLabel":"any"},"error":{"properties":{"code":{"type":"any","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.14.error.code","typeLabel":"any"},"type":{"type":"string","description":"The error type.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.14.error.type","typeLabel":"string"},"message":{"type":"string","description":"A description of the error.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.14.error.message","typeLabel":"string"},"param":{"type":"any","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.14.error.param","typeLabel":"any"},"moderation_details":{"properties":{"moderation_stage":{"type":"string","enum":["input","output","unknown"],"description":"The stage where moderation blocked the image generation call.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.14.error.moderation_details.moderation_stage","typeLabel":"enum\u003cstring>"},"categories":{"items":{"type":"string","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.14.error.moderation_details.categories.items.[INDEX]","typeLabel":"string"},"type":"array","description":"Public moderation categories. New category values may be added over time.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.14.error.moderation_details.categories","typeLabel":"string[]"}},"type":"object","required":["moderation_stage","categories"],"description":"Public details for a `moderation_blocked` error, when available.","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.14.error.moderation_details","typeLabel":"object"}},"type":"object","required":["code","type","message","param"],"description":"Details of a moderation failure, when available.","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.14.error","typeLabel":"object"},"size":{"type":"any","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.14.size","typeLabel":"any"},"quality":{"type":"any","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.14.quality","typeLabel":"any"},"action":{"type":"any","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.14.action","typeLabel":"any"},"background":{"type":"any","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.14.background","typeLabel":"any"},"output_format":{"type":"any","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.14.output_format","typeLabel":"any"},"svg_usage":{"properties":{"model":{"type":"string","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.14.svg_usage.model","typeLabel":"string"},"input_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.14.svg_usage.input_tokens","typeLabel":"integer"},"output_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.14.svg_usage.output_tokens","typeLabel":"integer"},"total_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.14.svg_usage.total_tokens","typeLabel":"integer"},"reasoning_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.14.svg_usage.reasoning_tokens","typeLabel":"integer"}},"type":"object","required":["model","input_tokens","output_tokens","total_tokens","reasoning_tokens"],"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.14.svg_usage","typeLabel":"object"},"revised_prompt":{"type":"any","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.14.revised_prompt","typeLabel":"any"}},"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.14","typeLabel":"Image generation call · object"},{"type":"object","title":"Code interpreter tool call","description":"A tool call to run code.\n","required":["type","id","status","container_id","code","outputs"],"properties":{"type":{"type":"string","enum":["code_interpreter_call"],"default":"code_interpreter_call","description":"The type of the code interpreter tool call. Always `code_interpreter_call`.\n","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.15.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the code interpreter tool call.\n","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.15.id","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","completed","incomplete","interpreting","failed"],"description":"The status of the code interpreter tool call. Valid values are `in_progress`, `completed`, `incomplete`, `interpreting`, and `failed`.\n","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.15.status","typeLabel":"enum\u003cstring>"},"container_id":{"type":"string","description":"The ID of the container used to run the code.\n","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.15.container_id","typeLabel":"string"},"code":{"type":"any","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.15.code","typeLabel":"any"},"outputs":{"type":"any","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.15.outputs","typeLabel":"any"}},"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.15","typeLabel":"Code interpreter tool call · object"},{"type":"object","title":"Local shell call","description":"A tool call to run a command on the local shell.\n","required":["type","id","call_id","action","status"],"properties":{"type":{"type":"string","enum":["local_shell_call"],"description":"The type of the local shell call. Always `local_shell_call`.\n","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.16.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the local shell call.\n","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.16.id","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the local shell tool call generated by the model.\n","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.16.call_id","typeLabel":"string"},"action":{"properties":{"type":{"type":"string","enum":["exec"],"description":"The type of the local shell action. Always `exec`.","default":"exec","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.16.action.type","typeLabel":"enum\u003cstring>"},"command":{"items":{"type":"string","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.16.action.command.items.[INDEX]","typeLabel":"string"},"type":"array","description":"The command to run.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.16.action.command","typeLabel":"string[]"},"env":{"additionalProperties":{"type":"string","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.16.action.env.additionalProperties","typeLabel":"string"},"type":"object","description":"Environment variables to set for the command.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.16.action.env","typeLabel":"object"},"timeout_ms":{"type":"any","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.16.action.timeout_ms","typeLabel":"any"},"working_directory":{"type":"any","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.16.action.working_directory","typeLabel":"any"},"user":{"type":"any","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.16.action.user","typeLabel":"any"}},"type":"object","required":["type","command","env"],"title":"Local shell exec action","description":"Execute a shell command on the server.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.16.action","typeLabel":"Local shell exec action · object"},"status":{"type":"string","enum":["in_progress","completed","incomplete"],"description":"The status of the local shell call.\n","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.16.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.16","typeLabel":"Local shell call · object"},{"type":"object","title":"Local shell call output","description":"The output of a local shell tool call.\n","required":["id","type","call_id","output"],"properties":{"type":{"type":"string","enum":["local_shell_call_output"],"description":"The type of the local shell tool call output. Always `local_shell_call_output`.\n","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.17.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the local shell tool call generated by the model.\n","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.17.id","typeLabel":"string"},"output":{"type":"string","description":"A JSON string of the output of the local shell tool call.\n","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.17.output","typeLabel":"string"},"status":{"type":"any","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.17.status","typeLabel":"any"}},"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.17","typeLabel":"Local shell call output · object"},{"type":"object","title":"Shell tool call","description":"A tool call that executes one or more shell commands in a managed environment.","required":["type","id","call_id","action","status","environment"],"properties":{"type":{"type":"string","enum":["shell_call"],"description":"The type of the item. Always `shell_call`.","default":"shell_call","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.18.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the shell tool call. Populated when this item is returned via API.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.18.id","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the shell tool call generated by the model.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.18.call_id","typeLabel":"string"},"action":{"properties":{"commands":{"items":{"type":"string","description":"A list of commands to run.","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.18.action.commands.items.[INDEX]","typeLabel":"string"},"type":"array","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.18.action.commands","typeLabel":"string[]"},"timeout_ms":{"type":"any","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.18.action.timeout_ms","typeLabel":"any"},"max_output_length":{"type":"any","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.18.action.max_output_length","typeLabel":"any"}},"type":"object","required":["commands","timeout_ms","max_output_length"],"title":"Shell exec action","description":"The shell commands and limits that describe how to run the tool call.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.18.action","typeLabel":"Shell exec action · object"},"status":{"type":"string","enum":["in_progress","completed","incomplete"],"description":"The status of the shell call. One of `in_progress`, `completed`, or `incomplete`.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.18.status","typeLabel":"enum\u003cstring>"},"environment":{"type":"any","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.18.environment","typeLabel":"any"},"caller":{"type":"any","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.18.caller","typeLabel":"any"},"created_by":{"type":"string","description":"The ID of the entity that created this tool call.","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.18.created_by","typeLabel":"string"}},"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.18","typeLabel":"Shell tool call · object"},{"type":"object","title":"Shell call output","description":"The output of a shell tool call that was emitted.","required":["type","id","call_id","status","output","max_output_length"],"properties":{"type":{"type":"string","enum":["shell_call_output"],"description":"The type of the shell call output. Always `shell_call_output`.","default":"shell_call_output","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.19.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the shell call output. Populated when this item is returned via API.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.19.id","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the shell tool call generated by the model.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.19.call_id","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","completed","incomplete"],"description":"The status of the shell call output. One of `in_progress`, `completed`, or `incomplete`.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.19.status","typeLabel":"enum\u003cstring>"},"output":{"items":{"properties":{"stdout":{"type":"string","description":"The standard output that was captured.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.19.output.items.[INDEX].stdout","typeLabel":"string"},"stderr":{"type":"string","description":"The standard error output that was captured.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.19.output.items.[INDEX].stderr","typeLabel":"string"},"outcome":{"type":"any","title":"Shell call outcome","description":"Represents either an exit outcome (with an exit code) or a timeout outcome for a shell call output chunk.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.19.output.items.[INDEX].outcome","typeLabel":"any"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.19.output.items.[INDEX].created_by","typeLabel":"string"}},"type":"object","required":["stdout","stderr","outcome"],"title":"Shell call output content","description":"The content of a shell tool call output that was emitted.","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.19.output.items.[INDEX]","typeLabel":"Shell call output content · object"},"type":"array","description":"An array of shell call output contents","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.19.output","typeLabel":"Shell call output content · object[]"},"max_output_length":{"type":"any","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.19.max_output_length","typeLabel":"any"},"caller":{"type":"any","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.19.caller","typeLabel":"any"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.19.created_by","typeLabel":"string"}},"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.19","typeLabel":"Shell call output · object"},{"type":"object","title":"Apply patch tool call","description":"A tool call that applies file diffs by creating, deleting, or updating files.","required":["type","id","call_id","status","operation"],"properties":{"type":{"type":"string","enum":["apply_patch_call"],"description":"The type of the item. Always `apply_patch_call`.","default":"apply_patch_call","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.20.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the apply patch tool call. Populated when this item is returned via API.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.20.id","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the apply patch tool call generated by the model.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.20.call_id","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","completed"],"description":"The status of the apply patch tool call. One of `in_progress` or `completed`.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.20.status","typeLabel":"enum\u003cstring>"},"operation":{"type":"any","title":"Apply patch operation","description":"One of the create_file, delete_file, or update_file operations applied via apply_patch.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.20.operation","typeLabel":"any"},"caller":{"type":"any","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.20.caller","typeLabel":"any"},"created_by":{"type":"string","description":"The ID of the entity that created this tool call.","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.20.created_by","typeLabel":"string"}},"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.20","typeLabel":"Apply patch tool call · object"},{"type":"object","title":"Apply patch tool call output","description":"The output emitted by an apply patch tool call.","required":["type","id","call_id","status"],"properties":{"type":{"type":"string","enum":["apply_patch_call_output"],"description":"The type of the item. Always `apply_patch_call_output`.","default":"apply_patch_call_output","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.21.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the apply patch tool call output. Populated when this item is returned via API.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.21.id","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the apply patch tool call generated by the model.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.21.call_id","typeLabel":"string"},"status":{"type":"string","enum":["completed","failed"],"description":"The status of the apply patch tool call output. One of `completed` or `failed`.","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.21.status","typeLabel":"enum\u003cstring>"},"caller":{"type":"any","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.21.caller","typeLabel":"any"},"output":{"type":"any","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.21.output","typeLabel":"any"},"created_by":{"type":"string","description":"The ID of the entity that created this tool call output.","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.21.created_by","typeLabel":"string"}},"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.21","typeLabel":"Apply patch tool call output · object"},{"type":"object","title":"MCP tool call","description":"An invocation of a tool on an MCP server.\n","required":["type","id","server_label","name","arguments"],"properties":{"type":{"type":"string","const":"mcp_call","description":"The type of the item. Always `mcp_call`.\n","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.22.type","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the tool call.\n","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.22.id","typeLabel":"string"},"server_label":{"type":"string","description":"The label of the MCP server running the tool.\n","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.22.server_label","typeLabel":"string"},"name":{"type":"string","description":"The name of the tool that was run.\n","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.22.name","typeLabel":"string"},"arguments":{"type":"string","description":"A JSON string of the arguments passed to the tool.\n","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.22.arguments","typeLabel":"string"},"output":{"type":"any","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.22.output","typeLabel":"any"},"error":{"type":"any","description":"The error from the tool call, if any.","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.22.error","typeLabel":"any"},"status":{"type":"string","enum":["in_progress","completed","incomplete","calling","failed"],"description":"The status of the tool call. One of `in_progress`, `completed`, `incomplete`, `calling`, or `failed`.\n","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.22.status","typeLabel":"enum\u003cstring>"},"approval_request_id":{"type":"any","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.22.approval_request_id","typeLabel":"any"}},"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.22","typeLabel":"MCP tool call · object"},{"type":"object","title":"MCP list tools","description":"A list of tools available on an MCP server.\n","required":["type","id","server_label","tools"],"properties":{"type":{"type":"string","const":"mcp_list_tools","description":"The type of the item. Always `mcp_list_tools`.\n","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.23.type","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the list.\n","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.23.id","typeLabel":"string"},"server_label":{"type":"string","description":"The label of the MCP server.\n","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.23.server_label","typeLabel":"string"},"tools":{"type":"array","items":{"type":"object","title":"MCP list tools tool","description":"A tool available on an MCP server.\n","properties":{"name":{"type":"string","description":"The name of the tool.\n","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.23.tools.items.[INDEX].name","typeLabel":"string"},"input_schema":{"type":"object","description":"The JSON schema describing the tool's input.\n","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.23.tools.items.[INDEX].input_schema","typeLabel":"object"},"description":{"type":"any","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.23.tools.items.[INDEX].description","typeLabel":"any"},"annotations":{"type":"any","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.23.tools.items.[INDEX].annotations","typeLabel":"any"}},"required":["name","input_schema"],"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.23.tools.items.[INDEX]","typeLabel":"MCP list tools tool · object"},"description":"The tools available on the server.\n","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.23.tools","typeLabel":"MCP list tools tool · object[]"},"error":{"type":"any","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.23.error","typeLabel":"any"}},"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.23","typeLabel":"MCP list tools · object"},{"type":"object","title":"MCP approval request","description":"A request for human approval of a tool invocation.\n","required":["type","id","server_label","name","arguments"],"properties":{"type":{"type":"string","const":"mcp_approval_request","description":"The type of the item. Always `mcp_approval_request`.\n","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.24.type","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the approval request.\n","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.24.id","typeLabel":"string"},"server_label":{"type":"string","description":"The label of the MCP server making the request.\n","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.24.server_label","typeLabel":"string"},"name":{"type":"string","description":"The name of the tool to run.\n","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.24.name","typeLabel":"string"},"arguments":{"type":"string","description":"A JSON string of arguments for the tool.\n","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.24.arguments","typeLabel":"string"}},"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.24","typeLabel":"MCP approval request · object"},{"type":"object","title":"MCP approval response","description":"A response to an MCP approval request.\n","required":["type","id","request_id","approve","approval_request_id"],"properties":{"type":{"type":"string","const":"mcp_approval_response","description":"The type of the item. Always `mcp_approval_response`.\n","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.25.type","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the approval response\n","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.25.id","typeLabel":"string"},"approval_request_id":{"type":"string","description":"The ID of the approval request being answered.\n","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.25.approval_request_id","typeLabel":"string"},"approve":{"type":"boolean","description":"Whether the request was approved.\n","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.25.approve","typeLabel":"boolean"},"reason":{"type":"any","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.25.reason","typeLabel":"any"}},"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.25","typeLabel":"MCP approval response · object"},{"type":"object","title":"Custom tool call","description":"A call to a custom tool created by the model.\n","required":["type","call_id","name","input"],"properties":{"type":{"type":"string","enum":["custom_tool_call"],"description":"The type of the custom tool call. Always `custom_tool_call`.\n","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.26.type","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","description":"An identifier used to map this custom tool call to a tool call output.\n","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.26.call_id","typeLabel":"string"},"name":{"type":"string","description":"The name of the custom tool being called.\n","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.26.name","typeLabel":"string"},"input":{"type":"string","description":"The input for the custom tool call generated by the model.\n","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.26.input","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the custom tool call in the OpenAI platform.\n","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.26.id","typeLabel":"string"},"caller":{"type":"any","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.26.caller","typeLabel":"any"},"namespace":{"type":"string","description":"The namespace of the custom tool being called.\n","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.26.namespace","typeLabel":"string"},"async":{"type":"boolean","description":"Whether the custom tool call runs asynchronously.\n","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.26.async","typeLabel":"boolean"}},"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.26","typeLabel":"Custom tool call · object"},{"type":"object","title":"ResponseCustomToolCallOutputItem","description":"The output of a custom tool call from your code, being sent back to the model.\n","required":["id","status","type","call_id","output"],"properties":{"type":{"type":"string","enum":["custom_tool_call_output"],"description":"The type of the custom tool call output. Always `custom_tool_call_output`.\n","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.27.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the custom tool call output item.\n","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.27.id","typeLabel":"string"},"call_id":{"type":"string","description":"The call ID, used to map this custom tool call output to a custom tool call.\n","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.27.call_id","typeLabel":"string"},"output":{"type":"any","description":"The output from the custom tool call generated by your code.\nCan be a string or an list of output content.\n","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.27.output","typeLabel":"any"},"status":{"type":"string","enum":["in_progress","completed","incomplete"],"description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","isRequired":true,"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.27.status","typeLabel":"enum\u003cstring>"},"caller":{"type":"any","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.27.caller","typeLabel":"any"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.\n","uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.27.created_by","typeLabel":"string"}},"uniqueKey":"oneOf.13.response.output.items.[INDEX].oneOf.27","typeLabel":"ResponseCustomToolCallOutputItem · object"}],"uniqueKey":"oneOf.13.response.output.items.[INDEX]","typeLabel":"Output message · object · File search tool call · object · Function tool call · object · Function tool call output · object · Web search tool call · object · Computer tool call · object · Computer tool call output · object · Reasoning · object · object · object · object · object · object · Compaction item · object · Image generation call · object · Code interpreter tool call · object · Local shell call · object · Local shell call output · object · Shell tool call · object · Shell call output · object · Apply patch tool call · object · Apply patch tool call output · object · MCP tool call · object · MCP list tools · object · MCP approval request · object · MCP approval response · object · Custom tool call · object · ResponseCustomToolCallOutputItem · object"},"isRequired":true,"uniqueKey":"oneOf.13.response.output","typeLabel":"Output message · object · File search tool call · object · Function tool call · object · Function tool call output · object · Web search tool call · object · Computer tool call · object · Computer tool call output · object · Reasoning · object · object · object · object · object · object · Compaction item · object · Image generation call · object · Code interpreter tool call · object · Local shell call · object · Local shell call output · object · Shell tool call · object · Shell call output · object · Apply patch tool call · object · Apply patch tool call output · object · MCP tool call · object · MCP list tools · object · MCP approval request · object · MCP approval response · object · Custom tool call · object · ResponseCustomToolCallOutputItem · object[]"},"instructions":{"oneOf":[{"type":"string","description":"A system (or developer) message inserted into the model's context.\n\nWhen using along with `previous_response_id`, the instructions from a previous\nresponse will not be carried over to the next response. This makes it simple\nto swap out system (or developer) messages in new responses.\n","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.0","typeLabel":"string"},{"type":"array","items":{"oneOf":[{"type":"object","title":"Input message","description":"A message input to the model with a role indicating instruction following\nhierarchy. Instructions given with the `developer` or `system` role take\nprecedence over instructions given with the `user` role. Messages with the\n`assistant` role are presumed to have been generated by the model in previous\ninteractions.\n","required":["role","content"],"properties":{"role":{"type":"string","description":"The role of the message input. One of `user`, `assistant`, `system`, or\n`developer`.\n","enum":["user","assistant","system","developer"],"isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.0.role","typeLabel":"enum\u003cstring>"},"content":{"type":"any","description":"Text, image, or audio input to the model, used to generate a response.\nCan also contain previous assistant responses.\n","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.0.content","typeLabel":"any"},"phase":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.0.phase","typeLabel":"any"},"type":{"type":"string","description":"The type of the message input. Always `message`.\n","enum":["message"],"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.0","typeLabel":"Input message · object"},{"type":"object","title":"Input message","description":"A message input to the model with a role indicating instruction following\nhierarchy. Instructions given with the `developer` or `system` role take\nprecedence over instructions given with the `user` role.\n","required":["role","content"],"properties":{"role":{"type":"string","description":"The role of the message input. One of `user`, `system`, or `developer`.\n","enum":["user","system","developer"],"isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.1.role","typeLabel":"enum\u003cstring>"},"content":{"type":"array","title":"Input item content list","description":"A list of one or many input items to the model, containing different content \ntypes.\n","items":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.1.content.items.[INDEX]","typeLabel":"any"},"isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.1.content","typeLabel":"any[]"},"type":{"type":"string","description":"The type of the message input. Always set to `message`.\n","const":"message","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.1.type","typeLabel":"string"},"status":{"type":"string","description":"The status of item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.1.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.1","typeLabel":"Input message · object"},{"type":"object","title":"Output message","description":"An output message from the model.\n","required":["id","type","role","content","status"],"properties":{"id":{"type":"string","description":"The unique ID of the output message.\n","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.2.id","typeLabel":"string"},"type":{"type":"string","description":"The type of the output message. Always `message`.\n","const":"message","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.2.type","typeLabel":"string"},"role":{"type":"string","description":"The role of the output message. Always `assistant`.\n","const":"assistant","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.2.role","typeLabel":"string"},"content":{"type":"array","description":"The content of the output message.\n","items":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.2.content.items.[INDEX]","typeLabel":"any"},"isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.2.content","typeLabel":"any[]"},"status":{"type":"string","description":"The status of the message input. One of `in_progress`, `completed`, or\n`incomplete`. Populated when input items are returned via API.\n","enum":["in_progress","completed","incomplete"],"isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.2.status","typeLabel":"enum\u003cstring>"},"phase":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.2.phase","typeLabel":"any"}},"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.2","typeLabel":"Output message · object"},{"type":"object","title":"File search tool call","description":"The results of a file search tool call. See the\n[file search guide](https://developers.openai.com/api/docs/guides/tools-file-search) for more information.\n","required":["id","type","status","queries"],"properties":{"id":{"type":"string","description":"The unique ID of the file search tool call.\n","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.3.id","typeLabel":"string"},"type":{"type":"string","enum":["file_search_call"],"description":"The type of the file search tool call. Always `file_search_call`.\n","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"status":{"type":"string","description":"The status of the file search tool call. One of `in_progress`,\n`searching`, `incomplete` or `failed`,\n","enum":["in_progress","searching","completed","incomplete","failed"],"isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.3.status","typeLabel":"enum\u003cstring>"},"queries":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.3.queries.items.[INDEX]","typeLabel":"string"},"description":"The queries used to search for files.\n","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.3.queries","typeLabel":"string[]"},"results":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.3.results","typeLabel":"any"}},"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.3","typeLabel":"File search tool call · object"},{"type":"object","title":"Computer tool call","description":"A tool call to a computer use tool. See the\n[computer use guide](https://developers.openai.com/api/docs/guides/tools-computer-use) for more information.\n","required":["type","id","call_id","pending_safety_checks","status"],"properties":{"type":{"type":"string","description":"The type of the computer call. Always `computer_call`.","enum":["computer_call"],"default":"computer_call","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.4.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the computer call.","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.4.id","typeLabel":"string"},"call_id":{"type":"string","description":"An identifier used when responding to the tool call with output.\n","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.4.call_id","typeLabel":"string"},"pending_safety_checks":{"type":"array","items":{"properties":{"id":{"type":"string","description":"The ID of the pending safety check.","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.4.pending_safety_checks.items.[INDEX].id","typeLabel":"string"},"code":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.4.pending_safety_checks.items.[INDEX].code","typeLabel":"any"},"message":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.4.pending_safety_checks.items.[INDEX].message","typeLabel":"any"}},"type":"object","required":["id"],"description":"A pending safety check for the computer call.","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.4.pending_safety_checks.items.[INDEX]","typeLabel":"object"},"description":"The pending safety checks for the computer call.\n","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.4.pending_safety_checks","typeLabel":"object[]"},"status":{"type":"string","description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.4.status","typeLabel":"enum\u003cstring>"},"action":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.4.action","typeLabel":"any"},"actions":{"title":"Computer Action List","type":"array","description":"Flattened batched actions for `computer_use`. Each action includes an\n`type` discriminator and action-specific fields.\n","items":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.4.actions.items.[INDEX]","typeLabel":"any"},"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.4.actions","typeLabel":"any[]"}},"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.4","typeLabel":"Computer tool call · object"},{"type":"object","title":"Computer tool call output","description":"The output of a computer tool call.","required":["call_id","type","output"],"properties":{"call_id":{"type":"string","maxLength":64,"minLength":1,"description":"The ID of the computer tool call that produced the output.","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.5.call_id","typeLabel":"string"},"type":{"type":"string","enum":["computer_call_output"],"description":"The type of the computer tool call output. Always `computer_call_output`.","default":"computer_call_output","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.5.type","typeLabel":"enum\u003cstring>"},"output":{"type":"object","description":"A computer screenshot image used with the computer use tool.\n","properties":{"type":{"type":"string","const":"computer_screenshot","default":"computer_screenshot","description":"Specifies the event type. For a computer screenshot, this property is \nalways set to `computer_screenshot`.\n","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.5.output.type","typeLabel":"string"},"image_url":{"type":"string","format":"uri","description":"The URL of the screenshot image.","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.5.output.image_url","typeLabel":"string\u003curi>"},"file_id":{"type":"string","description":"The identifier of an uploaded file that contains the screenshot.","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.5.output.file_id","typeLabel":"string"}},"required":["type"],"isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.5.output","typeLabel":"object"},"id":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.5.id","typeLabel":"any"},"acknowledged_safety_checks":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.5.acknowledged_safety_checks","typeLabel":"any"},"status":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.5.status","typeLabel":"any"}},"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.5","typeLabel":"Computer tool call output · object"},{"type":"object","title":"Web search tool call","description":"The results of a web search tool call. See the\n[web search guide](https://developers.openai.com/api/docs/guides/tools-web-search) for more information.\n","required":["id","type","status"],"properties":{"id":{"type":"string","description":"The unique ID of the web search tool call.\n","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.6.id","typeLabel":"string"},"type":{"type":"string","const":"web_search_call","description":"The type of the web search tool call. Always `web_search_call`.\n","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.6.type","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","searching","completed","failed","incomplete"],"description":"The status of the web search tool call.\n","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.6.status","typeLabel":"enum\u003cstring>"},"action":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.6.action","typeLabel":"any"}},"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.6","typeLabel":"Web search tool call · object"},{"type":"object","title":"Function tool call","description":"A tool call to run a function. See the\n[function calling guide](https://developers.openai.com/api/docs/guides/function-calling) for more information.\n","required":["type","call_id","name","arguments"],"properties":{"type":{"type":"string","const":"function_call","description":"The type of the function tool call. Always `function_call`.\n","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.7.type","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the function tool call generated by the model.\n","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.7.call_id","typeLabel":"string"},"name":{"type":"string","description":"The name of the function to run.\n","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.7.name","typeLabel":"string"},"arguments":{"type":"string","description":"A JSON string of the arguments to pass to the function.\n","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.7.arguments","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the function tool call.\n","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.7.id","typeLabel":"string"},"caller":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.7.caller","typeLabel":"any"},"namespace":{"type":"string","description":"The namespace of the function to run.\n","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.7.namespace","typeLabel":"string"},"status":{"type":"string","description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.7.status","typeLabel":"enum\u003cstring>"},"async":{"type":"boolean","description":"Whether the function tool call runs asynchronously.\n","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.7.async","typeLabel":"boolean"}},"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.7","typeLabel":"Function tool call · object"},{"type":"object","title":"Function tool call output","description":"The output of a function tool call.","required":["type","output"],"properties":{"type":{"type":"string","enum":["function_call_output"],"description":"The type of the function tool call output. Always `function_call_output`.","default":"function_call_output","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.8.type","typeLabel":"enum\u003cstring>"},"output":{"type":"any","description":"Text, image, or file output of the function tool call.","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.8.output","typeLabel":"any"},"id":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.8.id","typeLabel":"any"},"call_id":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.8.call_id","typeLabel":"any"},"name":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.8.name","typeLabel":"any"},"namespace":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.8.namespace","typeLabel":"any"},"caller":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.8.caller","typeLabel":"any"},"status":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.8.status","typeLabel":"any"}},"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.8","typeLabel":"Function tool call output · object"},{"type":"object","title":"Item","description":"An item representing part of the context for the response to be\ngenerated by the model. Can contain text, images, and audio inputs,\nas well as previous assistant responses and tool call outputs.\n","required":["type","arguments"],"properties":{"type":{"type":"string","enum":["tool_search_call"],"description":"The item type. Always `tool_search_call`.","default":"tool_search_call","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.9.type","typeLabel":"enum\u003cstring>"},"arguments":{"properties":{},"type":"object","required":[],"description":"The arguments supplied to the tool search call.","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.9.arguments","typeLabel":"object"},"id":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.9.id","typeLabel":"any"},"call_id":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.9.call_id","typeLabel":"any"},"execution":{"type":"string","enum":["server","client"],"description":"Whether tool search was executed by the server or by the client.","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.9.execution","typeLabel":"enum\u003cstring>"},"status":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.9.status","typeLabel":"any"}},"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.9","typeLabel":"Item · object"},{"type":"object","title":"Item","description":"An item representing part of the context for the response to be\ngenerated by the model. Can contain text, images, and audio inputs,\nas well as previous assistant responses and tool call outputs.\n","required":["type","tools"],"properties":{"type":{"type":"string","enum":["tool_search_output"],"description":"The item type. Always `tool_search_output`.","default":"tool_search_output","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.10.type","typeLabel":"enum\u003cstring>"},"tools":{"items":{"type":"any","description":"A tool definition returned by a tool search output.\n","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.10.tools.items.[INDEX]","typeLabel":"any"},"type":"array","description":"The loaded tool definitions returned by the tool search output.","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.10.tools","typeLabel":"any[]"},"id":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.10.id","typeLabel":"any"},"call_id":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.10.call_id","typeLabel":"any"},"execution":{"type":"string","enum":["server","client"],"description":"Whether tool search was executed by the server or by the client.","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.10.execution","typeLabel":"enum\u003cstring>"},"status":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.10.status","typeLabel":"any"}},"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.10","typeLabel":"Item · object"},{"type":"object","title":"Item","description":"An item representing part of the context for the response to be\ngenerated by the model. Can contain text, images, and audio inputs,\nas well as previous assistant responses and tool call outputs.\n","required":["type","role","tools"],"properties":{"type":{"type":"string","enum":["additional_tools"],"description":"The item type. Always `additional_tools`.","default":"additional_tools","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.11.type","typeLabel":"enum\u003cstring>"},"role":{"type":"string","enum":["developer"],"description":"The role that provided the additional tools. Only `developer` is supported.","default":"developer","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.11.role","typeLabel":"enum\u003cstring>"},"tools":{"items":{"type":"any","description":"A tool that can be used to generate a response.\n","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.11.tools.items.[INDEX]","typeLabel":"any"},"type":"array","description":"A list of additional tools made available at this item.","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.11.tools","typeLabel":"any[]"},"id":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.11.id","typeLabel":"any"}},"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.11","typeLabel":"Item · object"},{"type":"object","title":"Item","description":"An update to the conversation's response configuration. Supply reasoning,\ntext, or both. Each setting stays in effect until a later update replaces it.\n","required":["type"],"properties":{"type":{"type":"string","const":"configuration_update","description":"The item type. Always `configuration_update`.","default":"configuration_update","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.12.type","typeLabel":"string"},"id":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.12.id","typeLabel":"any"},"reasoning":{"type":"object","description":"Updates to reasoning configuration. Only effort is supported.","properties":{"effort":{"type":"any","description":"The reasoning effort to use for subsequent responses until another\nconfiguration update replaces it.\n","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.12.reasoning.effort","typeLabel":"any"}},"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.12.reasoning","typeLabel":"object"},"text":{"type":"object","description":"The text output configuration for subsequent responses.","properties":{"format":{"type":"any","description":"Use a JSON schema for structured output or text to return to plain text.","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.12.text.format","typeLabel":"any"}},"required":["format"],"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.12.text","typeLabel":"object"}},"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.12","typeLabel":"Item · object"},{"type":"object","title":"Reasoning","description":"A description of the chain of thought used by a reasoning model while generating\na response. Be sure to include these items in your `input` to the Responses API\nfor subsequent turns of a conversation if you are manually\n[managing context](https://developers.openai.com/api/docs/guides/conversation-state).\n","required":["id","summary","type"],"properties":{"type":{"type":"string","description":"The type of the object. Always `reasoning`.\n","enum":["reasoning"],"isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.13.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique identifier of the reasoning content.\n","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.13.id","typeLabel":"string"},"summary":{"type":"array","description":"Reasoning summary content.\n","items":{"properties":{"type":{"type":"string","enum":["summary_text"],"description":"The type of the object. Always `summary_text`.","default":"summary_text","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.13.summary.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"A summary of the reasoning output from the model so far.","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.13.summary.items.[INDEX].text","typeLabel":"string"}},"type":"object","required":["type","text"],"title":"Summary text","description":"A summary text from the model.","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.13.summary.items.[INDEX]","typeLabel":"Summary text · object"},"isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.13.summary","typeLabel":"Summary text · object[]"},"encrypted_content":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.13.encrypted_content","typeLabel":"any"},"content":{"type":"array","description":"Reasoning text content.\n","items":{"properties":{"type":{"type":"string","enum":["reasoning_text"],"description":"The type of the reasoning text. Always `reasoning_text`.","default":"reasoning_text","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.13.content.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"The reasoning text from the model.","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.13.content.items.[INDEX].text","typeLabel":"string"}},"type":"object","required":["type","text"],"title":"Reasoning text","description":"Reasoning text from the model.","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.13.content.items.[INDEX]","typeLabel":"Reasoning text · object"},"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.13.content","typeLabel":"Reasoning text · object[]"},"status":{"type":"string","description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.13.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.13","typeLabel":"Reasoning · object"},{"type":"object","title":"Compaction item","description":"A compaction item generated by the [`v1/responses/compact` API](https://developers.openai.com/api/reference/resources/responses/methods/compact).","required":["type","encrypted_content"],"properties":{"type":{"type":"string","enum":["compaction"],"description":"The type of the item. Always `compaction`.","default":"compaction","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.14.type","typeLabel":"enum\u003cstring>"},"encrypted_content":{"type":"string","maxLength":104857600,"description":"The encrypted content of the compaction summary.","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.14.encrypted_content","typeLabel":"string"},"id":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.14.id","typeLabel":"any"}},"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.14","typeLabel":"Compaction item · object"},{"type":"object","title":"Image generation call","description":"An image generation request made by the model.","required":["type","id","status","result"],"properties":{"type":{"type":"string","enum":["image_generation_call"],"description":"The type of the image generation call. Always `image_generation_call`.","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.15.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the image generation call.","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.15.id","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","completed","generating","failed"],"description":"The status of the image generation call.","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.15.status","typeLabel":"enum\u003cstring>"},"result":{"type":"any","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.15.result","typeLabel":"any"},"error":{"properties":{"code":{"type":"any","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.15.error.code","typeLabel":"any"},"type":{"type":"string","description":"The error type.","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.15.error.type","typeLabel":"string"},"message":{"type":"string","description":"A description of the error.","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.15.error.message","typeLabel":"string"},"param":{"type":"any","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.15.error.param","typeLabel":"any"},"moderation_details":{"properties":{"moderation_stage":{"type":"string","enum":["input","output","unknown"],"description":"The stage where moderation blocked the image generation call.","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.15.error.moderation_details.moderation_stage","typeLabel":"enum\u003cstring>"},"categories":{"items":{"type":"string","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.15.error.moderation_details.categories.items.[INDEX]","typeLabel":"string"},"type":"array","description":"Public moderation categories. New category values may be added over time.","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.15.error.moderation_details.categories","typeLabel":"string[]"}},"type":"object","required":["moderation_stage","categories"],"description":"Public details for a `moderation_blocked` error, when available.","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.15.error.moderation_details","typeLabel":"object"}},"type":"object","required":["code","type","message","param"],"description":"Details of a moderation failure, when available.","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.15.error","typeLabel":"object"},"size":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.15.size","typeLabel":"any"},"quality":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.15.quality","typeLabel":"any"},"action":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.15.action","typeLabel":"any"},"background":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.15.background","typeLabel":"any"},"output_format":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.15.output_format","typeLabel":"any"},"svg_usage":{"properties":{"model":{"type":"string","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.15.svg_usage.model","typeLabel":"string"},"input_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.15.svg_usage.input_tokens","typeLabel":"integer"},"output_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.15.svg_usage.output_tokens","typeLabel":"integer"},"total_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.15.svg_usage.total_tokens","typeLabel":"integer"},"reasoning_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.15.svg_usage.reasoning_tokens","typeLabel":"integer"}},"type":"object","required":["model","input_tokens","output_tokens","total_tokens","reasoning_tokens"],"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.15.svg_usage","typeLabel":"object"},"revised_prompt":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.15.revised_prompt","typeLabel":"any"}},"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.15","typeLabel":"Image generation call · object"},{"type":"object","title":"Code interpreter tool call","description":"A tool call to run code.\n","required":["type","id","status","container_id","code","outputs"],"properties":{"type":{"type":"string","enum":["code_interpreter_call"],"default":"code_interpreter_call","description":"The type of the code interpreter tool call. Always `code_interpreter_call`.\n","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.16.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the code interpreter tool call.\n","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.16.id","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","completed","incomplete","interpreting","failed"],"description":"The status of the code interpreter tool call. Valid values are `in_progress`, `completed`, `incomplete`, `interpreting`, and `failed`.\n","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.16.status","typeLabel":"enum\u003cstring>"},"container_id":{"type":"string","description":"The ID of the container used to run the code.\n","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.16.container_id","typeLabel":"string"},"code":{"type":"any","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.16.code","typeLabel":"any"},"outputs":{"type":"any","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.16.outputs","typeLabel":"any"}},"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.16","typeLabel":"Code interpreter tool call · object"},{"type":"object","title":"Local shell call","description":"A tool call to run a command on the local shell.\n","required":["type","id","call_id","action","status"],"properties":{"type":{"type":"string","enum":["local_shell_call"],"description":"The type of the local shell call. Always `local_shell_call`.\n","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.17.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the local shell call.\n","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.17.id","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the local shell tool call generated by the model.\n","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.17.call_id","typeLabel":"string"},"action":{"properties":{"type":{"type":"string","enum":["exec"],"description":"The type of the local shell action. Always `exec`.","default":"exec","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.17.action.type","typeLabel":"enum\u003cstring>"},"command":{"items":{"type":"string","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.17.action.command.items.[INDEX]","typeLabel":"string"},"type":"array","description":"The command to run.","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.17.action.command","typeLabel":"string[]"},"env":{"additionalProperties":{"type":"string","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.17.action.env.additionalProperties","typeLabel":"string"},"type":"object","description":"Environment variables to set for the command.","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.17.action.env","typeLabel":"object"},"timeout_ms":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.17.action.timeout_ms","typeLabel":"any"},"working_directory":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.17.action.working_directory","typeLabel":"any"},"user":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.17.action.user","typeLabel":"any"}},"type":"object","required":["type","command","env"],"title":"Local shell exec action","description":"Execute a shell command on the server.","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.17.action","typeLabel":"Local shell exec action · object"},"status":{"type":"string","enum":["in_progress","completed","incomplete"],"description":"The status of the local shell call.\n","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.17.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.17","typeLabel":"Local shell call · object"},{"type":"object","title":"Local shell call output","description":"The output of a local shell tool call.\n","required":["id","type","call_id","output"],"properties":{"type":{"type":"string","enum":["local_shell_call_output"],"description":"The type of the local shell tool call output. Always `local_shell_call_output`.\n","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.18.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the local shell tool call generated by the model.\n","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.18.id","typeLabel":"string"},"output":{"type":"string","description":"A JSON string of the output of the local shell tool call.\n","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.18.output","typeLabel":"string"},"status":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.18.status","typeLabel":"any"}},"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.18","typeLabel":"Local shell call output · object"},{"type":"object","title":"Shell tool call","description":"A tool representing a request to execute one or more shell commands.","required":["call_id","type","action"],"properties":{"call_id":{"type":"string","maxLength":64,"minLength":1,"description":"The unique ID of the shell tool call generated by the model.","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.19.call_id","typeLabel":"string"},"type":{"type":"string","enum":["shell_call"],"description":"The type of the item. Always `shell_call`.","default":"shell_call","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.19.type","typeLabel":"enum\u003cstring>"},"action":{"properties":{"commands":{"items":{"type":"string","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.19.action.commands.items.[INDEX]","typeLabel":"string"},"type":"array","description":"Ordered shell commands for the execution environment to run.","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.19.action.commands","typeLabel":"string[]"},"timeout_ms":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.19.action.timeout_ms","typeLabel":"any"},"max_output_length":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.19.action.max_output_length","typeLabel":"any"}},"type":"object","required":["commands"],"title":"Shell action","description":"The shell commands and limits that describe how to run the tool call.","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.19.action","typeLabel":"Shell action · object"},"id":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.19.id","typeLabel":"any"},"caller":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.19.caller","typeLabel":"any"},"status":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.19.status","typeLabel":"any"},"environment":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.19.environment","typeLabel":"any"}},"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.19","typeLabel":"Shell tool call · object"},{"type":"object","title":"Shell tool call output","description":"The streamed output items emitted by a shell tool call.","required":["call_id","type","output"],"properties":{"call_id":{"type":"string","maxLength":64,"minLength":1,"description":"The unique ID of the shell tool call generated by the model.","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.20.call_id","typeLabel":"string"},"type":{"type":"string","enum":["shell_call_output"],"description":"The type of the item. Always `shell_call_output`.","default":"shell_call_output","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.20.type","typeLabel":"enum\u003cstring>"},"output":{"items":{"properties":{"stdout":{"type":"string","maxLength":10485760,"description":"Captured stdout output for the shell call.","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.20.output.items.[INDEX].stdout","typeLabel":"string"},"stderr":{"type":"string","maxLength":10485760,"description":"Captured stderr output for the shell call.","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.20.output.items.[INDEX].stderr","typeLabel":"string"},"outcome":{"type":"any","title":"Shell call outcome","description":"The exit or timeout outcome associated with this shell call.","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.20.output.items.[INDEX].outcome","typeLabel":"any"}},"type":"object","required":["stdout","stderr","outcome"],"title":"Shell output content","description":"Captured stdout and stderr for a portion of a shell tool call output.","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.20.output.items.[INDEX]","typeLabel":"Shell output content · object"},"type":"array","description":"Captured chunks of stdout and stderr output, along with their associated outcomes.","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.20.output","typeLabel":"Shell output content · object[]"},"id":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.20.id","typeLabel":"any"},"caller":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.20.caller","typeLabel":"any"},"status":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.20.status","typeLabel":"any"},"max_output_length":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.20.max_output_length","typeLabel":"any"}},"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.20","typeLabel":"Shell tool call output · object"},{"type":"object","title":"Apply patch tool call","description":"A tool call representing a request to create, delete, or update files using diff patches.","required":["type","call_id","status","operation"],"properties":{"type":{"type":"string","enum":["apply_patch_call"],"description":"The type of the item. Always `apply_patch_call`.","default":"apply_patch_call","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.21.type","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","maxLength":64,"minLength":1,"description":"The unique ID of the apply patch tool call generated by the model.","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.21.call_id","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","completed"],"title":"Apply patch call status","description":"The status of the apply patch tool call. One of `in_progress` or `completed`.","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.21.status","typeLabel":"enum\u003cstring>"},"operation":{"type":"any","title":"Apply patch operation","description":"The specific create, delete, or update instruction for the apply_patch tool call.","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.21.operation","typeLabel":"any"},"id":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.21.id","typeLabel":"any"},"caller":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.21.caller","typeLabel":"any"}},"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.21","typeLabel":"Apply patch tool call · object"},{"type":"object","title":"Apply patch tool call output","description":"The streamed output emitted by an apply patch tool call.","required":["type","call_id","status"],"properties":{"type":{"type":"string","enum":["apply_patch_call_output"],"description":"The type of the item. Always `apply_patch_call_output`.","default":"apply_patch_call_output","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.22.type","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","maxLength":64,"minLength":1,"description":"The unique ID of the apply patch tool call generated by the model.","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.22.call_id","typeLabel":"string"},"status":{"type":"string","enum":["completed","failed"],"title":"Apply patch call output status","description":"The status of the apply patch tool call output. One of `completed` or `failed`.","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.22.status","typeLabel":"enum\u003cstring>"},"id":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.22.id","typeLabel":"any"},"caller":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.22.caller","typeLabel":"any"},"output":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.22.output","typeLabel":"any"}},"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.22","typeLabel":"Apply patch tool call output · object"},{"type":"object","title":"MCP list tools","description":"A list of tools available on an MCP server.\n","required":["type","id","server_label","tools"],"properties":{"type":{"type":"string","const":"mcp_list_tools","description":"The type of the item. Always `mcp_list_tools`.\n","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.23.type","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the list.\n","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.23.id","typeLabel":"string"},"server_label":{"type":"string","description":"The label of the MCP server.\n","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.23.server_label","typeLabel":"string"},"tools":{"type":"array","items":{"type":"object","title":"MCP list tools tool","description":"A tool available on an MCP server.\n","properties":{"name":{"type":"string","description":"The name of the tool.\n","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.23.tools.items.[INDEX].name","typeLabel":"string"},"input_schema":{"type":"object","description":"The JSON schema describing the tool's input.\n","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.23.tools.items.[INDEX].input_schema","typeLabel":"object"},"description":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.23.tools.items.[INDEX].description","typeLabel":"any"},"annotations":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.23.tools.items.[INDEX].annotations","typeLabel":"any"}},"required":["name","input_schema"],"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.23.tools.items.[INDEX]","typeLabel":"MCP list tools tool · object"},"description":"The tools available on the server.\n","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.23.tools","typeLabel":"MCP list tools tool · object[]"},"error":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.23.error","typeLabel":"any"}},"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.23","typeLabel":"MCP list tools · object"},{"type":"object","title":"MCP approval request","description":"A request for human approval of a tool invocation.\n","required":["type","id","server_label","name","arguments"],"properties":{"type":{"type":"string","const":"mcp_approval_request","description":"The type of the item. Always `mcp_approval_request`.\n","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.24.type","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the approval request.\n","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.24.id","typeLabel":"string"},"server_label":{"type":"string","description":"The label of the MCP server making the request.\n","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.24.server_label","typeLabel":"string"},"name":{"type":"string","description":"The name of the tool to run.\n","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.24.name","typeLabel":"string"},"arguments":{"type":"string","description":"A JSON string of arguments for the tool.\n","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.24.arguments","typeLabel":"string"}},"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.24","typeLabel":"MCP approval request · object"},{"type":"object","title":"MCP approval response","description":"A response to an MCP approval request.\n","required":["type","request_id","approve","approval_request_id"],"properties":{"type":{"type":"string","const":"mcp_approval_response","description":"The type of the item. Always `mcp_approval_response`.\n","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.25.type","typeLabel":"string"},"approval_request_id":{"type":"string","description":"The ID of the approval request being answered.\n","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.25.approval_request_id","typeLabel":"string"},"approve":{"type":"boolean","description":"Whether the request was approved.\n","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.25.approve","typeLabel":"boolean"},"id":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.25.id","typeLabel":"any"},"reason":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.25.reason","typeLabel":"any"}},"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.25","typeLabel":"MCP approval response · object"},{"type":"object","title":"MCP tool call","description":"An invocation of a tool on an MCP server.\n","required":["type","id","server_label","name","arguments"],"properties":{"type":{"type":"string","const":"mcp_call","description":"The type of the item. Always `mcp_call`.\n","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.26.type","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the tool call.\n","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.26.id","typeLabel":"string"},"server_label":{"type":"string","description":"The label of the MCP server running the tool.\n","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.26.server_label","typeLabel":"string"},"name":{"type":"string","description":"The name of the tool that was run.\n","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.26.name","typeLabel":"string"},"arguments":{"type":"string","description":"A JSON string of the arguments passed to the tool.\n","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.26.arguments","typeLabel":"string"},"output":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.26.output","typeLabel":"any"},"error":{"type":"any","description":"The error from the tool call, if any.","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.26.error","typeLabel":"any"},"status":{"type":"string","enum":["in_progress","completed","incomplete","calling","failed"],"description":"The status of the tool call. One of `in_progress`, `completed`, `incomplete`, `calling`, or `failed`.\n","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.26.status","typeLabel":"enum\u003cstring>"},"approval_request_id":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.26.approval_request_id","typeLabel":"any"}},"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.26","typeLabel":"MCP tool call · object"},{"type":"object","title":"Custom tool call output","description":"The output of a custom tool call from your code, being sent back to the model.\n","required":["type","call_id","output"],"properties":{"type":{"type":"string","enum":["custom_tool_call_output"],"description":"The type of the custom tool call output. Always `custom_tool_call_output`.\n","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.27.type","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","description":"The call ID, used to map this custom tool call output to a custom tool call.\n","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.27.call_id","typeLabel":"string"},"output":{"type":"any","description":"The output from the custom tool call generated by your code.\nCan be a string or an list of output content.\n","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.27.output","typeLabel":"any"},"id":{"type":"string","description":"The unique ID of the custom tool call output in the OpenAI platform.\n","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.27.id","typeLabel":"string"},"caller":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.27.caller","typeLabel":"any"}},"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.27","typeLabel":"Custom tool call output · object"},{"type":"object","title":"Custom tool call","description":"A call to a custom tool created by the model.\n","required":["type","call_id","name","input"],"properties":{"type":{"type":"string","enum":["custom_tool_call"],"description":"The type of the custom tool call. Always `custom_tool_call`.\n","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.28.type","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","description":"An identifier used to map this custom tool call to a tool call output.\n","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.28.call_id","typeLabel":"string"},"name":{"type":"string","description":"The name of the custom tool being called.\n","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.28.name","typeLabel":"string"},"input":{"type":"string","description":"The input for the custom tool call generated by the model.\n","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.28.input","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the custom tool call in the OpenAI platform.\n","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.28.id","typeLabel":"string"},"caller":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.28.caller","typeLabel":"any"},"namespace":{"type":"string","description":"The namespace of the custom tool being called.\n","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.28.namespace","typeLabel":"string"},"async":{"type":"boolean","description":"Whether the custom tool call runs asynchronously.\n","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.28.async","typeLabel":"boolean"}},"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.28","typeLabel":"Custom tool call · object"},{"type":"object","title":"Compaction trigger","description":"Compacts the current context. Must be the final input item.","required":["type"],"properties":{"type":{"type":"string","enum":["compaction_trigger"],"description":"The type of the item. Always `compaction_trigger`.","default":"compaction_trigger","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.29.type","typeLabel":"enum\u003cstring>"},"id":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.29.id","typeLabel":"any"}},"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.29","typeLabel":"Compaction trigger · object"},{"type":"object","title":"Item reference","description":"An internal identifier for an item to reference.","required":["id"],"properties":{"id":{"type":"string","description":"The ID of the item to reference.","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.30.id","typeLabel":"string"},"type":{"type":"any","uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.30.type","typeLabel":"any"}},"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.30","typeLabel":"Item reference · object"},{"type":"object","required":["id","type","call_id","code","fingerprint"],"properties":{"id":{"type":"string","description":"The unique ID of this program item.","example":"cm_123","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.31.id","typeLabel":"string"},"type":{"type":"string","enum":["program"],"description":"The item type. Always `program`.","default":"program","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.31.type","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","maxLength":64,"minLength":1,"description":"The stable call ID of the program item.","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.31.call_id","typeLabel":"string"},"code":{"type":"string","maxLength":10485760,"description":"The JavaScript source executed by programmatic tool calling.","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.31.code","typeLabel":"string"},"fingerprint":{"type":"string","maxLength":10485760,"description":"Opaque program replay fingerprint that must be round-tripped.","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.31.fingerprint","typeLabel":"string"}},"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.31","typeLabel":"object"},{"type":"object","required":["id","type","call_id","result","status"],"properties":{"id":{"type":"string","description":"The unique ID of this program output item.","example":"cmo_123","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.32.id","typeLabel":"string"},"type":{"type":"string","enum":["program_output"],"description":"The item type. Always `program_output`.","default":"program_output","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.32.type","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","maxLength":64,"minLength":1,"description":"The call ID of the program item.","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.32.call_id","typeLabel":"string"},"result":{"type":"string","maxLength":10485760,"description":"The result produced by the program item.","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.32.result","typeLabel":"string"},"status":{"type":"string","enum":["completed","incomplete"],"description":"The terminal status of the program output.","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.32.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX].oneOf.32","typeLabel":"object"}],"uniqueKey":"oneOf.13.response.instructions.oneOf.1.items.[INDEX]","typeLabel":"Input message · object · Input message · object · Output message · object · File search tool call · object · Computer tool call · object · Computer tool call output · object · Web search tool call · object · Function tool call · object · Function tool call output · object · Item · object · Item · object · Item · object · Item · object · Reasoning · object · Compaction item · object · Image generation call · object · Code interpreter tool call · object · Local shell call · object · Local shell call output · object · Shell tool call · object · Shell tool call output · object · Apply patch tool call · object · Apply patch tool call output · object · MCP list tools · object · MCP approval request · object · MCP approval response · object · MCP tool call · object · Custom tool call output · object · Custom tool call · object · Compaction trigger · object · Item reference · object · object · object"},"title":"Input item list","description":"A system (or developer) message inserted into the model's context.\n\nWhen using along with `previous_response_id`, the instructions from a previous\nresponse will not be carried over to the next response. This makes it simple\nto swap out system (or developer) messages in new responses.\n","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.1","typeLabel":"Input message · object · Input message · object · Output message · object · File search tool call · object · Computer tool call · object · Computer tool call output · object · Web search tool call · object · Function tool call · object · Function tool call output · object · Item · object · Item · object · Item · object · Item · object · Reasoning · object · Compaction item · object · Image generation call · object · Code interpreter tool call · object · Local shell call · object · Local shell call output · object · Shell tool call · object · Shell tool call output · object · Apply patch tool call · object · Apply patch tool call output · object · MCP list tools · object · MCP approval request · object · MCP approval response · object · MCP tool call · object · Custom tool call output · object · Custom tool call · object · Compaction trigger · object · Item reference · object · object · object[]"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.13.response.instructions.oneOf.2","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.13.response.instructions","typeLabel":"string | Input message · object · Input message · object · Output message · object · File search tool call · object · Computer tool call · object · Computer tool call output · object · Web search tool call · object · Function tool call · object · Function tool call output · object · Item · object · Item · object · Item · object · Item · object · Reasoning · object · Compaction item · object · Image generation call · object · Code interpreter tool call · object · Local shell call · object · Local shell call output · object · Shell tool call · object · Shell tool call output · object · Apply patch tool call · object · Apply patch tool call output · object · MCP list tools · object · MCP approval request · object · MCP approval response · object · MCP tool call · object · Custom tool call output · object · Custom tool call · object · Compaction trigger · object · Item reference · object · object · object[] | null"},"parallel_tool_calls":{"type":"boolean","description":"Whether to allow the model to run tool calls in parallel.\n","default":true,"isRequired":true,"uniqueKey":"oneOf.13.response.parallel_tool_calls","typeLabel":"boolean"},"top_logprobs":{"oneOf":[{"type":"integer","description":"An integer between 0 and 20 specifying the maximum number of most likely\ntokens to return at each token position, each with an associated log\nprobability. In some cases, the number of returned tokens may be fewer than\nrequested.\n","maximum":20,"minimum":0,"uniqueKey":"oneOf.13.response.top_logprobs.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"oneOf.13.response.top_logprobs.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.top_logprobs","typeLabel":"integer | null"},"user":{"oneOf":[{"type":"string","example":"user-1234","deprecated":true,"description":"This field is being replaced by `safety_identifier` and `prompt_cache_key`. Use `prompt_cache_key` instead to maintain caching optimizations.\nA stable identifier for your end-users.\nUsed to boost cache hit rates by better bucketing similar requests and to help OpenAI detect and prevent abuse. [Learn more](https://developers.openai.com/api/docs/guides/safety-best-practices#implement-safety-identifiers).\n","uniqueKey":"oneOf.13.response.user.oneOf.0","typeLabel":"string"},{"type":"null","example":"user-1234","deprecated":true,"description":"This field is being replaced by `safety_identifier` and `prompt_cache_key`. Use `prompt_cache_key` instead to maintain caching optimizations.\nA stable identifier for your end-users.\nUsed to boost cache hit rates by better bucketing similar requests and to help OpenAI detect and prevent abuse. [Learn more](https://developers.openai.com/api/docs/guides/safety-best-practices#implement-safety-identifiers).\n","uniqueKey":"oneOf.13.response.user.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.user","typeLabel":"string | null"},"safety_identifier":{"oneOf":[{"type":"string","description":"A stable identifier used to help detect users of your application that may be violating OpenAI's usage policies.\nThe IDs should be a string that uniquely identifies each user, with a maximum length of 128 characters. We recommend hashing their username or email address, in order to avoid sending us any identifying information. [Learn more](https://developers.openai.com/api/docs/guides/safety-best-practices#implement-safety-identifiers).\n","maxLength":128,"example":"safety-identifier-1234","uniqueKey":"oneOf.13.response.safety_identifier.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.13.response.safety_identifier.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.safety_identifier","typeLabel":"string | null"},"prompt_cache_key":{"oneOf":[{"type":"string","description":"Used by OpenAI to cache responses for similar requests to optimize your cache hit rates. Replaces the `user` field. [Learn more](https://developers.openai.com/api/docs/guides/prompt-caching).\n","example":"prompt-cache-key-1234","uniqueKey":"oneOf.13.response.prompt_cache_key.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.13.response.prompt_cache_key.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.prompt_cache_key","typeLabel":"string | null"},"prompt_cache_retention":{"oneOf":[{"type":"string","description":"Deprecated. Use `prompt_cache_options.ttl` instead.\n\nThe retention policy for the prompt cache. Set to `24h` to enable extended prompt caching, which keeps cached prefixes active for longer, up to a maximum of 24 hours. [Learn more](https://developers.openai.com/api/docs/guides/prompt-caching#prompt-cache-retention).\nThis field expresses a maximum retention policy, while\n`prompt_cache_options.ttl` expresses a minimum cache lifetime. The two\nfields are independent and do not interact.\nFor `gpt-5.5`, `gpt-5.5-pro`, and future models, only `24h` is supported.\n\nFor older models that support both `in_memory` and `24h`, the default depends on your organization's data retention policy:\n - Organizations without ZDR enabled default to `24h`.\n - Organizations with ZDR enabled default to `in_memory` when `prompt_cache_retention` is not specified.\n","enum":["in_memory","24h"],"deprecated":true,"uniqueKey":"oneOf.13.response.prompt_cache_retention.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","deprecated":true,"uniqueKey":"oneOf.13.response.prompt_cache_retention.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.prompt_cache_retention","typeLabel":"enum\u003cstring> | null"},"previous_response_id":{"oneOf":[{"type":"string","description":"The unique ID of the previous response to the model. Use this to\ncreate multi-turn conversations. Learn more about\n[conversation state](https://developers.openai.com/api/docs/guides/conversation-state). Cannot be used in conjunction with `conversation`.\n","uniqueKey":"oneOf.13.response.previous_response_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.13.response.previous_response_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.previous_response_id","typeLabel":"string | null"},"background":{"oneOf":[{"type":"boolean","description":"Whether to run the model response in the background.\n[Learn more](https://developers.openai.com/api/docs/guides/background).\n","default":false,"uniqueKey":"oneOf.13.response.background.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"oneOf.13.response.background.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.background","typeLabel":"boolean | null"},"max_tool_calls":{"oneOf":[{"type":"integer","description":"The maximum number of total calls to built-in tools that can be processed in a response. This maximum number applies across all built-in tool calls, not per individual tool. Any further attempts to call a tool by the model will be ignored.\n","uniqueKey":"oneOf.13.response.max_tool_calls.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"oneOf.13.response.max_tool_calls.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.max_tool_calls","typeLabel":"integer | null"},"text":{"type":"object","description":"Configuration options for a text response from the model. Can be plain\ntext or structured JSON data. Learn more:\n- [Text inputs and outputs](https://developers.openai.com/api/docs/guides/text)\n- [Structured Outputs](https://developers.openai.com/api/docs/guides/structured-outputs)\n","properties":{"format":{"oneOf":[{"type":"object","title":"Text","description":"An object specifying the format that the model must output.\n\nConfiguring `{ \"type\": \"json_schema\" }` enables Structured Outputs,\nwhich ensures the model will match your supplied JSON schema. Learn more in the\n[Structured Outputs guide](https://developers.openai.com/api/docs/guides/structured-outputs).\n\nThe default format is `{ \"type\": \"text\" }` with no additional options.\n\n**Not recommended for gpt-4o and newer models:**\n\nSetting to `{ \"type\": \"json_object\" }` enables the older JSON mode, which\nensures the message the model generates is valid JSON. Using `json_schema`\nis preferred for models that support it.\n","required":["type"],"properties":{"type":{"type":"string","description":"The type of response format being defined. Always `text`.","const":"text","isRequired":true,"uniqueKey":"oneOf.13.response.text.format.oneOf.0.type","typeLabel":"string"}},"uniqueKey":"oneOf.13.response.text.format.oneOf.0","typeLabel":"Text · object"},{"type":"object","title":"JSON schema","description":"An object specifying the format that the model must output.\n\nConfiguring `{ \"type\": \"json_schema\" }` enables Structured Outputs,\nwhich ensures the model will match your supplied JSON schema. Learn more in the\n[Structured Outputs guide](https://developers.openai.com/api/docs/guides/structured-outputs).\n\nThe default format is `{ \"type\": \"text\" }` with no additional options.\n\n**Not recommended for gpt-4o and newer models:**\n\nSetting to `{ \"type\": \"json_object\" }` enables the older JSON mode, which\nensures the message the model generates is valid JSON. Using `json_schema`\nis preferred for models that support it.\n","required":["type","schema","name"],"properties":{"type":{"type":"string","description":"The type of response format being defined. Always `json_schema`.","enum":["json_schema"],"isRequired":true,"uniqueKey":"oneOf.13.response.text.format.oneOf.1.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"The name of the response format. Must be a-z, A-Z, 0-9, or contain\nunderscores and dashes, with a maximum length of 64.\n","isRequired":true,"uniqueKey":"oneOf.13.response.text.format.oneOf.1.name","typeLabel":"string"},"schema":{"type":"object","title":"JSON schema","description":"The schema for the response format, described as a JSON Schema object.\nLearn how to build JSON schemas [here](https://json-schema.org/).\n","additionalProperties":true,"isRequired":true,"uniqueKey":"oneOf.13.response.text.format.oneOf.1.schema","typeLabel":"JSON schema · object"},"description":{"type":"string","description":"A description of what the response format is for, used by the model to\ndetermine how to respond in the format.\n","uniqueKey":"oneOf.13.response.text.format.oneOf.1.description","typeLabel":"string"},"strict":{"oneOf":[{"type":"boolean","description":"Whether to enable strict schema adherence when generating the output.\nIf set to true, the model will always follow the exact schema defined\nin the `schema` field. Only a subset of JSON Schema is supported when\n`strict` is `true`. To learn more, read the [Structured Outputs\nguide](https://developers.openai.com/api/docs/guides/structured-outputs).\n","default":false,"uniqueKey":"oneOf.13.response.text.format.oneOf.1.strict.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"oneOf.13.response.text.format.oneOf.1.strict.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.text.format.oneOf.1.strict","typeLabel":"boolean | null"}},"uniqueKey":"oneOf.13.response.text.format.oneOf.1","typeLabel":"JSON schema · object"},{"type":"object","title":"JSON object","description":"An object specifying the format that the model must output.\n\nConfiguring `{ \"type\": \"json_schema\" }` enables Structured Outputs,\nwhich ensures the model will match your supplied JSON schema. Learn more in the\n[Structured Outputs guide](https://developers.openai.com/api/docs/guides/structured-outputs).\n\nThe default format is `{ \"type\": \"text\" }` with no additional options.\n\n**Not recommended for gpt-4o and newer models:**\n\nSetting to `{ \"type\": \"json_object\" }` enables the older JSON mode, which\nensures the message the model generates is valid JSON. Using `json_schema`\nis preferred for models that support it.\n","required":["type"],"properties":{"type":{"type":"string","description":"The type of response format being defined. Always `json_object`.","const":"json_object","isRequired":true,"uniqueKey":"oneOf.13.response.text.format.oneOf.2.type","typeLabel":"string"}},"uniqueKey":"oneOf.13.response.text.format.oneOf.2","typeLabel":"JSON object · object"}],"uniqueKey":"oneOf.13.response.text.format","typeLabel":"Text · object | JSON schema · object | JSON object · object"},"verbosity":{"oneOf":[{"type":"string","description":"Constrains the verbosity of the model's response. Lower values will result in\nmore concise responses, while higher values will result in more verbose responses.\nCurrently supported values are `low`, `medium`, and `high`. The default is\n`medium`.\n","default":"medium","enum":["low","medium","high"],"uniqueKey":"oneOf.13.response.text.verbosity.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"oneOf.13.response.text.verbosity.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.text.verbosity","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"oneOf.13.response.text","typeLabel":"object"},"prompt":{"oneOf":[{"type":"object","description":"Reference to a prompt template and its variables.\n[Learn more](https://developers.openai.com/api/docs/guides/text?api-mode=responses#version-prompts-in-code).\n","required":["id"],"properties":{"id":{"type":"string","description":"The unique identifier of the prompt template to use.","isRequired":true,"uniqueKey":"oneOf.13.response.prompt.oneOf.0.id","typeLabel":"string"},"version":{"oneOf":[{"type":"string","description":"Optional version of the prompt template.","uniqueKey":"oneOf.13.response.prompt.oneOf.0.version.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.13.response.prompt.oneOf.0.version.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.prompt.oneOf.0.version","typeLabel":"string | null"},"variables":{"oneOf":[{"type":"object","title":"Prompt Variables","description":"Optional map of values to substitute in for variables in your\nprompt. The substitution values can either be strings, or other\nResponse input types like images or files.\n","additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"oneOf.13.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"object","title":"Input text","description":"A text input to the model.","required":["type","text"],"properties":{"type":{"type":"string","enum":["input_text"],"description":"The type of the input item. Always `input_text`.","default":"input_text","isRequired":true,"uniqueKey":"oneOf.13.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.1.type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"The text input to the model.","isRequired":true,"uniqueKey":"oneOf.13.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.1.text","typeLabel":"string"},"prompt_cache_breakpoint":{"properties":{"mode":{"type":"string","enum":["explicit"],"description":"The breakpoint mode. Always `explicit`.","default":"explicit","isRequired":true,"uniqueKey":"oneOf.13.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.1.prompt_cache_breakpoint.mode","typeLabel":"enum\u003cstring>"},"ttl":{"type":"string","enum":["30m","12h"],"description":"The minimum lifetime of this cache breakpoint. Defaults to the request TTL.","uniqueKey":"oneOf.13.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.1.prompt_cache_breakpoint.ttl","typeLabel":"enum\u003cstring>"}},"type":"object","required":["mode"],"title":"Prompt cache breakpoint","description":"Marks the exact end of a reusable prompt prefix. When `ttl` is omitted, the breakpoint inherits the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block.","uniqueKey":"oneOf.13.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.1.prompt_cache_breakpoint","typeLabel":"Prompt cache breakpoint · object"}},"uniqueKey":"oneOf.13.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.1","typeLabel":"Input text · object"},{"type":"object","title":"Input image","description":"An image input to the model. Learn about [image inputs](https://developers.openai.com/api/docs/guides/images-vision).","required":["type","detail"],"properties":{"type":{"type":"string","enum":["input_image"],"description":"The type of the input item. Always `input_image`.","default":"input_image","isRequired":true,"uniqueKey":"oneOf.13.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2.type","typeLabel":"enum\u003cstring>"},"detail":{"type":"string","enum":["low","high","auto","original"],"description":"The detail level of the image to be sent to the model. One of `high`, `low`, `auto`, or `original`. Defaults to `auto`.","isRequired":true,"uniqueKey":"oneOf.13.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2.detail","typeLabel":"enum\u003cstring>"},"image_url":{"type":"any","uniqueKey":"oneOf.13.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2.image_url","typeLabel":"any"},"file_id":{"type":"any","uniqueKey":"oneOf.13.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2.file_id","typeLabel":"any"},"prompt_cache_breakpoint":{"properties":{"mode":{"type":"string","enum":["explicit"],"description":"The breakpoint mode. Always `explicit`.","default":"explicit","isRequired":true,"uniqueKey":"oneOf.13.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2.prompt_cache_breakpoint.mode","typeLabel":"enum\u003cstring>"},"ttl":{"type":"string","enum":["30m","12h"],"description":"The minimum lifetime of this cache breakpoint. Defaults to the request TTL.","uniqueKey":"oneOf.13.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2.prompt_cache_breakpoint.ttl","typeLabel":"enum\u003cstring>"}},"type":"object","required":["mode"],"title":"Prompt cache breakpoint","description":"Marks the exact end of a reusable prompt prefix. When `ttl` is omitted, the breakpoint inherits the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block.","uniqueKey":"oneOf.13.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2.prompt_cache_breakpoint","typeLabel":"Prompt cache breakpoint · object"}},"uniqueKey":"oneOf.13.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2","typeLabel":"Input image · object"},{"type":"object","title":"Input file","description":"A file input to the model.","required":["type"],"properties":{"type":{"type":"string","enum":["input_file"],"description":"The type of the input item. Always `input_file`.","default":"input_file","isRequired":true,"uniqueKey":"oneOf.13.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.type","typeLabel":"enum\u003cstring>"},"file_id":{"type":"any","uniqueKey":"oneOf.13.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.file_id","typeLabel":"any"},"filename":{"type":"string","description":"The name of the file to be sent to the model.","uniqueKey":"oneOf.13.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.filename","typeLabel":"string"},"file_data":{"type":"string","description":"The content of the file to be sent to the model.\n","uniqueKey":"oneOf.13.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.file_data","typeLabel":"string"},"prompt_cache_breakpoint":{"properties":{"mode":{"type":"string","enum":["explicit"],"description":"The breakpoint mode. Always `explicit`.","default":"explicit","isRequired":true,"uniqueKey":"oneOf.13.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.prompt_cache_breakpoint.mode","typeLabel":"enum\u003cstring>"},"ttl":{"type":"string","enum":["30m","12h"],"description":"The minimum lifetime of this cache breakpoint. Defaults to the request TTL.","uniqueKey":"oneOf.13.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.prompt_cache_breakpoint.ttl","typeLabel":"enum\u003cstring>"}},"type":"object","required":["mode"],"title":"Prompt cache breakpoint","description":"Marks the exact end of a reusable prompt prefix. When `ttl` is omitted, the breakpoint inherits the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block.","uniqueKey":"oneOf.13.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.prompt_cache_breakpoint","typeLabel":"Prompt cache breakpoint · object"},"file_url":{"type":"string","format":"uri","description":"The URL of the file to be sent to the model.","uniqueKey":"oneOf.13.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.file_url","typeLabel":"string\u003curi>"},"detail":{"type":"string","enum":["auto","low","high"],"description":"The detail level of the file to be sent to the model. Use `auto` to let the system select the detail level; for GPT-5.6 and later models, `auto` uses high-quality rendering, which may increase input token usage. Use `low` for lower-cost rendering, or `high` to render the file at higher quality. Defaults to `auto`.","uniqueKey":"oneOf.13.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.detail","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.13.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3","typeLabel":"Input file · object"}],"uniqueKey":"oneOf.13.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties","typeLabel":"string | Input text · object | Input image · object | Input file · object"},"uniqueKey":"oneOf.13.response.prompt.oneOf.0.variables.oneOf.0","typeLabel":"Prompt Variables · object"},{"type":"null","uniqueKey":"oneOf.13.response.prompt.oneOf.0.variables.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.prompt.oneOf.0.variables","typeLabel":"Prompt Variables · object | null"}},"uniqueKey":"oneOf.13.response.prompt.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"oneOf.13.response.prompt.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.prompt","typeLabel":"object | null"},"image":{"properties":{"context_compression":{"type":"string","enum":["enabled","disabled"],"description":"Effective image context optimization policy.","isRequired":true,"uniqueKey":"oneOf.13.response.image.context_compression","typeLabel":"enum\u003cstring>"}},"type":"object","required":["context_compression"],"uniqueKey":"oneOf.13.response.image","typeLabel":"object"},"service_tier":{"oneOf":[{"type":"string","description":"Specifies the processing type used for serving the request.\n - If set to 'auto', then the request will be processed with the service tier configured in the Project settings. Unless otherwise configured, the Project will use 'default'.\n - If set to 'default', then the request will be processed with the standard pricing and performance for the selected model.\n - If set to '[flex](https://developers.openai.com/api/docs/guides/flex-processing)', then the request will be processed with the Flex Processing service tier.\n - To opt-in to [Fast mode](https://developers.openai.com/api/docs/guides/fast-mode) at the request level, include the `service_tier=fast` or `service_tier=priority` parameter for Responses or Chat Completions. The response will show `service_tier=priority` regardless of if you specify `service_tier=fast` or `priority` in your request.\n - If set to 'ultrafast', then the request will be processed with the access-controlled Ultrafast Processing service tier. This tier is currently available for `gpt-5.6-sol`; a response served through it will show `service_tier=ultrafast`.\n - When not set, the default behavior is 'auto'.\n\n When the `service_tier` parameter is set, the response body will include the `service_tier` value based on the processing mode actually used to serve the request. This response value may be different from the value set in the parameter.\n","default":"auto","enum":["auto","default","flex","scale","priority","fast","ultrafast"],"uniqueKey":"oneOf.13.response.service_tier.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"oneOf.13.response.service_tier.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.service_tier","typeLabel":"enum\u003cstring> | null"},"truncation":{"oneOf":[{"type":"string","description":"The truncation strategy to use for the model response.\n- `auto`: If the input to this Response exceeds\n the model's context window size, the model will truncate the\n response to fit the context window by dropping items from the beginning of the conversation.\n On some models, trimming can begin earlier because the API subtracts the model's\n maximum output allowance from its input limit, even if you set a lower `max_output_tokens`.\n- `disabled` (default): If the input size will exceed the context window\n size for a model, the request will fail with a 400 error.\n","default":"disabled","enum":["auto","disabled"],"uniqueKey":"oneOf.13.response.truncation.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"oneOf.13.response.truncation.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.truncation","typeLabel":"enum\u003cstring> | null"},"status":{"type":"string","description":"The status of the response generation. One of `completed`, `failed`,\n`in_progress`, `cancelled`, `queued`, or `incomplete`.\n","enum":["completed","failed","in_progress","cancelled","queued","incomplete"],"uniqueKey":"oneOf.13.response.status","typeLabel":"enum\u003cstring>"},"completed_at":{"oneOf":[{"type":"number","description":"Unix timestamp (in seconds) of when this Response was completed.\nOnly present when the status is `completed`.\n","format":"unixtime","uniqueKey":"oneOf.13.response.completed_at.oneOf.0","typeLabel":"number\u003cunixtime>"},{"type":"null","uniqueKey":"oneOf.13.response.completed_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.completed_at","typeLabel":"number\u003cunixtime> | null"},"input_transformations":{"type":"array","description":"Reasoning inputs withheld from the model, in input order.","items":{"properties":{"type":{"type":"string","enum":["reasoning"],"default":"reasoning","isRequired":true,"uniqueKey":"oneOf.13.response.input_transformations.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The original reasoning item ID.","isRequired":true,"uniqueKey":"oneOf.13.response.input_transformations.items.[INDEX].id","typeLabel":"string"},"action":{"type":"string","enum":["removed"],"default":"removed","isRequired":true,"uniqueKey":"oneOf.13.response.input_transformations.items.[INDEX].action","typeLabel":"enum\u003cstring>"},"reason":{"type":"string","enum":["organization_mismatch","end_user_mismatch","model_mismatch","prefix_mismatch","turn_boundary"],"isRequired":true,"uniqueKey":"oneOf.13.response.input_transformations.items.[INDEX].reason","typeLabel":"enum\u003cstring>"}},"type":"object","required":["type","id","action","reason"],"uniqueKey":"oneOf.13.response.input_transformations.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.13.response.input_transformations","typeLabel":"object[]"},"reasoning":{"oneOf":[{"type":"object","title":"Reasoning","description":"Configuration options for\n[reasoning models](https://developers.openai.com/api/docs/guides/reasoning).\n","properties":{"mode":{"oneOf":[{"type":"string","description":"Controls the reasoning execution mode for the request.\n\nWhen returned on a response, this is the effective execution mode.\n","uniqueKey":"oneOf.13.response.reasoning.oneOf.0.mode.oneOf.0","typeLabel":"string"},{"type":"string","description":"Controls the reasoning execution mode for the request.\n\nWhen returned on a response, this is the effective execution mode.\n","enum":["standard","pro"],"uniqueKey":"oneOf.13.response.reasoning.oneOf.0.mode.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"oneOf.13.response.reasoning.oneOf.0.mode","typeLabel":"string | enum\u003cstring>"},"effort":{"oneOf":[{"type":"string","description":"Constrains effort on reasoning for reasoning models. Currently supported\nvalues are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`.\nReducing reasoning effort can result in faster responses and fewer tokens\nused on reasoning in a response. Not all reasoning models support every\nvalue. See the\n[reasoning guide](https://developers.openai.com/api/docs/guides/reasoning)\nfor model-specific support.\n","default":"medium","enum":["none","minimal","low","medium","high","xhigh","max"],"uniqueKey":"oneOf.13.response.reasoning.oneOf.0.effort.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"oneOf.13.response.reasoning.oneOf.0.effort.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.reasoning.oneOf.0.effort","typeLabel":"enum\u003cstring> | null"},"summary":{"oneOf":[{"type":"string","description":"A summary of the reasoning performed by the model. This can be\nuseful for debugging and understanding the model's reasoning process.\nOne of `auto`, `concise`, or `detailed`.\n\n`concise` is supported for `computer-use-preview` models and all reasoning models after `gpt-5`.\n","enum":["auto","concise","detailed"],"uniqueKey":"oneOf.13.response.reasoning.oneOf.0.summary.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"oneOf.13.response.reasoning.oneOf.0.summary.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.reasoning.oneOf.0.summary","typeLabel":"enum\u003cstring> | null"},"context":{"oneOf":[{"type":"string","description":"Controls which reasoning items are rendered back to the model on later turns.\nIf omitted or set to `auto`, the model determines the context mode. The\n`gpt-5.6` model family defaults to `all_turns`; earlier models default to\n`current_turn`.\n\nWhen returned on a response, this is the effective reasoning context mode\nused for the response.\n","enum":["auto","current_turn","all_turns"],"uniqueKey":"oneOf.13.response.reasoning.oneOf.0.context.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"oneOf.13.response.reasoning.oneOf.0.context.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.reasoning.oneOf.0.context","typeLabel":"enum\u003cstring> | null"},"generate_summary":{"oneOf":[{"type":"string","description":"**Deprecated:** use `summary` instead.\n\nA summary of the reasoning performed by the model. This can be\nuseful for debugging and understanding the model's reasoning process.\nOne of `auto`, `concise`, or `detailed`.\n","enum":["auto","concise","detailed"],"deprecated":true,"uniqueKey":"oneOf.13.response.reasoning.oneOf.0.generate_summary.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"oneOf.13.response.reasoning.oneOf.0.generate_summary.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.reasoning.oneOf.0.generate_summary","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"oneOf.13.response.reasoning.oneOf.0","typeLabel":"Reasoning · object"},{"type":"null","uniqueKey":"oneOf.13.response.reasoning.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.reasoning","typeLabel":"Reasoning · object | null"},"output_text":{"oneOf":[{"type":"string","description":"SDK-only convenience property that contains the aggregated text output\nfrom all `output_text` items in the `output` array, if any are present.\nSupported in the Python and JavaScript SDKs.\n","uniqueKey":"oneOf.13.response.output_text.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.13.response.output_text.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.output_text","typeLabel":"string | null"},"usage":{"oneOf":[{"type":"object","description":"Represents token usage details including input tokens, output tokens,\na breakdown of output tokens, and the total tokens used.\n","required":["input_tokens","input_tokens_details","output_tokens","output_tokens_details","total_tokens"],"properties":{"input_tokens":{"type":"integer","description":"The number of input tokens.","isRequired":true,"uniqueKey":"oneOf.13.response.usage.oneOf.0.input_tokens","typeLabel":"integer"},"input_tokens_details":{"type":"object","description":"A detailed breakdown of the input tokens.","properties":{"cached_tokens":{"type":"integer","description":"The number of tokens that were retrieved from the cache.\n[More on prompt caching](https://developers.openai.com/api/docs/guides/prompt-caching).\n","isRequired":true,"uniqueKey":"oneOf.13.response.usage.oneOf.0.input_tokens_details.cached_tokens","typeLabel":"integer"},"cache_write_tokens":{"type":"integer","description":"The number of input tokens that were written to the cache.","isRequired":true,"uniqueKey":"oneOf.13.response.usage.oneOf.0.input_tokens_details.cache_write_tokens","typeLabel":"integer"},"cache_write_tokens_details":{"properties":{"ttl_30m_tokens":{"type":"integer","description":"The number of input tokens written with 30-minute retention.","isRequired":true,"uniqueKey":"oneOf.13.response.usage.oneOf.0.input_tokens_details.cache_write_tokens_details.ttl_30m_tokens","typeLabel":"integer"},"ttl_12h_tokens":{"type":"integer","description":"The number of input tokens written with 12-hour retention.","isRequired":true,"uniqueKey":"oneOf.13.response.usage.oneOf.0.input_tokens_details.cache_write_tokens_details.ttl_12h_tokens","typeLabel":"integer"}},"type":"object","required":["ttl_30m_tokens","ttl_12h_tokens"],"uniqueKey":"oneOf.13.response.usage.oneOf.0.input_tokens_details.cache_write_tokens_details","typeLabel":"object"}},"required":["cached_tokens","cache_write_tokens"],"isRequired":true,"uniqueKey":"oneOf.13.response.usage.oneOf.0.input_tokens_details","typeLabel":"object"},"output_tokens":{"type":"integer","description":"The number of output tokens.","isRequired":true,"uniqueKey":"oneOf.13.response.usage.oneOf.0.output_tokens","typeLabel":"integer"},"output_tokens_details":{"type":"object","description":"A detailed breakdown of the output tokens.","properties":{"reasoning_tokens":{"type":"integer","description":"The number of reasoning tokens.","isRequired":true,"uniqueKey":"oneOf.13.response.usage.oneOf.0.output_tokens_details.reasoning_tokens","typeLabel":"integer"}},"required":["reasoning_tokens"],"isRequired":true,"uniqueKey":"oneOf.13.response.usage.oneOf.0.output_tokens_details","typeLabel":"object"},"total_tokens":{"type":"integer","description":"The total number of tokens used.","isRequired":true,"uniqueKey":"oneOf.13.response.usage.oneOf.0.total_tokens","typeLabel":"integer"}},"uniqueKey":"oneOf.13.response.usage.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"oneOf.13.response.usage.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.usage","typeLabel":"object | null"},"tool_usage":{"properties":{"image_gen":{"properties":{"input_tokens":{"type":"integer","description":"The number of tokens (images and text) in the input prompt.","isRequired":true,"uniqueKey":"oneOf.13.response.tool_usage.image_gen.input_tokens","typeLabel":"integer"},"total_tokens":{"type":"integer","description":"The total number of tokens (images and text) used for the image generation.","isRequired":true,"uniqueKey":"oneOf.13.response.tool_usage.image_gen.total_tokens","typeLabel":"integer"},"output_tokens":{"type":"integer","description":"The number of output tokens generated by the model.","isRequired":true,"uniqueKey":"oneOf.13.response.tool_usage.image_gen.output_tokens","typeLabel":"integer"},"input_tokens_details":{"properties":{"text_tokens":{"type":"integer","description":"The number of text tokens in the input prompt.","isRequired":true,"uniqueKey":"oneOf.13.response.tool_usage.image_gen.input_tokens_details.text_tokens","typeLabel":"integer"},"image_tokens":{"type":"integer","description":"The number of image tokens in the input prompt.","isRequired":true,"uniqueKey":"oneOf.13.response.tool_usage.image_gen.input_tokens_details.image_tokens","typeLabel":"integer"}},"type":"object","required":["text_tokens","image_tokens"],"title":"Input usage details","description":"The input tokens detailed information for the image generation.","isRequired":true,"uniqueKey":"oneOf.13.response.tool_usage.image_gen.input_tokens_details","typeLabel":"Input usage details · object"},"output_tokens_details":{"properties":{"image_tokens":{"type":"integer","description":"The number of image output tokens generated by the model.","isRequired":true,"uniqueKey":"oneOf.13.response.tool_usage.image_gen.output_tokens_details.image_tokens","typeLabel":"integer"},"text_tokens":{"type":"integer","description":"The number of text output tokens generated by the model.","isRequired":true,"uniqueKey":"oneOf.13.response.tool_usage.image_gen.output_tokens_details.text_tokens","typeLabel":"integer"}},"type":"object","required":["image_tokens","text_tokens"],"title":"Image generation output token details","description":"The output token details for the image generation.","uniqueKey":"oneOf.13.response.tool_usage.image_gen.output_tokens_details","typeLabel":"Image generation output token details · object"},"cached_tokens":{"type":"integer","uniqueKey":"oneOf.13.response.tool_usage.image_gen.cached_tokens","typeLabel":"integer"},"cached_tokens_details":{"properties":{"cached_text_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.13.response.tool_usage.image_gen.cached_tokens_details.cached_text_tokens","typeLabel":"integer"},"cached_image_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.13.response.tool_usage.image_gen.cached_tokens_details.cached_image_tokens","typeLabel":"integer"}},"type":"object","required":["cached_text_tokens","cached_image_tokens"],"uniqueKey":"oneOf.13.response.tool_usage.image_gen.cached_tokens_details","typeLabel":"object"}},"type":"object","required":["input_tokens","total_tokens","output_tokens","input_tokens_details"],"title":"Image generation tool usage","description":"Aggregated usage statistics for image generation tool calls.","isRequired":true,"uniqueKey":"oneOf.13.response.tool_usage.image_gen","typeLabel":"Image generation tool usage · object"},"web_search":{"properties":{"num_requests":{"type":"integer","description":"The number of billable web search requests issued.","isRequired":true,"uniqueKey":"oneOf.13.response.tool_usage.web_search.num_requests","typeLabel":"integer"}},"type":"object","required":["num_requests"],"title":"Web search usage","description":"Aggregated billable usage statistics for web search tool calls.","isRequired":true,"uniqueKey":"oneOf.13.response.tool_usage.web_search","typeLabel":"Web search usage · object"}},"type":"object","required":["image_gen","web_search"],"title":"Response tool usage","description":"Usage reported by hosted tools, separate from base model `usage`. The field\ncan be omitted when tool usage is unavailable. When present, tool families\nwith no recorded usage have zero counts.\n\n`image_gen` sums available token counts across image generation calls.\nCalls with missing or incomplete usage records may be skipped. Output\ntoken details and cached input counts can be omitted. An omitted cache\ncount means cache usage is unknown.\n\n`web_search.num_requests` counts billable searches. Discounted searches\nand actions such as opening a page are excluded. Use billing records to\nreconcile final charges.\n","uniqueKey":"oneOf.13.response.tool_usage","typeLabel":"Response tool usage · object"},"prompt_cache_options":{"properties":{"ttl":{"type":"string","enum":["30m","12h"],"description":"The minimum lifetime applied to each cache breakpoint.","isRequired":true,"uniqueKey":"oneOf.13.response.prompt_cache_options.ttl","typeLabel":"enum\u003cstring>"},"mode":{"type":"string","enum":["implicit","explicit"],"description":"Whether implicit prompt-cache breakpoints were enabled.","isRequired":true,"uniqueKey":"oneOf.13.response.prompt_cache_options.mode","typeLabel":"enum\u003cstring>"},"comparison_response_id":{"oneOf":[{"type":"string","description":"The response ID supplied as the prompt cache diagnostics comparison.","uniqueKey":"oneOf.13.response.prompt_cache_options.comparison_response_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.13.response.prompt_cache_options.comparison_response_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.prompt_cache_options.comparison_response_id","typeLabel":"string | null"}},"type":"object","required":["ttl","mode"],"title":"Prompt cache options","description":"The prompt-caching options that were applied to the response. Supported for `gpt-5.6` and later models.","uniqueKey":"oneOf.13.response.prompt_cache_options","typeLabel":"Prompt cache options · object"},"prompt_cache_diagnostics":{"oneOf":[{"type":"object","description":"Prompt cache diagnostics requested for this response.","required":["type","reason","cache_missed_tokens"],"properties":{"type":{"type":"string","enum":["cache_miss"],"default":"cache_miss","isRequired":true,"uniqueKey":"oneOf.13.response.prompt_cache_diagnostics.oneOf.0.type","typeLabel":"enum\u003cstring>"},"reason":{"type":"string","enum":["model_changed","prompt_cache_key_changed","tools_changed","text_format_changed","reasoning_effort_changed","verbosity_changed","context_compacted","input_changed","service_tier_changed"],"description":"The reason prompt cache reuse did not occur.","isRequired":true,"uniqueKey":"oneOf.13.response.prompt_cache_diagnostics.oneOf.0.reason","typeLabel":"enum\u003cstring>"},"cache_missed_tokens":{"type":"integer","description":"The estimated number of input tokens affected after the first detected divergence.","isRequired":true,"uniqueKey":"oneOf.13.response.prompt_cache_diagnostics.oneOf.0.cache_missed_tokens","typeLabel":"integer"},"comparison_reusable_tokens":{"type":"integer","description":"The raw token count of the reusable prefix in the compared response.","uniqueKey":"oneOf.13.response.prompt_cache_diagnostics.oneOf.0.comparison_reusable_tokens","typeLabel":"integer"}},"uniqueKey":"oneOf.13.response.prompt_cache_diagnostics.oneOf.0","typeLabel":"object"},{"type":"object","description":"Prompt cache diagnostics requested for this response.","required":["type"],"properties":{"type":{"type":"string","enum":["cache_hit"],"default":"cache_hit","isRequired":true,"uniqueKey":"oneOf.13.response.prompt_cache_diagnostics.oneOf.1.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.13.response.prompt_cache_diagnostics.oneOf.1","typeLabel":"object"},{"type":"object","description":"Prompt cache diagnostics requested for this response.","required":["type"],"properties":{"type":{"type":"string","enum":["comparison_response_not_found"],"default":"comparison_response_not_found","isRequired":true,"uniqueKey":"oneOf.13.response.prompt_cache_diagnostics.oneOf.2.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.13.response.prompt_cache_diagnostics.oneOf.2","typeLabel":"object"},{"type":"object","description":"Prompt cache diagnostics requested for this response.","required":["type"],"properties":{"type":{"type":"string","enum":["unavailable"],"default":"unavailable","isRequired":true,"uniqueKey":"oneOf.13.response.prompt_cache_diagnostics.oneOf.3.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.13.response.prompt_cache_diagnostics.oneOf.3","typeLabel":"object"}],"uniqueKey":"oneOf.13.response.prompt_cache_diagnostics","typeLabel":"object"},"moderation":{"oneOf":[{"type":"object","title":"Moderation","description":"Moderation results for the response input and output, if moderated completions were requested.\n","required":["input","output"],"properties":{"input":{"oneOf":[{"type":"object","title":"Moderation result","description":"Moderation for the response input.","required":["type","model","flagged","categories","category_scores","category_applied_input_types"],"properties":{"type":{"type":"string","enum":["moderation_result"],"description":"The object type, which was always `moderation_result` for successful moderation results.","default":"moderation_result","isRequired":true,"uniqueKey":"oneOf.13.response.moderation.oneOf.0.input.oneOf.0.type","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"The moderation model that produced this result.","isRequired":true,"uniqueKey":"oneOf.13.response.moderation.oneOf.0.input.oneOf.0.model","typeLabel":"string"},"flagged":{"type":"boolean","description":"A boolean indicating whether the content was flagged by any category.","isRequired":true,"uniqueKey":"oneOf.13.response.moderation.oneOf.0.input.oneOf.0.flagged","typeLabel":"boolean"},"categories":{"additionalProperties":{"type":"boolean","uniqueKey":"oneOf.13.response.moderation.oneOf.0.input.oneOf.0.categories.additionalProperties","typeLabel":"boolean"},"type":"object","description":"A dictionary of moderation categories to booleans, True if the input is flagged under this category.","isRequired":true,"uniqueKey":"oneOf.13.response.moderation.oneOf.0.input.oneOf.0.categories","typeLabel":"object"},"category_scores":{"additionalProperties":{"type":"number","uniqueKey":"oneOf.13.response.moderation.oneOf.0.input.oneOf.0.category_scores.additionalProperties","typeLabel":"number"},"type":"object","description":"A dictionary of moderation categories to scores.","isRequired":true,"uniqueKey":"oneOf.13.response.moderation.oneOf.0.input.oneOf.0.category_scores","typeLabel":"object"},"category_applied_input_types":{"additionalProperties":{"items":{"type":"string","enum":["text","image"],"uniqueKey":"oneOf.13.response.moderation.oneOf.0.input.oneOf.0.category_applied_input_types.additionalProperties.items.[INDEX]","typeLabel":"enum\u003cstring>"},"type":"array","uniqueKey":"oneOf.13.response.moderation.oneOf.0.input.oneOf.0.category_applied_input_types.additionalProperties","typeLabel":"enum\u003cstring>[]"},"type":"object","description":"Which modalities of input are reflected by the score for each category.","isRequired":true,"uniqueKey":"oneOf.13.response.moderation.oneOf.0.input.oneOf.0.category_applied_input_types","typeLabel":"object"}},"isRequired":true,"uniqueKey":"oneOf.13.response.moderation.oneOf.0.input.oneOf.0","typeLabel":"Moderation result · object"},{"type":"object","title":"Moderation error","description":"Moderation for the response input.","required":["type","code","message"],"properties":{"type":{"type":"string","enum":["error"],"description":"The object type, which was always `error` for moderation failures.","default":"error","isRequired":true,"uniqueKey":"oneOf.13.response.moderation.oneOf.0.input.oneOf.1.type","typeLabel":"enum\u003cstring>"},"code":{"type":"string","description":"The error code.","isRequired":true,"uniqueKey":"oneOf.13.response.moderation.oneOf.0.input.oneOf.1.code","typeLabel":"string"},"message":{"type":"string","description":"The error message.","isRequired":true,"uniqueKey":"oneOf.13.response.moderation.oneOf.0.input.oneOf.1.message","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.13.response.moderation.oneOf.0.input.oneOf.1","typeLabel":"Moderation error · object"}],"isRequired":true,"uniqueKey":"oneOf.13.response.moderation.oneOf.0.input","typeLabel":"Moderation result · object | Moderation error · object"},"output":{"oneOf":[{"type":"object","title":"Moderation result","description":"Moderation for the response output.","required":["type","model","flagged","categories","category_scores","category_applied_input_types"],"properties":{"type":{"type":"string","enum":["moderation_result"],"description":"The object type, which was always `moderation_result` for successful moderation results.","default":"moderation_result","isRequired":true,"uniqueKey":"oneOf.13.response.moderation.oneOf.0.output.oneOf.0.type","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"The moderation model that produced this result.","isRequired":true,"uniqueKey":"oneOf.13.response.moderation.oneOf.0.output.oneOf.0.model","typeLabel":"string"},"flagged":{"type":"boolean","description":"A boolean indicating whether the content was flagged by any category.","isRequired":true,"uniqueKey":"oneOf.13.response.moderation.oneOf.0.output.oneOf.0.flagged","typeLabel":"boolean"},"categories":{"additionalProperties":{"type":"boolean","uniqueKey":"oneOf.13.response.moderation.oneOf.0.output.oneOf.0.categories.additionalProperties","typeLabel":"boolean"},"type":"object","description":"A dictionary of moderation categories to booleans, True if the input is flagged under this category.","isRequired":true,"uniqueKey":"oneOf.13.response.moderation.oneOf.0.output.oneOf.0.categories","typeLabel":"object"},"category_scores":{"additionalProperties":{"type":"number","uniqueKey":"oneOf.13.response.moderation.oneOf.0.output.oneOf.0.category_scores.additionalProperties","typeLabel":"number"},"type":"object","description":"A dictionary of moderation categories to scores.","isRequired":true,"uniqueKey":"oneOf.13.response.moderation.oneOf.0.output.oneOf.0.category_scores","typeLabel":"object"},"category_applied_input_types":{"additionalProperties":{"items":{"type":"string","enum":["text","image"],"uniqueKey":"oneOf.13.response.moderation.oneOf.0.output.oneOf.0.category_applied_input_types.additionalProperties.items.[INDEX]","typeLabel":"enum\u003cstring>"},"type":"array","uniqueKey":"oneOf.13.response.moderation.oneOf.0.output.oneOf.0.category_applied_input_types.additionalProperties","typeLabel":"enum\u003cstring>[]"},"type":"object","description":"Which modalities of input are reflected by the score for each category.","isRequired":true,"uniqueKey":"oneOf.13.response.moderation.oneOf.0.output.oneOf.0.category_applied_input_types","typeLabel":"object"}},"isRequired":true,"uniqueKey":"oneOf.13.response.moderation.oneOf.0.output.oneOf.0","typeLabel":"Moderation result · object"},{"type":"object","title":"Moderation error","description":"Moderation for the response output.","required":["type","code","message"],"properties":{"type":{"type":"string","enum":["error"],"description":"The object type, which was always `error` for moderation failures.","default":"error","isRequired":true,"uniqueKey":"oneOf.13.response.moderation.oneOf.0.output.oneOf.1.type","typeLabel":"enum\u003cstring>"},"code":{"type":"string","description":"The error code.","isRequired":true,"uniqueKey":"oneOf.13.response.moderation.oneOf.0.output.oneOf.1.code","typeLabel":"string"},"message":{"type":"string","description":"The error message.","isRequired":true,"uniqueKey":"oneOf.13.response.moderation.oneOf.0.output.oneOf.1.message","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.13.response.moderation.oneOf.0.output.oneOf.1","typeLabel":"Moderation error · object"}],"isRequired":true,"uniqueKey":"oneOf.13.response.moderation.oneOf.0.output","typeLabel":"Moderation result · object | Moderation error · object"}},"uniqueKey":"oneOf.13.response.moderation.oneOf.0","typeLabel":"Moderation · object"},{"type":"null","uniqueKey":"oneOf.13.response.moderation.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.moderation","typeLabel":"Moderation · object | null"},"conversation":{"oneOf":[{"type":"object","title":"Conversation","description":"The conversation that this response belonged to. Input items and output items from this response were automatically added to this conversation.","default":null,"required":["id"],"properties":{"id":{"type":"string","description":"The unique ID of the conversation that this response was associated with.","isRequired":true,"uniqueKey":"oneOf.13.response.conversation.oneOf.0.id","typeLabel":"string"}},"uniqueKey":"oneOf.13.response.conversation.oneOf.0","typeLabel":"Conversation · object"},{"type":"null","uniqueKey":"oneOf.13.response.conversation.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.conversation","typeLabel":"Conversation · object | null"},"max_output_tokens":{"oneOf":[{"type":"integer","description":"An upper bound for the number of tokens that can be generated for a response, including visible output tokens and [reasoning tokens](https://developers.openai.com/api/docs/guides/reasoning).\n","uniqueKey":"oneOf.13.response.max_output_tokens.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"oneOf.13.response.max_output_tokens.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.13.response.max_output_tokens","typeLabel":"integer | null"}},"isRequired":true,"uniqueKey":"oneOf.13.response","typeLabel":"The response object · object"},"sequence_number":{"type":"integer","description":"The sequence number for this event.","isRequired":true,"uniqueKey":"oneOf.13.sequence_number","typeLabel":"integer"}},"uniqueKey":"oneOf.13","typeLabel":"object"},{"type":"object","description":"Event emitted while a response is streamed.","required":["type","code","message","param","sequence_number"],"properties":{"type":{"type":"string","description":"The type of the event. Always `error`.\n","const":"error","isRequired":true,"uniqueKey":"oneOf.14.type","typeLabel":"string"},"code":{"oneOf":[{"type":"string","description":"The error code.\n","isRequired":true,"uniqueKey":"oneOf.14.code.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.14.code.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.14.code","typeLabel":"string | null"},"message":{"type":"string","description":"The error message.\n","isRequired":true,"uniqueKey":"oneOf.14.message","typeLabel":"string"},"param":{"oneOf":[{"type":"string","description":"The error parameter.\n","isRequired":true,"uniqueKey":"oneOf.14.param.oneOf.0","typeLabel":"string"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.14.param.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.14.param","typeLabel":"string | null"},"sequence_number":{"type":"integer","description":"The sequence number of this event.","isRequired":true,"uniqueKey":"oneOf.14.sequence_number","typeLabel":"integer"}},"uniqueKey":"oneOf.14","typeLabel":"object"},{"type":"object","description":"Event emitted while a response is streamed.","required":["type","output_index","item_id","sequence_number"],"properties":{"type":{"type":"string","description":"The type of the event. Always `response.file_search_call.completed`.\n","const":"response.file_search_call.completed","isRequired":true,"uniqueKey":"oneOf.15.type","typeLabel":"string"},"output_index":{"type":"integer","description":"The index of the output item that the file search call is initiated.\n","isRequired":true,"uniqueKey":"oneOf.15.output_index","typeLabel":"integer"},"item_id":{"type":"string","description":"The ID of the output item that the file search call is initiated.\n","isRequired":true,"uniqueKey":"oneOf.15.item_id","typeLabel":"string"},"sequence_number":{"type":"integer","description":"The sequence number of this event.","isRequired":true,"uniqueKey":"oneOf.15.sequence_number","typeLabel":"integer"}},"uniqueKey":"oneOf.15","typeLabel":"object"},{"type":"object","description":"Event emitted while a response is streamed.","required":["type","output_index","item_id","sequence_number"],"properties":{"type":{"type":"string","description":"The type of the event. Always `response.file_search_call.in_progress`.\n","const":"response.file_search_call.in_progress","isRequired":true,"uniqueKey":"oneOf.16.type","typeLabel":"string"},"output_index":{"type":"integer","description":"The index of the output item that the file search call is initiated.\n","isRequired":true,"uniqueKey":"oneOf.16.output_index","typeLabel":"integer"},"item_id":{"type":"string","description":"The ID of the output item that the file search call is initiated.\n","isRequired":true,"uniqueKey":"oneOf.16.item_id","typeLabel":"string"},"sequence_number":{"type":"integer","description":"The sequence number of this event.","isRequired":true,"uniqueKey":"oneOf.16.sequence_number","typeLabel":"integer"}},"uniqueKey":"oneOf.16","typeLabel":"object"},{"type":"object","description":"Event emitted while a response is streamed.","required":["type","output_index","item_id","sequence_number"],"properties":{"type":{"type":"string","description":"The type of the event. Always `response.file_search_call.searching`.\n","const":"response.file_search_call.searching","isRequired":true,"uniqueKey":"oneOf.17.type","typeLabel":"string"},"output_index":{"type":"integer","description":"The index of the output item that the file search call is searching.\n","isRequired":true,"uniqueKey":"oneOf.17.output_index","typeLabel":"integer"},"item_id":{"type":"string","description":"The ID of the output item that the file search call is initiated.\n","isRequired":true,"uniqueKey":"oneOf.17.item_id","typeLabel":"string"},"sequence_number":{"type":"integer","description":"The sequence number of this event.","isRequired":true,"uniqueKey":"oneOf.17.sequence_number","typeLabel":"integer"}},"uniqueKey":"oneOf.17","typeLabel":"object"},{"type":"object","description":"Event emitted while a response is streamed.","required":["type","item_id","output_index","delta","sequence_number"],"properties":{"type":{"type":"string","description":"The type of the event. Always `response.function_call_arguments.delta`.\n","const":"response.function_call_arguments.delta","isRequired":true,"uniqueKey":"oneOf.18.type","typeLabel":"string"},"item_id":{"type":"string","description":"The ID of the output item that the function-call arguments delta is added to.\n","isRequired":true,"uniqueKey":"oneOf.18.item_id","typeLabel":"string"},"output_index":{"type":"integer","description":"The index of the output item that the function-call arguments delta is added to.\n","isRequired":true,"uniqueKey":"oneOf.18.output_index","typeLabel":"integer"},"sequence_number":{"type":"integer","description":"The sequence number of this event.","isRequired":true,"uniqueKey":"oneOf.18.sequence_number","typeLabel":"integer"},"delta":{"type":"string","description":"The function-call arguments delta that is added.\n","isRequired":true,"uniqueKey":"oneOf.18.delta","typeLabel":"string"}},"uniqueKey":"oneOf.18","typeLabel":"object"},{"type":"object","description":"Event emitted while a response is streamed.","required":["type","item_id","output_index","arguments","sequence_number"],"properties":{"type":{"type":"string","const":"response.function_call_arguments.done","isRequired":true,"uniqueKey":"oneOf.19.type","typeLabel":"string"},"item_id":{"type":"string","description":"The ID of the item.","isRequired":true,"uniqueKey":"oneOf.19.item_id","typeLabel":"string"},"output_index":{"type":"integer","description":"The index of the output item.","isRequired":true,"uniqueKey":"oneOf.19.output_index","typeLabel":"integer"},"sequence_number":{"type":"integer","description":"The sequence number of this event.","isRequired":true,"uniqueKey":"oneOf.19.sequence_number","typeLabel":"integer"},"arguments":{"type":"string","description":"The function-call arguments.","isRequired":true,"uniqueKey":"oneOf.19.arguments","typeLabel":"string"}},"uniqueKey":"oneOf.19","typeLabel":"object"},{"type":"object","title":"Response shell command added event","description":"Event emitted while a response is streamed.","required":["type","sequence_number","output_index","command_index","command"],"properties":{"type":{"type":"string","enum":["response.shell_call_command.added"],"description":"The type of the event, always `response.shell_call_command.added`.","default":"response.shell_call_command.added","isRequired":true,"uniqueKey":"oneOf.20.type","typeLabel":"enum\u003cstring>"},"sequence_number":{"type":"integer","description":"The sequence number of the event that was emitted.","isRequired":true,"uniqueKey":"oneOf.20.sequence_number","typeLabel":"integer"},"output_index":{"type":"integer","description":"The index of the output item that was updated.","isRequired":true,"uniqueKey":"oneOf.20.output_index","typeLabel":"integer"},"command_index":{"type":"integer","description":"The index of the shell command that was added.","isRequired":true,"uniqueKey":"oneOf.20.command_index","typeLabel":"integer"},"command":{"type":"string","description":"The shell command that was added.","isRequired":true,"uniqueKey":"oneOf.20.command","typeLabel":"string"}},"uniqueKey":"oneOf.20","typeLabel":"Response shell command added event · object"},{"type":"object","title":"Response shell command delta event","description":"Event emitted while a response is streamed.","required":["type","sequence_number","output_index","command_index","delta"],"properties":{"type":{"type":"string","enum":["response.shell_call_command.delta"],"description":"The type of the event, always `response.shell_call_command.delta`.","default":"response.shell_call_command.delta","isRequired":true,"uniqueKey":"oneOf.21.type","typeLabel":"enum\u003cstring>"},"sequence_number":{"type":"integer","description":"The sequence number of the event that was emitted.","isRequired":true,"uniqueKey":"oneOf.21.sequence_number","typeLabel":"integer"},"output_index":{"type":"integer","description":"The index of the output item that was updated.","isRequired":true,"uniqueKey":"oneOf.21.output_index","typeLabel":"integer"},"command_index":{"type":"integer","description":"The index of the shell command that was updated.","isRequired":true,"uniqueKey":"oneOf.21.command_index","typeLabel":"integer"},"delta":{"type":"string","description":"The shell command delta that was appended.","isRequired":true,"uniqueKey":"oneOf.21.delta","typeLabel":"string"},"obfuscation":{"type":"string","description":"An obfuscation string that was added to pad the event payload.","uniqueKey":"oneOf.21.obfuscation","typeLabel":"string"}},"uniqueKey":"oneOf.21","typeLabel":"Response shell command delta event · object"},{"type":"object","title":"Response shell command done event","description":"Event emitted while a response is streamed.","required":["type","sequence_number","output_index","command_index","command"],"properties":{"type":{"type":"string","enum":["response.shell_call_command.done"],"description":"The type of the event, always `response.shell_call_command.done`.","default":"response.shell_call_command.done","isRequired":true,"uniqueKey":"oneOf.22.type","typeLabel":"enum\u003cstring>"},"sequence_number":{"type":"integer","description":"The sequence number of the event that was emitted.","isRequired":true,"uniqueKey":"oneOf.22.sequence_number","typeLabel":"integer"},"output_index":{"type":"integer","description":"The index of the output item that was updated.","isRequired":true,"uniqueKey":"oneOf.22.output_index","typeLabel":"integer"},"command_index":{"type":"integer","description":"The index of the shell command that was completed.","isRequired":true,"uniqueKey":"oneOf.22.command_index","typeLabel":"integer"},"command":{"type":"string","description":"The final shell command that was emitted.","isRequired":true,"uniqueKey":"oneOf.22.command","typeLabel":"string"}},"uniqueKey":"oneOf.22","typeLabel":"Response shell command done event · object"},{"type":"object","title":"Response shell call output content delta event","description":"Event emitted while a response is streamed.","required":["type","sequence_number","item_id","output_index","command_index","delta"],"properties":{"type":{"type":"string","enum":["response.shell_call_output_content.delta"],"description":"The type of the event, always `response.shell_call_output_content.delta`.","default":"response.shell_call_output_content.delta","isRequired":true,"uniqueKey":"oneOf.23.type","typeLabel":"enum\u003cstring>"},"sequence_number":{"type":"integer","description":"The sequence number of the event that was emitted.","isRequired":true,"uniqueKey":"oneOf.23.sequence_number","typeLabel":"integer"},"item_id":{"type":"string","description":"The ID of the output item that was updated.","isRequired":true,"uniqueKey":"oneOf.23.item_id","typeLabel":"string"},"output_index":{"type":"integer","description":"The index of the output item that was updated.","isRequired":true,"uniqueKey":"oneOf.23.output_index","typeLabel":"integer"},"command_index":{"type":"integer","description":"The index of the shell command that produced output.","isRequired":true,"uniqueKey":"oneOf.23.command_index","typeLabel":"integer"},"delta":{"properties":{"stdout":{"type":"string","description":"The stdout delta that was emitted.","uniqueKey":"oneOf.23.delta.stdout","typeLabel":"string"},"stderr":{"type":"string","description":"The stderr delta that was emitted.","uniqueKey":"oneOf.23.delta.stderr","typeLabel":"string"}},"type":"object","required":[],"title":"Shell call output delta","description":"The stdout/stderr delta that was emitted.","isRequired":true,"uniqueKey":"oneOf.23.delta","typeLabel":"Shell call output delta · object"}},"uniqueKey":"oneOf.23","typeLabel":"Response shell call output content delta event · object"},{"type":"object","title":"Response shell call output content done event","description":"Event emitted while a response is streamed.","required":["type","sequence_number","item_id","output_index","command_index","output"],"properties":{"type":{"type":"string","enum":["response.shell_call_output_content.done"],"description":"The type of the event, always `response.shell_call_output_content.done`.","default":"response.shell_call_output_content.done","isRequired":true,"uniqueKey":"oneOf.24.type","typeLabel":"enum\u003cstring>"},"sequence_number":{"type":"integer","description":"The sequence number of the event that was emitted.","isRequired":true,"uniqueKey":"oneOf.24.sequence_number","typeLabel":"integer"},"item_id":{"type":"string","description":"The ID of the output item that was updated.","isRequired":true,"uniqueKey":"oneOf.24.item_id","typeLabel":"string"},"output_index":{"type":"integer","description":"The index of the output item that was updated.","isRequired":true,"uniqueKey":"oneOf.24.output_index","typeLabel":"integer"},"command_index":{"type":"integer","description":"The index of the shell command that produced output.","isRequired":true,"uniqueKey":"oneOf.24.command_index","typeLabel":"integer"},"output":{"items":{"properties":{"stdout":{"type":"string","description":"The standard output that was captured.","isRequired":true,"uniqueKey":"oneOf.24.output.items.[INDEX].stdout","typeLabel":"string"},"stderr":{"type":"string","description":"The standard error output that was captured.","isRequired":true,"uniqueKey":"oneOf.24.output.items.[INDEX].stderr","typeLabel":"string"},"outcome":{"oneOf":[{"type":"object","title":"Shell call timeout outcome","description":"Indicates that the shell call exceeded its configured time limit.","required":["type"],"properties":{"type":{"type":"string","enum":["timeout"],"description":"The outcome type. Always `timeout`.","default":"timeout","isRequired":true,"uniqueKey":"oneOf.24.output.items.[INDEX].outcome.oneOf.0.type","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.24.output.items.[INDEX].outcome.oneOf.0","typeLabel":"Shell call timeout outcome · object"},{"type":"object","title":"Shell call exit outcome","description":"Indicates that the shell commands finished and returned an exit code.","required":["type","exit_code"],"properties":{"type":{"type":"string","enum":["exit"],"description":"The outcome type. Always `exit`.","default":"exit","isRequired":true,"uniqueKey":"oneOf.24.output.items.[INDEX].outcome.oneOf.1.type","typeLabel":"enum\u003cstring>"},"exit_code":{"type":"integer","description":"Exit code from the shell process.","isRequired":true,"uniqueKey":"oneOf.24.output.items.[INDEX].outcome.oneOf.1.exit_code","typeLabel":"integer"}},"isRequired":true,"uniqueKey":"oneOf.24.output.items.[INDEX].outcome.oneOf.1","typeLabel":"Shell call exit outcome · object"}],"isRequired":true,"uniqueKey":"oneOf.24.output.items.[INDEX].outcome","typeLabel":"Shell call timeout outcome · object | Shell call exit outcome · object"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.","uniqueKey":"oneOf.24.output.items.[INDEX].created_by","typeLabel":"string"}},"type":"object","required":["stdout","stderr","outcome"],"title":"Shell call output content","description":"The content of a shell tool call output that was emitted.","uniqueKey":"oneOf.24.output.items.[INDEX]","typeLabel":"Shell call output content · object"},"type":"array","description":"The output contents emitted for the shell command.","isRequired":true,"uniqueKey":"oneOf.24.output","typeLabel":"Shell call output content · object[]"}},"uniqueKey":"oneOf.24","typeLabel":"Response shell call output content done event · object"},{"type":"object","description":"Event emitted while a response is streamed.","required":["type","response","sequence_number"],"properties":{"type":{"type":"string","description":"The type of the event. Always `response.in_progress`.\n","const":"response.in_progress","isRequired":true,"uniqueKey":"oneOf.25.type","typeLabel":"string"},"response":{"type":"object","title":"The response object","description":"The response that is in progress.\n","required":["access_programs","id","object","created_at","error","incomplete_details","instructions","model","tools","output","parallel_tool_calls","metadata","tool_choice","temperature","top_p"],"example":{"id":"resp_67ccd3a9da748190baa7f1570fe91ac604becb25c45c1d41","object":"response","access_programs":null,"created_at":1741476777,"status":"completed","completed_at":1741476778,"error":null,"incomplete_details":null,"instructions":null,"max_output_tokens":null,"model":"gpt-6.2-astra","output":[{"type":"message","id":"msg_67ccd3acc8d48190a77525dc6de64b4104becb25c45c1d41","status":"completed","role":"assistant","content":[{"type":"output_text","text":"The image depicts a scenic landscape with a wooden boardwalk or pathway leading through lush, green grass under a blue sky with some clouds. The setting suggests a peaceful natural area, possibly a park or nature reserve. There are trees and shrubs in the background.","annotations":[],"logprobs":[]}]}],"parallel_tool_calls":true,"previous_response_id":null,"reasoning":{"effort":null,"summary":null,"context":null},"temperature":1,"text":{"format":{"type":"text"}},"tool_choice":"auto","tools":[],"top_p":1,"truncation":"disabled","usage":{"input_tokens":328,"input_tokens_details":{"cached_tokens":0,"cache_write_tokens":0},"output_tokens":52,"output_tokens_details":{"reasoning_tokens":0},"total_tokens":380},"tool_usage":{"image_gen":{"input_tokens":0,"input_tokens_details":{"text_tokens":0,"image_tokens":0},"output_tokens":0,"output_tokens_details":{"text_tokens":0,"image_tokens":0},"total_tokens":0},"web_search":{"num_requests":0}},"user":null,"metadata":{}},"properties":{"metadata":{"oneOf":[{"type":"object","description":"Set of 16 key-value pairs that can be attached to an object. This can be\nuseful for storing additional information about the object in a structured\nformat, and querying for objects via API or the dashboard.\n\nKeys are strings with a maximum length of 64 characters. Values are strings\nwith a maximum length of 512 characters.\n","additionalProperties":{"type":"string","uniqueKey":"oneOf.25.response.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"isRequired":true,"uniqueKey":"oneOf.25.response.metadata.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.25.response.metadata.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.25.response.metadata","typeLabel":"object | null"},"temperature":{"oneOf":[{"type":"number","description":"What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.\nWe generally recommend altering this or `top_p` but not both.\n","default":1,"maximum":2,"minimum":0,"example":1,"isRequired":true,"uniqueKey":"oneOf.25.response.temperature.oneOf.0","typeLabel":"number"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.25.response.temperature.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.25.response.temperature","typeLabel":"number | null"},"top_p":{"oneOf":[{"type":"number","description":"An alternative to sampling with temperature, called nucleus sampling,\nwhere the model considers the results of the tokens with top_p probability\nmass. So 0.1 means only the tokens comprising the top 10% probability mass\nare considered.\n\nWe generally recommend altering this or `temperature` but not both.\n","default":1,"maximum":1,"minimum":0,"example":1,"isRequired":true,"uniqueKey":"oneOf.25.response.top_p.oneOf.0","typeLabel":"number"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.25.response.top_p.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.25.response.top_p","typeLabel":"number | null"},"model":{"type":"string","description":"ID of the model to use, for example `gpt-6.2-sol`. See [Models](/en/llm/openai-responses) for the available models.","example":"gpt-6.2-sol","isRequired":true,"uniqueKey":"oneOf.25.response.model","typeLabel":"string"},"tools":{"type":"array","description":"An array of tools the model may call while generating a response. You\ncan specify which tool to use by setting the `tool_choice` parameter.\n\nWe support the following categories of tools:\n- **Built-in tools**: Tools that are provided by OpenAI that extend the\n model's capabilities, like [web search](https://developers.openai.com/api/docs/guides/tools-web-search)\n or [file search](https://developers.openai.com/api/docs/guides/tools-file-search). Learn more about\n [built-in tools](https://developers.openai.com/api/docs/guides/tools).\n- **MCP Tools**: Integrations with third-party systems via custom MCP servers\n or predefined connectors such as Google Drive and SharePoint. Learn more about\n [MCP Tools](https://developers.openai.com/api/docs/guides/tools-connectors-mcp).\n- **Function calls (custom tools)**: Functions that are defined by you,\n enabling the model to call your own code with strongly typed arguments\n and outputs. Learn more about\n [function calling](https://developers.openai.com/api/docs/guides/function-calling). You can also use\n custom tools to call your own code.\n","items":{"oneOf":[{"type":"object","title":"Function","description":"A tool that can be used to generate a response.\n","required":["type","name","strict","parameters"],"properties":{"type":{"type":"string","enum":["function"],"description":"The type of the function tool. Always `function`.","default":"function","isRequired":true,"uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"The name of the function to call.","isRequired":true,"uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.0.name","typeLabel":"string"},"parameters":{"type":"any","isRequired":true,"uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.0.parameters","typeLabel":"any"},"strict":{"type":"any","isRequired":true,"uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.0.strict","typeLabel":"any"},"async":{"type":"boolean","uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.0.async","typeLabel":"boolean"},"description":{"type":"any","uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.0.description","typeLabel":"any"},"output_schema":{"type":"any","uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.0.output_schema","typeLabel":"any"},"defer_loading":{"type":"boolean","description":"Whether this function is deferred and loaded via tool search.","uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.0.defer_loading","typeLabel":"boolean"},"allowed_callers":{"type":"any","uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.0.allowed_callers","typeLabel":"any"}},"uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.0","typeLabel":"Function · object"},{"type":"object","title":"File search","description":"A tool that can be used to generate a response.\n","required":["type","vector_store_ids"],"properties":{"type":{"type":"string","enum":["file_search"],"description":"The type of the file search tool. Always `file_search`.","default":"file_search","isRequired":true,"uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"vector_store_ids":{"items":{"type":"string","uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.1.vector_store_ids.items.[INDEX]","typeLabel":"string"},"type":"array","description":"The IDs of the vector stores to search.","isRequired":true,"uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.1.vector_store_ids","typeLabel":"string[]"},"max_num_results":{"type":"integer","description":"The maximum number of results to return. This number should be between 1 and 50 inclusive.","uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.1.max_num_results","typeLabel":"integer"},"ranking_options":{"properties":{"ranker":{"type":"string","enum":["auto","default-2024-11-15"],"description":"The ranker to use for the file search.","uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.1.ranking_options.ranker","typeLabel":"enum\u003cstring>"},"score_threshold":{"type":"number","description":"The score threshold for the file search, a number between 0 and 1. Numbers closer to 1 will attempt to return only the most relevant results, but may return fewer results.","uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.1.ranking_options.score_threshold","typeLabel":"number"},"hybrid_search":{"properties":{"embedding_weight":{"type":"number","description":"The weight of the embedding in the reciprocal ranking fusion.","isRequired":true,"uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.1.ranking_options.hybrid_search.embedding_weight","typeLabel":"number"},"text_weight":{"type":"number","description":"The weight of the text in the reciprocal ranking fusion.","isRequired":true,"uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.1.ranking_options.hybrid_search.text_weight","typeLabel":"number"}},"type":"object","required":["embedding_weight","text_weight"],"description":"Weights that control how reciprocal rank fusion balances semantic embedding matches versus sparse keyword matches when hybrid search is enabled.","uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.1.ranking_options.hybrid_search","typeLabel":"object"}},"type":"object","required":[],"description":"Ranking options for search.","uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.1.ranking_options","typeLabel":"object"},"filters":{"type":"any","uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.1.filters","typeLabel":"any"}},"uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.1","typeLabel":"File search · object"},{"type":"object","title":"Computer","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["computer"],"description":"The type of the computer tool. Always `computer`.","default":"computer","isRequired":true,"uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.2","typeLabel":"Computer · object"},{"type":"object","title":"Computer use preview","description":"A tool that can be used to generate a response.\n","required":["type","environment","display_width","display_height"],"properties":{"type":{"type":"string","enum":["computer_use_preview"],"description":"The type of the computer use tool. Always `computer_use_preview`.","default":"computer_use_preview","isRequired":true,"uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"environment":{"type":"string","enum":["windows","mac","linux","ubuntu","browser"],"description":"The type of computer environment to control.","isRequired":true,"uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.3.environment","typeLabel":"enum\u003cstring>"},"display_width":{"type":"integer","description":"The width of the computer display.","isRequired":true,"uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.3.display_width","typeLabel":"integer"},"display_height":{"type":"integer","description":"The height of the computer display.","isRequired":true,"uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.3.display_height","typeLabel":"integer"}},"uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.3","typeLabel":"Computer use preview · object"},{"type":"object","title":"Web search","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["web_search","web_search_2025_08_26"],"description":"The type of the web search tool. One of `web_search` or `web_search_2025_08_26`.","default":"web_search","isRequired":true,"uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.4.type","typeLabel":"enum\u003cstring>"},"external_web_access":{"type":"boolean","default":true,"description":"Allow live internet access for web search. Defaults to true when omitted. When false, the web search tool runs in offline/cache-only mode and will not fetch new external content.","uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.4.external_web_access","typeLabel":"boolean"},"filters":{"type":"any","uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.4.filters","typeLabel":"any"},"user_location":{"type":"any","description":"The approximate location of the user. If omitted or null, defaults to the\nUnited States. To avoid this fallback, pass `{\"type\": \"approximate\"}` without\nlocation fields. To localize results, provide the relevant location fields.\n","uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.4.user_location","typeLabel":"any"},"search_context_size":{"type":"string","enum":["low","medium","high"],"default":"medium","description":"High level guidance for the amount of context window space to use for the search. One of `low`, `medium`, or `high`. `medium` is the default.","uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.4.search_context_size","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.4","typeLabel":"Web search · object"},{"type":"object","title":"MCP tool","description":"A tool that can be used to generate a response.\n","required":["type","server_label"],"properties":{"type":{"type":"string","const":"mcp","description":"The type of the MCP tool. Always `mcp`.","isRequired":true,"uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.5.type","typeLabel":"string"},"server_label":{"type":"string","description":"A label for this MCP server, used to identify it in tool calls.\n","isRequired":true,"uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.5.server_label","typeLabel":"string"},"server_url":{"type":"string","format":"uri","description":"The URL for the MCP server. One of `server_url`, `connector_id`, or\n`tunnel_id` must be provided.\n","uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.5.server_url","typeLabel":"string\u003curi>"},"connector_id":{"type":"string","deprecated":true,"enum":["connector_dropbox","connector_gmail","connector_googlecalendar","connector_googledrive","connector_microsoftteams","connector_outlookcalendar","connector_outlookemail","connector_sharepoint"],"description":"Identifier for service connectors, like those available in ChatGPT. One of\n`server_url`, `connector_id`, or `tunnel_id` must be provided. Learn more\nabout service connectors [here](https://developers.openai.com/api/docs/guides/tools-connectors-mcp#connectors).\n\nThis field is deprecated for models released after September 1, 2026.\nUse `server_url` to connect to a remote MCP server, or `tunnel_id` to\nconnect through a Secure MCP Tunnel.\n\nCurrently supported `connector_id` values are:\n\n- Dropbox: `connector_dropbox`\n- Gmail: `connector_gmail`\n- Google Calendar: `connector_googlecalendar`\n- Google Drive: `connector_googledrive`\n- Microsoft Teams: `connector_microsoftteams`\n- Outlook Calendar: `connector_outlookcalendar`\n- Outlook Email: `connector_outlookemail`\n- SharePoint: `connector_sharepoint`\n","uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.5.connector_id","typeLabel":"enum\u003cstring>"},"tunnel_id":{"type":"string","pattern":"^tunnel_[a-z0-9]{32}$","description":"The Secure MCP Tunnel ID to use instead of a direct server URL. One of\n`server_url`, `connector_id`, or `tunnel_id` must be provided.\n","uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.5.tunnel_id","typeLabel":"string"},"authorization":{"type":"string","description":"An OAuth access token that can be used with a remote MCP server, either\nwith a custom MCP server URL or a service connector. Your application\nmust handle the OAuth authorization flow and provide the token here.\n","uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.5.authorization","typeLabel":"string"},"server_description":{"type":"string","description":"Optional description of the MCP server, used to provide more context.\n","uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.5.server_description","typeLabel":"string"},"headers":{"type":"any","uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.5.headers","typeLabel":"any"},"allowed_tools":{"type":"any","uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.5.allowed_tools","typeLabel":"any"},"allowed_callers":{"type":"any","uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.5.allowed_callers","typeLabel":"any"},"require_approval":{"type":"any","uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.5.require_approval","typeLabel":"any"},"defer_loading":{"type":"boolean","description":"Whether this MCP tool is deferred and discovered via tool search.\n","uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.5.defer_loading","typeLabel":"boolean"}},"uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.5","typeLabel":"MCP tool · object"},{"type":"object","title":"Code interpreter","description":"A tool that can be used to generate a response.\n","required":["type","container"],"properties":{"type":{"type":"string","enum":["code_interpreter"],"description":"The type of the code interpreter tool. Always `code_interpreter`.\n","isRequired":true,"uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.6.type","typeLabel":"enum\u003cstring>"},"container":{"type":"any","description":"The code interpreter container. Can be a container ID or an object that\nspecifies uploaded file IDs to make available to your code, along with an\noptional `memory_limit` setting.\n","isRequired":true,"uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.6.container","typeLabel":"any"},"allowed_callers":{"type":"any","uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.6.allowed_callers","typeLabel":"any"}},"uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.6","typeLabel":"Code interpreter · object"},{"type":"object","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["programmatic_tool_calling"],"description":"The type of the tool. Always `programmatic_tool_calling`.","default":"programmatic_tool_calling","isRequired":true,"uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.7.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.7","typeLabel":"object"},{"type":"object","title":"Image generation tool","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["image_generation"],"description":"The type of the image generation tool. Always `image_generation`.\n","isRequired":true,"uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.8.type","typeLabel":"enum\u003cstring>"},"model":{"type":"any","uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.8.model","typeLabel":"any"},"complexity":{"type":"string","enum":["low","medium","high"],"description":"Computation spent planning the image, independently of rendering quality.\nOverrides the outer response's `reasoning.effort` for image generation.\nWhen omitted, inherits a supported outer reasoning effort or uses the\nimage model's configured default.\nFor SVG output, controls the reference image, not the SVG author's\nreasoning.\n","uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.8.complexity","typeLabel":"enum\u003cstring>"},"quality":{"type":"string","enum":["low","medium","high","xhigh","max","auto"],"description":"The quality of the generated image. The GPT image models support `low`,\n`medium`, and `high`. `gpt-image-2.5-sunburst` and `gpt-image-2.5-flare`,\nincluding their `2026-09-08` snapshots, also support `xhigh` and `max`.\nDefault: `auto`.\n","default":"auto","uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.8.quality","typeLabel":"enum\u003cstring>"},"size":{"type":"any","description":"The size of the generated images. For `gpt-image-2`, `gpt-image-2-2026-04-21`, `gpt-image-2.5-sunburst`, `gpt-image-2.5-sunburst-2026-09-08`, `gpt-image-2.5-flare`, and `gpt-image-2.5-flare-2026-09-08`, arbitrary resolutions are supported as `WIDTHxHEIGHT` strings, for example `1536x864`. Width and height must both be divisible by 16 and the requested aspect ratio must be between 1:3 and 3:1. Resolutions above `2560x1440` are experimental, and the maximum supported resolution is `3840x2160`. The requested size must also satisfy the model's current pixel and edge limits. The standard sizes `1024x1024`, `1536x1024`, and `1024x1536` are supported by the GPT image models; `auto` is supported for models that allow automatic sizing.","default":"auto","uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.8.size","typeLabel":"any"},"output_format":{"type":"string","enum":["png","webp","jpeg","gif","svg"],"description":"The output format of the generated image. One of `png`, `webp`, `jpeg`,\n`gif`, or `svg`. Default: `png`. GIF and SVG output require a model\nthat supports the selected format. GIF output does not support\npartial image streaming (`partial_images` greater than `0`),\n`input_image_mask`, or custom `output_compression`.\nResponses lifecycle events can still be streamed for GIF output.\n","default":"png","uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.8.output_format","typeLabel":"enum\u003cstring>"},"frame_count":{"type":"integer","minimum":2,"maximum":16,"default":9,"description":"Number of GIF frames. Requires `output_format` to be `gif`. Default: 9.\n","uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.8.frame_count","typeLabel":"integer"},"frame_duration_ms":{"type":"integer","minimum":20,"maximum":2000,"default":200,"description":"Duration of each GIF frame in milliseconds, rounded to 10 ms.\nRequires `output_format` to be `gif`. Default: 200.\n","uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.8.frame_duration_ms","typeLabel":"integer"},"svg":{"properties":{"model":{"type":"string","minLength":1,"uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.8.svg.model","typeLabel":"string"},"reasoning":{"type":"any","uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.8.svg.reasoning","typeLabel":"any"}},"type":"object","required":[],"description":"SVG author model settings. Requires `output_format` to be `svg`.\nWhen SVG model selection is enabled, omitting this object uses the\nouter response model. Otherwise, the default SVG author is used and\nexplicit model overrides are unavailable.\n","uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.8.svg","typeLabel":"object"},"output_compression":{"type":"integer","minimum":0,"maximum":100,"description":"Compression level for the output image. Default: 100.\n","default":100,"uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.8.output_compression","typeLabel":"integer"},"moderation":{"type":"string","enum":["auto","low"],"description":"Moderation level for the generated image. Default: `auto`.\n","default":"auto","uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.8.moderation","typeLabel":"enum\u003cstring>"},"background":{"type":"string","enum":["transparent","opaque","auto"],"description":"Set the background of the generated image. One of `transparent`, `opaque`,\nor `auto`. `gpt-image-2.5-sunburst` and `gpt-image-2.5-flare`, including\ntheir `2026-09-08` snapshots, support `opaque` and `transparent`\nbackgrounds. Transparent backgrounds are available for supported GPT Image\nmodels. For `gpt-image-2` and `gpt-image-2-2026-04-21`, this support is in\npreview. When using `transparent`, set the output format to `png` or `webp`.\nDefault: `auto`.\n","default":"auto","uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.8.background","typeLabel":"enum\u003cstring>"},"input_fidelity":{"type":"any","uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.8.input_fidelity","typeLabel":"any"},"input_image_mask":{"type":"object","description":"Optional mask for inpainting. Contains `image_url`\n(string, optional) and `file_id` (string, optional).\n","properties":{"image_url":{"type":"string","description":"Base64-encoded mask image.\n","uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.8.input_image_mask.image_url","typeLabel":"string"},"file_id":{"type":"string","description":"File ID for the mask image.\n","uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.8.input_image_mask.file_id","typeLabel":"string"}},"required":[],"additionalProperties":false,"uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.8.input_image_mask","typeLabel":"object"},"partial_images":{"type":"integer","minimum":0,"maximum":3,"description":"Number of partial images to generate in streaming mode, from 0 (default value) to 3.\n","default":0,"uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.8.partial_images","typeLabel":"integer"},"action":{"type":"string","enum":["generate","edit","auto"],"description":"Whether to generate a new image or edit an existing image. Default: `auto`.\n","uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.8.action","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.8","typeLabel":"Image generation tool · object"},{"type":"object","title":"Local shell tool","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["local_shell"],"description":"The type of the local shell tool. Always `local_shell`.","default":"local_shell","isRequired":true,"uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.9.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.9","typeLabel":"Local shell tool · object"},{"type":"object","title":"Shell tool","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["shell"],"description":"The type of the shell tool. Always `shell`.","default":"shell","isRequired":true,"uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.10.type","typeLabel":"enum\u003cstring>"},"environment":{"type":"any","uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.10.environment","typeLabel":"any"},"allowed_callers":{"type":"any","uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.10.allowed_callers","typeLabel":"any"}},"uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.10","typeLabel":"Shell tool · object"},{"type":"object","title":"Custom tool","description":"A tool that can be used to generate a response.\n","required":["type","name"],"properties":{"type":{"type":"string","enum":["custom"],"description":"The type of the custom tool. Always `custom`.","default":"custom","isRequired":true,"uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.11.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"The name of the custom tool, used to identify it in tool calls.","isRequired":true,"uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.11.name","typeLabel":"string"},"async":{"type":"boolean","description":"Whether the tool response can be returned asynchronously versus immediately returned on next response creation.","uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.11.async","typeLabel":"boolean"},"description":{"type":"string","description":"Optional description of the custom tool, used to provide more context.","uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.11.description","typeLabel":"string"},"format":{"type":"any","description":"The input format for the custom tool. Default is unconstrained text.","uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.11.format","typeLabel":"any"},"defer_loading":{"type":"boolean","description":"Whether this tool should be deferred and discovered via tool search.","uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.11.defer_loading","typeLabel":"boolean"},"allowed_callers":{"type":"any","uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.11.allowed_callers","typeLabel":"any"}},"uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.11","typeLabel":"Custom tool · object"},{"type":"object","title":"Namespace","description":"A tool that can be used to generate a response.\n","required":["type","name","description","tools"],"properties":{"type":{"type":"string","enum":["namespace"],"description":"The type of the tool. Always `namespace`.","default":"namespace","isRequired":true,"uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.12.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","minLength":1,"description":"The namespace name used in tool calls (for example, `crm`).","isRequired":true,"uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.12.name","typeLabel":"string"},"description":{"type":"string","description":"A description of the namespace shown to the model.","isRequired":true,"uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.12.description","typeLabel":"string"},"tools":{"items":{"type":"any","description":"A function or custom tool that belongs to a namespace.","uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.12.tools.items.[INDEX]","typeLabel":"any"},"type":"array","minItems":1,"description":"The function/custom tools available inside this namespace.","isRequired":true,"uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.12.tools","typeLabel":"any[]"}},"uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.12","typeLabel":"Namespace · object"},{"type":"object","title":"Tool search tool","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["tool_search"],"description":"The type of the tool. Always `tool_search`.","default":"tool_search","isRequired":true,"uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.13.type","typeLabel":"enum\u003cstring>"},"execution":{"type":"string","enum":["server","client"],"description":"Whether tool search is executed by the server or by the client.","uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.13.execution","typeLabel":"enum\u003cstring>"},"description":{"type":"any","uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.13.description","typeLabel":"any"},"parameters":{"type":"any","uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.13.parameters","typeLabel":"any"}},"uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.13","typeLabel":"Tool search tool · object"},{"type":"object","title":"Web search preview","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["web_search_preview","web_search_preview_2025_03_11"],"description":"The type of the web search tool. One of `web_search_preview` or `web_search_preview_2025_03_11`.","default":"web_search_preview","isRequired":true,"uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.14.type","typeLabel":"enum\u003cstring>"},"user_location":{"type":"any","uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.14.user_location","typeLabel":"any"},"search_context_size":{"type":"string","enum":["low","medium","high"],"description":"High level guidance for the amount of context window space to use for the search. One of `low`, `medium`, or `high`. `medium` is the default.","uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.14.search_context_size","typeLabel":"enum\u003cstring>"},"search_content_types":{"items":{"type":"string","enum":["text","image"],"uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.14.search_content_types.items.[INDEX]","typeLabel":"enum\u003cstring>"},"type":"array","uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.14.search_content_types","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.14","typeLabel":"Web search preview · object"},{"type":"object","title":"Apply patch tool","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["apply_patch"],"description":"The type of the tool. Always `apply_patch`.","default":"apply_patch","isRequired":true,"uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.15.type","typeLabel":"enum\u003cstring>"},"allowed_callers":{"type":"any","uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.15.allowed_callers","typeLabel":"any"}},"uniqueKey":"oneOf.25.response.tools.items.[INDEX].oneOf.15","typeLabel":"Apply patch tool · object"}],"uniqueKey":"oneOf.25.response.tools.items.[INDEX]","typeLabel":"Function · object | File search · object | Computer · object | Computer use preview · object | Web search · object | MCP tool · object | Code interpreter · object | object | Image generation tool · object | Local shell tool · object | Shell tool · object | Custom tool · object | Namespace · object | Tool search tool · object | Web search preview · object | Apply patch tool · object"},"isRequired":true,"uniqueKey":"oneOf.25.response.tools","typeLabel":"(Function · object | File search · object | Computer · object | Computer use preview · object | Web search · object | MCP tool · object | Code interpreter · object | object | Image generation tool · object | Local shell tool · object | Shell tool · object | Custom tool · object | Namespace · object | Tool search tool · object | Web search preview · object | Apply patch tool · object)[]"},"tool_choice":{"oneOf":[{"type":"string","title":"Tool choice mode","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","enum":["none","auto","required"],"isRequired":true,"uniqueKey":"oneOf.25.response.tool_choice.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"object","title":"Allowed tools","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","required":["type","mode","tools"],"properties":{"type":{"type":"string","enum":["allowed_tools"],"description":"Allowed tool configuration type. Always `allowed_tools`.","isRequired":true,"uniqueKey":"oneOf.25.response.tool_choice.oneOf.1.type","typeLabel":"enum\u003cstring>"},"mode":{"type":"string","enum":["auto","required"],"description":"Constrains the tools available to the model to a pre-defined set.\n\n`auto` allows the model to pick from among the allowed tools and generate a\nmessage.\n\n`required` requires the model to call one or more of the allowed tools.\n","isRequired":true,"uniqueKey":"oneOf.25.response.tool_choice.oneOf.1.mode","typeLabel":"enum\u003cstring>"},"tools":{"type":"array","description":"A list of tool definitions that the model should be allowed to call.\n\nFor the Responses API, the list of tool definitions might look like:\n```json\n[\n { \"type\": \"function\", \"name\": \"get_weather\" },\n { \"type\": \"mcp\", \"server_label\": \"deepwiki\" },\n { \"type\": \"image_generation\" }\n]\n```\n","items":{"type":"object","description":"A tool definition that the model should be allowed to call.\n","additionalProperties":true,"uniqueKey":"oneOf.25.response.tool_choice.oneOf.1.tools.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"oneOf.25.response.tool_choice.oneOf.1.tools","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"oneOf.25.response.tool_choice.oneOf.1","typeLabel":"Allowed tools · object"},{"type":"object","title":"Hosted tool","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","required":["type"],"properties":{"type":{"type":"string","description":"The type of hosted tool the model should to use. Learn more about\n[built-in tools](https://developers.openai.com/api/docs/guides/tools).\n\nAllowed values are:\n- `file_search`\n- `web_search_preview`\n- `computer`\n- `computer_use_preview`\n- `computer_use`\n- `code_interpreter`\n- `image_generation`\n","enum":["file_search","web_search_preview","computer","computer_use_preview","computer_use","web_search_preview_2025_03_11","image_generation","code_interpreter"],"isRequired":true,"uniqueKey":"oneOf.25.response.tool_choice.oneOf.2.type","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.25.response.tool_choice.oneOf.2","typeLabel":"Hosted tool · object"},{"type":"object","title":"Function tool","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","required":["type","name"],"properties":{"type":{"type":"string","enum":["function"],"description":"For function calling, the type is always `function`.","isRequired":true,"uniqueKey":"oneOf.25.response.tool_choice.oneOf.3.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"The name of the function to call.","isRequired":true,"uniqueKey":"oneOf.25.response.tool_choice.oneOf.3.name","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.25.response.tool_choice.oneOf.3","typeLabel":"Function tool · object"},{"type":"object","title":"MCP tool","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","required":["type","server_label"],"properties":{"type":{"type":"string","enum":["mcp"],"description":"For MCP tools, the type is always `mcp`.","isRequired":true,"uniqueKey":"oneOf.25.response.tool_choice.oneOf.4.type","typeLabel":"enum\u003cstring>"},"server_label":{"type":"string","description":"The label of the MCP server to use.\n","isRequired":true,"uniqueKey":"oneOf.25.response.tool_choice.oneOf.4.server_label","typeLabel":"string"},"name":{"type":"any","uniqueKey":"oneOf.25.response.tool_choice.oneOf.4.name","typeLabel":"any"}},"isRequired":true,"uniqueKey":"oneOf.25.response.tool_choice.oneOf.4","typeLabel":"MCP tool · object"},{"type":"object","title":"Custom tool","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","required":["type","name"],"properties":{"type":{"type":"string","enum":["custom"],"description":"For custom tool calling, the type is always `custom`.","isRequired":true,"uniqueKey":"oneOf.25.response.tool_choice.oneOf.5.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"The name of the custom tool to call.","isRequired":true,"uniqueKey":"oneOf.25.response.tool_choice.oneOf.5.name","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.25.response.tool_choice.oneOf.5","typeLabel":"Custom tool · object"},{"type":"object","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","required":["type"],"properties":{"type":{"type":"string","enum":["programmatic_tool_calling"],"description":"The tool to call. Always `programmatic_tool_calling`.","default":"programmatic_tool_calling","isRequired":true,"uniqueKey":"oneOf.25.response.tool_choice.oneOf.6.type","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.25.response.tool_choice.oneOf.6","typeLabel":"object"},{"type":"object","title":"Specific apply patch tool choice","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","required":["type"],"properties":{"type":{"type":"string","enum":["apply_patch"],"description":"The tool to call. Always `apply_patch`.","default":"apply_patch","isRequired":true,"uniqueKey":"oneOf.25.response.tool_choice.oneOf.7.type","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.25.response.tool_choice.oneOf.7","typeLabel":"Specific apply patch tool choice · object"},{"type":"object","title":"Specific shell tool choice","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","required":["type"],"properties":{"type":{"type":"string","enum":["shell"],"description":"The tool to call. Always `shell`.","default":"shell","isRequired":true,"uniqueKey":"oneOf.25.response.tool_choice.oneOf.8.type","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.25.response.tool_choice.oneOf.8","typeLabel":"Specific shell tool choice · object"}],"isRequired":true,"uniqueKey":"oneOf.25.response.tool_choice","typeLabel":"enum\u003cstring> | Allowed tools · object | Hosted tool · object | Function tool · object | MCP tool · object | Custom tool · object | object | Specific apply patch tool choice · object | Specific shell tool choice · object"},"id":{"type":"string","description":"Unique identifier for this Response.\n","isRequired":true,"uniqueKey":"oneOf.25.response.id","typeLabel":"string"},"object":{"type":"string","description":"The object type of this resource - always set to `response`.\n","const":"response","isRequired":true,"uniqueKey":"oneOf.25.response.object","typeLabel":"string"},"access_programs":{"oneOf":[{"type":"object","required":["cyber"],"properties":{"cyber":{"type":"string","enum":["standard","daybreak_blue","daybreak_red"],"description":"The effective Cyber access program used for this response.","isRequired":true,"uniqueKey":"oneOf.25.response.access_programs.oneOf.0.cyber","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.25.response.access_programs.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.25.response.access_programs.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.25.response.access_programs","typeLabel":"object | null"},"created_at":{"type":"number","format":"unixtime","description":"Unix timestamp (in seconds) of when this Response was created.\n","isRequired":true,"uniqueKey":"oneOf.25.response.created_at","typeLabel":"number\u003cunixtime>"},"error":{"oneOf":[{"type":"object","description":"An error object returned when the model fails to generate a Response.\n","required":["code","message"],"properties":{"code":{"type":"string","description":"The error code for the response.\n","enum":["server_error","rate_limit_exceeded","invalid_prompt","data_residency_mismatch","bio_policy","misalignment_policy_violation","vector_store_timeout","invalid_image","invalid_image_format","invalid_base64_image","invalid_image_url","image_too_large","image_too_small","image_parse_error","image_content_policy_violation","invalid_image_mode","image_file_too_large","unsupported_image_media_type","empty_image_file","failed_to_download_image","image_file_not_found"],"isRequired":true,"uniqueKey":"oneOf.25.response.error.oneOf.0.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"A human-readable description of the error.\n","isRequired":true,"uniqueKey":"oneOf.25.response.error.oneOf.0.message","typeLabel":"string"},"type":{"oneOf":[{"type":"string","description":"The original error type, or null if it was not recorded.","uniqueKey":"oneOf.25.response.error.oneOf.0.type.oneOf.0","typeLabel":"string"},{"type":"null","description":"The original error type, or null if it was not recorded.","uniqueKey":"oneOf.25.response.error.oneOf.0.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.25.response.error.oneOf.0.type","typeLabel":"string | null"},"param":{"oneOf":[{"type":"string","description":"The request parameter associated with the error, or null if none was recorded.","uniqueKey":"oneOf.25.response.error.oneOf.0.param.oneOf.0","typeLabel":"string"},{"type":"null","description":"The request parameter associated with the error, or null if none was recorded.","uniqueKey":"oneOf.25.response.error.oneOf.0.param.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.25.response.error.oneOf.0.param","typeLabel":"string | null"},"misalignment":{"properties":{"review_target":{"oneOf":[{"type":"string","description":"An opaque target for explicitly continuing this review, or null when unavailable.","maxLength":96,"minLength":1,"pattern":"^[A-Za-z0-9._~:-]+$","uniqueKey":"oneOf.25.response.error.oneOf.0.misalignment.review_target.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.25.response.error.oneOf.0.misalignment.review_target.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.25.response.error.oneOf.0.misalignment.review_target","typeLabel":"string | null"},"error_type":{"oneOf":[{"type":"string","description":"An optional classification; clients must accept additional values.","uniqueKey":"oneOf.25.response.error.oneOf.0.misalignment.error_type.oneOf.0","typeLabel":"string"},{"type":"string","description":"An optional classification; clients must accept additional values.","enum":["potentially_unintended_data_transfer","potentially_unintended_data_access","potentially_unintended_destructive_activity","other"],"uniqueKey":"oneOf.25.response.error.oneOf.0.misalignment.error_type.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"oneOf.25.response.error.oneOf.0.misalignment.error_type","typeLabel":"string | enum\u003cstring>"},"detailed_explanation":{"type":"string","description":"The public explanation for this block.","uniqueKey":"oneOf.25.response.error.oneOf.0.misalignment.detailed_explanation","typeLabel":"string"},"steer":{"properties":{"message":{"type":"string","description":"The public continuation instruction.","isRequired":true,"uniqueKey":"oneOf.25.response.error.oneOf.0.misalignment.steer.message","typeLabel":"string"}},"type":"object","required":["message"],"description":"An optional public continuation instruction.","uniqueKey":"oneOf.25.response.error.oneOf.0.misalignment.steer","typeLabel":"object"}},"type":"object","required":[],"uniqueKey":"oneOf.25.response.error.oneOf.0.misalignment","typeLabel":"object"}},"isRequired":true,"uniqueKey":"oneOf.25.response.error.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.25.response.error.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.25.response.error","typeLabel":"object | null"},"incomplete_details":{"oneOf":[{"type":"object","description":"Details about why the response is incomplete.\n","properties":{"reason":{"type":"string","description":"The reason why the response is incomplete. `steered` means\nthe response stopped at a safe output boundary after a\nWebSocket `response.steer` event. The server can then create\na successor response automatically with the queued input.\n","enum":["max_output_tokens","max_messages","content_filter","steered"],"uniqueKey":"oneOf.25.response.incomplete_details.oneOf.0.reason","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.25.response.incomplete_details.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.25.response.incomplete_details.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.25.response.incomplete_details","typeLabel":"object | null"},"output":{"type":"array","description":"An array of content items generated by the model.\n\n- The length and order of items in the `output` array is dependent\n on the model's response.\n- Rather than accessing the first item in the `output` array and\n assuming it's an `assistant` message with the content generated by\n the model, you might consider using the `output_text` property where\n supported in SDKs.\n","items":{"oneOf":[{"type":"object","title":"Output message","description":"An output message from the model.\n","required":["id","type","role","content","status"],"properties":{"id":{"type":"string","description":"The unique ID of the output message.\n","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.0.id","typeLabel":"string"},"type":{"type":"string","description":"The type of the output message. Always `message`.\n","const":"message","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.0.type","typeLabel":"string"},"role":{"type":"string","description":"The role of the output message. Always `assistant`.\n","const":"assistant","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.0.role","typeLabel":"string"},"content":{"type":"array","description":"The content of the output message.\n","items":{"type":"any","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.0.content.items.[INDEX]","typeLabel":"any"},"isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.0.content","typeLabel":"any[]"},"status":{"type":"string","description":"The status of the message input. One of `in_progress`, `completed`, or\n`incomplete`. Populated when input items are returned via API.\n","enum":["in_progress","completed","incomplete"],"isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.0.status","typeLabel":"enum\u003cstring>"},"phase":{"type":"any","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.0.phase","typeLabel":"any"}},"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.0","typeLabel":"Output message · object"},{"type":"object","title":"File search tool call","description":"The results of a file search tool call. See the\n[file search guide](https://developers.openai.com/api/docs/guides/tools-file-search) for more information.\n","required":["id","type","status","queries"],"properties":{"id":{"type":"string","description":"The unique ID of the file search tool call.\n","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.1.id","typeLabel":"string"},"type":{"type":"string","enum":["file_search_call"],"description":"The type of the file search tool call. Always `file_search_call`.\n","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"status":{"type":"string","description":"The status of the file search tool call. One of `in_progress`,\n`searching`, `incomplete` or `failed`,\n","enum":["in_progress","searching","completed","incomplete","failed"],"isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.1.status","typeLabel":"enum\u003cstring>"},"queries":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.1.queries.items.[INDEX]","typeLabel":"string"},"description":"The queries used to search for files.\n","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.1.queries","typeLabel":"string[]"},"results":{"type":"any","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.1.results","typeLabel":"any"}},"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.1","typeLabel":"File search tool call · object"},{"type":"object","title":"Function tool call","description":"A tool call to run a function. See the\n[function calling guide](https://developers.openai.com/api/docs/guides/function-calling) for more information.\n","required":["type","call_id","name","arguments"],"properties":{"type":{"type":"string","const":"function_call","description":"The type of the function tool call. Always `function_call`.\n","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.2.type","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the function tool call generated by the model.\n","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.2.call_id","typeLabel":"string"},"name":{"type":"string","description":"The name of the function to run.\n","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.2.name","typeLabel":"string"},"arguments":{"type":"string","description":"A JSON string of the arguments to pass to the function.\n","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.2.arguments","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the function tool call.\n","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.2.id","typeLabel":"string"},"caller":{"type":"any","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.2.caller","typeLabel":"any"},"namespace":{"type":"string","description":"The namespace of the function to run.\n","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.2.namespace","typeLabel":"string"},"status":{"type":"string","description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.2.status","typeLabel":"enum\u003cstring>"},"async":{"type":"boolean","description":"Whether the function tool call runs asynchronously.\n","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.2.async","typeLabel":"boolean"}},"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.2","typeLabel":"Function tool call · object"},{"type":"object","title":"Function tool call output","description":"The output of a function tool call.\n","required":["id","status","type","output"],"properties":{"id":{"type":"string","description":"The unique ID of the function call tool output.\n","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.3.id","typeLabel":"string"},"type":{"type":"string","const":"function_call_output","description":"The type of the function tool call output. Always `function_call_output`.\n","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.3.type","typeLabel":"string"},"output":{"type":"any","description":"The output from the function call generated by your code.\nCan be a string or an list of output content.\n","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.3.output","typeLabel":"any"},"status":{"type":"string","description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.3.status","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","description":"The unique ID of the function tool call generated by the model.\n","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.3.call_id","typeLabel":"string"},"name":{"type":"string","description":"The name of the tool that produced the output.\n","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.3.name","typeLabel":"string"},"namespace":{"type":"string","description":"The namespace of the tool that produced the output.\n","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.3.namespace","typeLabel":"string"},"caller":{"type":"any","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.3.caller","typeLabel":"any"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.\n","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.3.created_by","typeLabel":"string"}},"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.3","typeLabel":"Function tool call output · object"},{"type":"object","title":"Web search tool call","description":"The results of a web search tool call. See the\n[web search guide](https://developers.openai.com/api/docs/guides/tools-web-search) for more information.\n","required":["id","type","status"],"properties":{"id":{"type":"string","description":"The unique ID of the web search tool call.\n","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.4.id","typeLabel":"string"},"type":{"type":"string","const":"web_search_call","description":"The type of the web search tool call. Always `web_search_call`.\n","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.4.type","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","searching","completed","failed","incomplete"],"description":"The status of the web search tool call.\n","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.4.status","typeLabel":"enum\u003cstring>"},"action":{"type":"any","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.4.action","typeLabel":"any"}},"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.4","typeLabel":"Web search tool call · object"},{"type":"object","title":"Computer tool call","description":"A tool call to a computer use tool. See the\n[computer use guide](https://developers.openai.com/api/docs/guides/tools-computer-use) for more information.\n","required":["type","id","call_id","pending_safety_checks","status"],"properties":{"type":{"type":"string","description":"The type of the computer call. Always `computer_call`.","enum":["computer_call"],"default":"computer_call","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.5.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the computer call.","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.5.id","typeLabel":"string"},"call_id":{"type":"string","description":"An identifier used when responding to the tool call with output.\n","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.5.call_id","typeLabel":"string"},"pending_safety_checks":{"type":"array","items":{"properties":{"id":{"type":"string","description":"The ID of the pending safety check.","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.5.pending_safety_checks.items.[INDEX].id","typeLabel":"string"},"code":{"type":"any","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.5.pending_safety_checks.items.[INDEX].code","typeLabel":"any"},"message":{"type":"any","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.5.pending_safety_checks.items.[INDEX].message","typeLabel":"any"}},"type":"object","required":["id"],"description":"A pending safety check for the computer call.","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.5.pending_safety_checks.items.[INDEX]","typeLabel":"object"},"description":"The pending safety checks for the computer call.\n","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.5.pending_safety_checks","typeLabel":"object[]"},"status":{"type":"string","description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.5.status","typeLabel":"enum\u003cstring>"},"action":{"type":"any","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.5.action","typeLabel":"any"},"actions":{"title":"Computer Action List","type":"array","description":"Flattened batched actions for `computer_use`. Each action includes an\n`type` discriminator and action-specific fields.\n","items":{"type":"any","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.5.actions.items.[INDEX]","typeLabel":"any"},"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.5.actions","typeLabel":"any[]"}},"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.5","typeLabel":"Computer tool call · object"},{"type":"object","title":"Computer tool call output","description":"The output of a computer tool call.\n","required":["id","status","type","call_id","output"],"properties":{"type":{"type":"string","description":"The type of the computer tool call output. Always `computer_call_output`.\n","const":"computer_call_output","default":"computer_call_output","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.6.type","typeLabel":"string"},"id":{"type":"string","description":"The ID of the computer tool call output.\n","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.6.id","typeLabel":"string"},"call_id":{"type":"string","description":"The ID of the computer tool call that produced the output.\n","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.6.call_id","typeLabel":"string"},"output":{"type":"object","description":"A computer screenshot image used with the computer use tool.\n","properties":{"type":{"type":"string","const":"computer_screenshot","default":"computer_screenshot","description":"Specifies the event type. For a computer screenshot, this property is \nalways set to `computer_screenshot`.\n","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.6.output.type","typeLabel":"string"},"image_url":{"type":"string","format":"uri","description":"The URL of the screenshot image.","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.6.output.image_url","typeLabel":"string\u003curi>"},"file_id":{"type":"string","description":"The identifier of an uploaded file that contains the screenshot.","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.6.output.file_id","typeLabel":"string"}},"required":["type"],"isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.6.output","typeLabel":"object"},"status":{"type":"string","description":"The status of the message input. One of `in_progress`, `completed`, or\n`incomplete`. Populated when input items are returned via API.\n","enum":["completed","incomplete"],"isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.6.status","typeLabel":"enum\u003cstring>"},"acknowledged_safety_checks":{"type":"array","description":"The safety checks reported by the API that have been acknowledged by the\ndeveloper.\n","items":{"properties":{"id":{"type":"string","description":"The ID of the pending safety check.","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.6.acknowledged_safety_checks.items.[INDEX].id","typeLabel":"string"},"code":{"type":"any","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.6.acknowledged_safety_checks.items.[INDEX].code","typeLabel":"any"},"message":{"type":"any","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.6.acknowledged_safety_checks.items.[INDEX].message","typeLabel":"any"}},"type":"object","required":["id"],"description":"A pending safety check for the computer call.","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.6.acknowledged_safety_checks.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.6.acknowledged_safety_checks","typeLabel":"object[]"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.\n","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.6.created_by","typeLabel":"string"}},"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.6","typeLabel":"Computer tool call output · object"},{"type":"object","title":"Reasoning","description":"A description of the chain of thought used by a reasoning model while generating\na response. Be sure to include these items in your `input` to the Responses API\nfor subsequent turns of a conversation if you are manually\n[managing context](https://developers.openai.com/api/docs/guides/conversation-state).\n","required":["id","summary","type"],"properties":{"type":{"type":"string","description":"The type of the object. Always `reasoning`.\n","enum":["reasoning"],"isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.7.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique identifier of the reasoning content.\n","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.7.id","typeLabel":"string"},"summary":{"type":"array","description":"Reasoning summary content.\n","items":{"properties":{"type":{"type":"string","enum":["summary_text"],"description":"The type of the object. Always `summary_text`.","default":"summary_text","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.7.summary.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"A summary of the reasoning output from the model so far.","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.7.summary.items.[INDEX].text","typeLabel":"string"}},"type":"object","required":["type","text"],"title":"Summary text","description":"A summary text from the model.","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.7.summary.items.[INDEX]","typeLabel":"Summary text · object"},"isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.7.summary","typeLabel":"Summary text · object[]"},"encrypted_content":{"type":"any","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.7.encrypted_content","typeLabel":"any"},"content":{"type":"array","description":"Reasoning text content.\n","items":{"properties":{"type":{"type":"string","enum":["reasoning_text"],"description":"The type of the reasoning text. Always `reasoning_text`.","default":"reasoning_text","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.7.content.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"The reasoning text from the model.","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.7.content.items.[INDEX].text","typeLabel":"string"}},"type":"object","required":["type","text"],"title":"Reasoning text","description":"Reasoning text from the model.","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.7.content.items.[INDEX]","typeLabel":"Reasoning text · object"},"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.7.content","typeLabel":"Reasoning text · object[]"},"status":{"type":"string","description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.7.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.7","typeLabel":"Reasoning · object"},{"type":"object","required":["type","id","call_id","code","fingerprint"],"properties":{"type":{"type":"string","enum":["program"],"description":"The type of the item. Always `program`.","default":"program","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.8.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the program item.","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.8.id","typeLabel":"string"},"call_id":{"type":"string","description":"The stable call ID of the program item.","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.8.call_id","typeLabel":"string"},"code":{"type":"string","description":"The JavaScript source executed by programmatic tool calling.","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.8.code","typeLabel":"string"},"fingerprint":{"type":"string","description":"Opaque program replay fingerprint that must be round-tripped.","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.8.fingerprint","typeLabel":"string"}},"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.8","typeLabel":"object"},{"type":"object","required":["type","id","call_id","result","status"],"properties":{"type":{"type":"string","enum":["program_output"],"description":"The type of the item. Always `program_output`.","default":"program_output","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.9.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the program output item.","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.9.id","typeLabel":"string"},"call_id":{"type":"string","description":"The call ID of the program item.","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.9.call_id","typeLabel":"string"},"result":{"type":"string","description":"The result produced by the program item.","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.9.result","typeLabel":"string"},"status":{"type":"string","enum":["completed","incomplete"],"description":"The terminal status of the program output item.","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.9.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.9","typeLabel":"object"},{"type":"object","required":["type","id","call_id","execution","arguments","status"],"properties":{"type":{"type":"string","enum":["tool_search_call"],"description":"The type of the item. Always `tool_search_call`.","default":"tool_search_call","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.10.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the tool search call item.","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.10.id","typeLabel":"string"},"call_id":{"type":"any","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.10.call_id","typeLabel":"any"},"execution":{"type":"string","enum":["server","client"],"description":"Whether tool search was executed by the server or by the client.","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.10.execution","typeLabel":"enum\u003cstring>"},"arguments":{"description":"Arguments used for the tool search call.","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.10.arguments","typeLabel":"any"},"status":{"type":"string","enum":["in_progress","completed","incomplete"],"description":"The status of the tool search call item that was recorded.","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.10.status","typeLabel":"enum\u003cstring>"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.10.created_by","typeLabel":"string"}},"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.10","typeLabel":"object"},{"type":"object","required":["type","id","call_id","execution","tools","status"],"properties":{"type":{"type":"string","enum":["tool_search_output"],"description":"The type of the item. Always `tool_search_output`.","default":"tool_search_output","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.11.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the tool search output item.","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.11.id","typeLabel":"string"},"call_id":{"type":"any","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.11.call_id","typeLabel":"any"},"execution":{"type":"string","enum":["server","client"],"description":"Whether tool search was executed by the server or by the client.","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.11.execution","typeLabel":"enum\u003cstring>"},"tools":{"items":{"type":"any","description":"A tool that can be used to generate a response.\n","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.11.tools.items.[INDEX]","typeLabel":"any"},"type":"array","description":"The loaded tool definitions returned by tool search.","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.11.tools","typeLabel":"any[]"},"status":{"type":"string","enum":["in_progress","completed","incomplete"],"description":"The status of the tool search output item that was recorded.","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.11.status","typeLabel":"enum\u003cstring>"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.11.created_by","typeLabel":"string"}},"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.11","typeLabel":"object"},{"type":"object","required":["type","id","role","tools"],"properties":{"type":{"type":"string","enum":["additional_tools"],"description":"The type of the item. Always `additional_tools`.","default":"additional_tools","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.12.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the additional tools item.","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.12.id","typeLabel":"string"},"role":{"type":"string","enum":["unknown","user","assistant","system","critic","discriminator","developer","tool"],"description":"The role that provided the additional tools.","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.12.role","typeLabel":"enum\u003cstring>"},"tools":{"items":{"type":"any","description":"A tool that can be used to generate a response.\n","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.12.tools.items.[INDEX]","typeLabel":"any"},"type":"array","description":"The additional tool definitions made available at this item.","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.12.tools","typeLabel":"any[]"}},"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.12","typeLabel":"object"},{"type":"object","title":"Compaction item","description":"A compaction item generated by the [`v1/responses/compact` API](https://developers.openai.com/api/reference/resources/responses/methods/compact).","required":["type","id","encrypted_content"],"properties":{"type":{"type":"string","enum":["compaction"],"description":"The type of the item. Always `compaction`.","default":"compaction","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.13.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the compaction item.","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.13.id","typeLabel":"string"},"encrypted_content":{"type":"string","description":"The encrypted content that was produced by compaction.","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.13.encrypted_content","typeLabel":"string"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.13.created_by","typeLabel":"string"}},"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.13","typeLabel":"Compaction item · object"},{"type":"object","title":"Image generation call","description":"An image generation request made by the model.","required":["type","id","status","result"],"properties":{"type":{"type":"string","enum":["image_generation_call"],"description":"The type of the image generation call. Always `image_generation_call`.","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.14.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the image generation call.","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.14.id","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","completed","generating","failed"],"description":"The status of the image generation call.","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.14.status","typeLabel":"enum\u003cstring>"},"result":{"type":"any","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.14.result","typeLabel":"any"},"error":{"properties":{"code":{"type":"any","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.14.error.code","typeLabel":"any"},"type":{"type":"string","description":"The error type.","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.14.error.type","typeLabel":"string"},"message":{"type":"string","description":"A description of the error.","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.14.error.message","typeLabel":"string"},"param":{"type":"any","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.14.error.param","typeLabel":"any"},"moderation_details":{"properties":{"moderation_stage":{"type":"string","enum":["input","output","unknown"],"description":"The stage where moderation blocked the image generation call.","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.14.error.moderation_details.moderation_stage","typeLabel":"enum\u003cstring>"},"categories":{"items":{"type":"string","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.14.error.moderation_details.categories.items.[INDEX]","typeLabel":"string"},"type":"array","description":"Public moderation categories. New category values may be added over time.","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.14.error.moderation_details.categories","typeLabel":"string[]"}},"type":"object","required":["moderation_stage","categories"],"description":"Public details for a `moderation_blocked` error, when available.","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.14.error.moderation_details","typeLabel":"object"}},"type":"object","required":["code","type","message","param"],"description":"Details of a moderation failure, when available.","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.14.error","typeLabel":"object"},"size":{"type":"any","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.14.size","typeLabel":"any"},"quality":{"type":"any","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.14.quality","typeLabel":"any"},"action":{"type":"any","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.14.action","typeLabel":"any"},"background":{"type":"any","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.14.background","typeLabel":"any"},"output_format":{"type":"any","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.14.output_format","typeLabel":"any"},"svg_usage":{"properties":{"model":{"type":"string","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.14.svg_usage.model","typeLabel":"string"},"input_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.14.svg_usage.input_tokens","typeLabel":"integer"},"output_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.14.svg_usage.output_tokens","typeLabel":"integer"},"total_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.14.svg_usage.total_tokens","typeLabel":"integer"},"reasoning_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.14.svg_usage.reasoning_tokens","typeLabel":"integer"}},"type":"object","required":["model","input_tokens","output_tokens","total_tokens","reasoning_tokens"],"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.14.svg_usage","typeLabel":"object"},"revised_prompt":{"type":"any","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.14.revised_prompt","typeLabel":"any"}},"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.14","typeLabel":"Image generation call · object"},{"type":"object","title":"Code interpreter tool call","description":"A tool call to run code.\n","required":["type","id","status","container_id","code","outputs"],"properties":{"type":{"type":"string","enum":["code_interpreter_call"],"default":"code_interpreter_call","description":"The type of the code interpreter tool call. Always `code_interpreter_call`.\n","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.15.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the code interpreter tool call.\n","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.15.id","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","completed","incomplete","interpreting","failed"],"description":"The status of the code interpreter tool call. Valid values are `in_progress`, `completed`, `incomplete`, `interpreting`, and `failed`.\n","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.15.status","typeLabel":"enum\u003cstring>"},"container_id":{"type":"string","description":"The ID of the container used to run the code.\n","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.15.container_id","typeLabel":"string"},"code":{"type":"any","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.15.code","typeLabel":"any"},"outputs":{"type":"any","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.15.outputs","typeLabel":"any"}},"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.15","typeLabel":"Code interpreter tool call · object"},{"type":"object","title":"Local shell call","description":"A tool call to run a command on the local shell.\n","required":["type","id","call_id","action","status"],"properties":{"type":{"type":"string","enum":["local_shell_call"],"description":"The type of the local shell call. Always `local_shell_call`.\n","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.16.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the local shell call.\n","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.16.id","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the local shell tool call generated by the model.\n","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.16.call_id","typeLabel":"string"},"action":{"properties":{"type":{"type":"string","enum":["exec"],"description":"The type of the local shell action. Always `exec`.","default":"exec","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.16.action.type","typeLabel":"enum\u003cstring>"},"command":{"items":{"type":"string","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.16.action.command.items.[INDEX]","typeLabel":"string"},"type":"array","description":"The command to run.","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.16.action.command","typeLabel":"string[]"},"env":{"additionalProperties":{"type":"string","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.16.action.env.additionalProperties","typeLabel":"string"},"type":"object","description":"Environment variables to set for the command.","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.16.action.env","typeLabel":"object"},"timeout_ms":{"type":"any","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.16.action.timeout_ms","typeLabel":"any"},"working_directory":{"type":"any","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.16.action.working_directory","typeLabel":"any"},"user":{"type":"any","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.16.action.user","typeLabel":"any"}},"type":"object","required":["type","command","env"],"title":"Local shell exec action","description":"Execute a shell command on the server.","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.16.action","typeLabel":"Local shell exec action · object"},"status":{"type":"string","enum":["in_progress","completed","incomplete"],"description":"The status of the local shell call.\n","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.16.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.16","typeLabel":"Local shell call · object"},{"type":"object","title":"Local shell call output","description":"The output of a local shell tool call.\n","required":["id","type","call_id","output"],"properties":{"type":{"type":"string","enum":["local_shell_call_output"],"description":"The type of the local shell tool call output. Always `local_shell_call_output`.\n","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.17.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the local shell tool call generated by the model.\n","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.17.id","typeLabel":"string"},"output":{"type":"string","description":"A JSON string of the output of the local shell tool call.\n","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.17.output","typeLabel":"string"},"status":{"type":"any","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.17.status","typeLabel":"any"}},"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.17","typeLabel":"Local shell call output · object"},{"type":"object","title":"Shell tool call","description":"A tool call that executes one or more shell commands in a managed environment.","required":["type","id","call_id","action","status","environment"],"properties":{"type":{"type":"string","enum":["shell_call"],"description":"The type of the item. Always `shell_call`.","default":"shell_call","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.18.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the shell tool call. Populated when this item is returned via API.","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.18.id","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the shell tool call generated by the model.","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.18.call_id","typeLabel":"string"},"action":{"properties":{"commands":{"items":{"type":"string","description":"A list of commands to run.","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.18.action.commands.items.[INDEX]","typeLabel":"string"},"type":"array","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.18.action.commands","typeLabel":"string[]"},"timeout_ms":{"type":"any","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.18.action.timeout_ms","typeLabel":"any"},"max_output_length":{"type":"any","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.18.action.max_output_length","typeLabel":"any"}},"type":"object","required":["commands","timeout_ms","max_output_length"],"title":"Shell exec action","description":"The shell commands and limits that describe how to run the tool call.","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.18.action","typeLabel":"Shell exec action · object"},"status":{"type":"string","enum":["in_progress","completed","incomplete"],"description":"The status of the shell call. One of `in_progress`, `completed`, or `incomplete`.","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.18.status","typeLabel":"enum\u003cstring>"},"environment":{"type":"any","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.18.environment","typeLabel":"any"},"caller":{"type":"any","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.18.caller","typeLabel":"any"},"created_by":{"type":"string","description":"The ID of the entity that created this tool call.","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.18.created_by","typeLabel":"string"}},"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.18","typeLabel":"Shell tool call · object"},{"type":"object","title":"Shell call output","description":"The output of a shell tool call that was emitted.","required":["type","id","call_id","status","output","max_output_length"],"properties":{"type":{"type":"string","enum":["shell_call_output"],"description":"The type of the shell call output. Always `shell_call_output`.","default":"shell_call_output","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.19.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the shell call output. Populated when this item is returned via API.","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.19.id","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the shell tool call generated by the model.","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.19.call_id","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","completed","incomplete"],"description":"The status of the shell call output. One of `in_progress`, `completed`, or `incomplete`.","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.19.status","typeLabel":"enum\u003cstring>"},"output":{"items":{"properties":{"stdout":{"type":"string","description":"The standard output that was captured.","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.19.output.items.[INDEX].stdout","typeLabel":"string"},"stderr":{"type":"string","description":"The standard error output that was captured.","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.19.output.items.[INDEX].stderr","typeLabel":"string"},"outcome":{"type":"any","title":"Shell call outcome","description":"Represents either an exit outcome (with an exit code) or a timeout outcome for a shell call output chunk.","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.19.output.items.[INDEX].outcome","typeLabel":"any"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.19.output.items.[INDEX].created_by","typeLabel":"string"}},"type":"object","required":["stdout","stderr","outcome"],"title":"Shell call output content","description":"The content of a shell tool call output that was emitted.","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.19.output.items.[INDEX]","typeLabel":"Shell call output content · object"},"type":"array","description":"An array of shell call output contents","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.19.output","typeLabel":"Shell call output content · object[]"},"max_output_length":{"type":"any","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.19.max_output_length","typeLabel":"any"},"caller":{"type":"any","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.19.caller","typeLabel":"any"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.19.created_by","typeLabel":"string"}},"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.19","typeLabel":"Shell call output · object"},{"type":"object","title":"Apply patch tool call","description":"A tool call that applies file diffs by creating, deleting, or updating files.","required":["type","id","call_id","status","operation"],"properties":{"type":{"type":"string","enum":["apply_patch_call"],"description":"The type of the item. Always `apply_patch_call`.","default":"apply_patch_call","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.20.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the apply patch tool call. Populated when this item is returned via API.","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.20.id","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the apply patch tool call generated by the model.","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.20.call_id","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","completed"],"description":"The status of the apply patch tool call. One of `in_progress` or `completed`.","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.20.status","typeLabel":"enum\u003cstring>"},"operation":{"type":"any","title":"Apply patch operation","description":"One of the create_file, delete_file, or update_file operations applied via apply_patch.","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.20.operation","typeLabel":"any"},"caller":{"type":"any","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.20.caller","typeLabel":"any"},"created_by":{"type":"string","description":"The ID of the entity that created this tool call.","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.20.created_by","typeLabel":"string"}},"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.20","typeLabel":"Apply patch tool call · object"},{"type":"object","title":"Apply patch tool call output","description":"The output emitted by an apply patch tool call.","required":["type","id","call_id","status"],"properties":{"type":{"type":"string","enum":["apply_patch_call_output"],"description":"The type of the item. Always `apply_patch_call_output`.","default":"apply_patch_call_output","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.21.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the apply patch tool call output. Populated when this item is returned via API.","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.21.id","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the apply patch tool call generated by the model.","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.21.call_id","typeLabel":"string"},"status":{"type":"string","enum":["completed","failed"],"description":"The status of the apply patch tool call output. One of `completed` or `failed`.","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.21.status","typeLabel":"enum\u003cstring>"},"caller":{"type":"any","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.21.caller","typeLabel":"any"},"output":{"type":"any","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.21.output","typeLabel":"any"},"created_by":{"type":"string","description":"The ID of the entity that created this tool call output.","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.21.created_by","typeLabel":"string"}},"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.21","typeLabel":"Apply patch tool call output · object"},{"type":"object","title":"MCP tool call","description":"An invocation of a tool on an MCP server.\n","required":["type","id","server_label","name","arguments"],"properties":{"type":{"type":"string","const":"mcp_call","description":"The type of the item. Always `mcp_call`.\n","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.22.type","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the tool call.\n","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.22.id","typeLabel":"string"},"server_label":{"type":"string","description":"The label of the MCP server running the tool.\n","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.22.server_label","typeLabel":"string"},"name":{"type":"string","description":"The name of the tool that was run.\n","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.22.name","typeLabel":"string"},"arguments":{"type":"string","description":"A JSON string of the arguments passed to the tool.\n","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.22.arguments","typeLabel":"string"},"output":{"type":"any","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.22.output","typeLabel":"any"},"error":{"type":"any","description":"The error from the tool call, if any.","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.22.error","typeLabel":"any"},"status":{"type":"string","enum":["in_progress","completed","incomplete","calling","failed"],"description":"The status of the tool call. One of `in_progress`, `completed`, `incomplete`, `calling`, or `failed`.\n","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.22.status","typeLabel":"enum\u003cstring>"},"approval_request_id":{"type":"any","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.22.approval_request_id","typeLabel":"any"}},"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.22","typeLabel":"MCP tool call · object"},{"type":"object","title":"MCP list tools","description":"A list of tools available on an MCP server.\n","required":["type","id","server_label","tools"],"properties":{"type":{"type":"string","const":"mcp_list_tools","description":"The type of the item. Always `mcp_list_tools`.\n","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.23.type","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the list.\n","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.23.id","typeLabel":"string"},"server_label":{"type":"string","description":"The label of the MCP server.\n","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.23.server_label","typeLabel":"string"},"tools":{"type":"array","items":{"type":"object","title":"MCP list tools tool","description":"A tool available on an MCP server.\n","properties":{"name":{"type":"string","description":"The name of the tool.\n","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.23.tools.items.[INDEX].name","typeLabel":"string"},"input_schema":{"type":"object","description":"The JSON schema describing the tool's input.\n","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.23.tools.items.[INDEX].input_schema","typeLabel":"object"},"description":{"type":"any","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.23.tools.items.[INDEX].description","typeLabel":"any"},"annotations":{"type":"any","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.23.tools.items.[INDEX].annotations","typeLabel":"any"}},"required":["name","input_schema"],"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.23.tools.items.[INDEX]","typeLabel":"MCP list tools tool · object"},"description":"The tools available on the server.\n","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.23.tools","typeLabel":"MCP list tools tool · object[]"},"error":{"type":"any","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.23.error","typeLabel":"any"}},"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.23","typeLabel":"MCP list tools · object"},{"type":"object","title":"MCP approval request","description":"A request for human approval of a tool invocation.\n","required":["type","id","server_label","name","arguments"],"properties":{"type":{"type":"string","const":"mcp_approval_request","description":"The type of the item. Always `mcp_approval_request`.\n","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.24.type","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the approval request.\n","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.24.id","typeLabel":"string"},"server_label":{"type":"string","description":"The label of the MCP server making the request.\n","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.24.server_label","typeLabel":"string"},"name":{"type":"string","description":"The name of the tool to run.\n","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.24.name","typeLabel":"string"},"arguments":{"type":"string","description":"A JSON string of arguments for the tool.\n","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.24.arguments","typeLabel":"string"}},"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.24","typeLabel":"MCP approval request · object"},{"type":"object","title":"MCP approval response","description":"A response to an MCP approval request.\n","required":["type","id","request_id","approve","approval_request_id"],"properties":{"type":{"type":"string","const":"mcp_approval_response","description":"The type of the item. Always `mcp_approval_response`.\n","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.25.type","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the approval response\n","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.25.id","typeLabel":"string"},"approval_request_id":{"type":"string","description":"The ID of the approval request being answered.\n","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.25.approval_request_id","typeLabel":"string"},"approve":{"type":"boolean","description":"Whether the request was approved.\n","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.25.approve","typeLabel":"boolean"},"reason":{"type":"any","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.25.reason","typeLabel":"any"}},"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.25","typeLabel":"MCP approval response · object"},{"type":"object","title":"Custom tool call","description":"A call to a custom tool created by the model.\n","required":["type","call_id","name","input"],"properties":{"type":{"type":"string","enum":["custom_tool_call"],"description":"The type of the custom tool call. Always `custom_tool_call`.\n","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.26.type","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","description":"An identifier used to map this custom tool call to a tool call output.\n","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.26.call_id","typeLabel":"string"},"name":{"type":"string","description":"The name of the custom tool being called.\n","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.26.name","typeLabel":"string"},"input":{"type":"string","description":"The input for the custom tool call generated by the model.\n","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.26.input","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the custom tool call in the OpenAI platform.\n","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.26.id","typeLabel":"string"},"caller":{"type":"any","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.26.caller","typeLabel":"any"},"namespace":{"type":"string","description":"The namespace of the custom tool being called.\n","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.26.namespace","typeLabel":"string"},"async":{"type":"boolean","description":"Whether the custom tool call runs asynchronously.\n","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.26.async","typeLabel":"boolean"}},"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.26","typeLabel":"Custom tool call · object"},{"type":"object","title":"ResponseCustomToolCallOutputItem","description":"The output of a custom tool call from your code, being sent back to the model.\n","required":["id","status","type","call_id","output"],"properties":{"type":{"type":"string","enum":["custom_tool_call_output"],"description":"The type of the custom tool call output. Always `custom_tool_call_output`.\n","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.27.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the custom tool call output item.\n","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.27.id","typeLabel":"string"},"call_id":{"type":"string","description":"The call ID, used to map this custom tool call output to a custom tool call.\n","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.27.call_id","typeLabel":"string"},"output":{"type":"any","description":"The output from the custom tool call generated by your code.\nCan be a string or an list of output content.\n","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.27.output","typeLabel":"any"},"status":{"type":"string","enum":["in_progress","completed","incomplete"],"description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","isRequired":true,"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.27.status","typeLabel":"enum\u003cstring>"},"caller":{"type":"any","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.27.caller","typeLabel":"any"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.\n","uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.27.created_by","typeLabel":"string"}},"uniqueKey":"oneOf.25.response.output.items.[INDEX].oneOf.27","typeLabel":"ResponseCustomToolCallOutputItem · object"}],"uniqueKey":"oneOf.25.response.output.items.[INDEX]","typeLabel":"Output message · object · File search tool call · object · Function tool call · object · Function tool call output · object · Web search tool call · object · Computer tool call · object · Computer tool call output · object · Reasoning · object · object · object · object · object · object · Compaction item · object · Image generation call · object · Code interpreter tool call · object · Local shell call · object · Local shell call output · object · Shell tool call · object · Shell call output · object · Apply patch tool call · object · Apply patch tool call output · object · MCP tool call · object · MCP list tools · object · MCP approval request · object · MCP approval response · object · Custom tool call · object · ResponseCustomToolCallOutputItem · object"},"isRequired":true,"uniqueKey":"oneOf.25.response.output","typeLabel":"Output message · object · File search tool call · object · Function tool call · object · Function tool call output · object · Web search tool call · object · Computer tool call · object · Computer tool call output · object · Reasoning · object · object · object · object · object · object · Compaction item · object · Image generation call · object · Code interpreter tool call · object · Local shell call · object · Local shell call output · object · Shell tool call · object · Shell call output · object · Apply patch tool call · object · Apply patch tool call output · object · MCP tool call · object · MCP list tools · object · MCP approval request · object · MCP approval response · object · Custom tool call · object · ResponseCustomToolCallOutputItem · object[]"},"instructions":{"oneOf":[{"type":"string","description":"A system (or developer) message inserted into the model's context.\n\nWhen using along with `previous_response_id`, the instructions from a previous\nresponse will not be carried over to the next response. This makes it simple\nto swap out system (or developer) messages in new responses.\n","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.0","typeLabel":"string"},{"type":"array","items":{"oneOf":[{"type":"object","title":"Input message","description":"A message input to the model with a role indicating instruction following\nhierarchy. Instructions given with the `developer` or `system` role take\nprecedence over instructions given with the `user` role. Messages with the\n`assistant` role are presumed to have been generated by the model in previous\ninteractions.\n","required":["role","content"],"properties":{"role":{"type":"string","description":"The role of the message input. One of `user`, `assistant`, `system`, or\n`developer`.\n","enum":["user","assistant","system","developer"],"isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.0.role","typeLabel":"enum\u003cstring>"},"content":{"type":"any","description":"Text, image, or audio input to the model, used to generate a response.\nCan also contain previous assistant responses.\n","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.0.content","typeLabel":"any"},"phase":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.0.phase","typeLabel":"any"},"type":{"type":"string","description":"The type of the message input. Always `message`.\n","enum":["message"],"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.0","typeLabel":"Input message · object"},{"type":"object","title":"Input message","description":"A message input to the model with a role indicating instruction following\nhierarchy. Instructions given with the `developer` or `system` role take\nprecedence over instructions given with the `user` role.\n","required":["role","content"],"properties":{"role":{"type":"string","description":"The role of the message input. One of `user`, `system`, or `developer`.\n","enum":["user","system","developer"],"isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.1.role","typeLabel":"enum\u003cstring>"},"content":{"type":"array","title":"Input item content list","description":"A list of one or many input items to the model, containing different content \ntypes.\n","items":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.1.content.items.[INDEX]","typeLabel":"any"},"isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.1.content","typeLabel":"any[]"},"type":{"type":"string","description":"The type of the message input. Always set to `message`.\n","const":"message","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.1.type","typeLabel":"string"},"status":{"type":"string","description":"The status of item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.1.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.1","typeLabel":"Input message · object"},{"type":"object","title":"Output message","description":"An output message from the model.\n","required":["id","type","role","content","status"],"properties":{"id":{"type":"string","description":"The unique ID of the output message.\n","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.2.id","typeLabel":"string"},"type":{"type":"string","description":"The type of the output message. Always `message`.\n","const":"message","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.2.type","typeLabel":"string"},"role":{"type":"string","description":"The role of the output message. Always `assistant`.\n","const":"assistant","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.2.role","typeLabel":"string"},"content":{"type":"array","description":"The content of the output message.\n","items":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.2.content.items.[INDEX]","typeLabel":"any"},"isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.2.content","typeLabel":"any[]"},"status":{"type":"string","description":"The status of the message input. One of `in_progress`, `completed`, or\n`incomplete`. Populated when input items are returned via API.\n","enum":["in_progress","completed","incomplete"],"isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.2.status","typeLabel":"enum\u003cstring>"},"phase":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.2.phase","typeLabel":"any"}},"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.2","typeLabel":"Output message · object"},{"type":"object","title":"File search tool call","description":"The results of a file search tool call. See the\n[file search guide](https://developers.openai.com/api/docs/guides/tools-file-search) for more information.\n","required":["id","type","status","queries"],"properties":{"id":{"type":"string","description":"The unique ID of the file search tool call.\n","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.3.id","typeLabel":"string"},"type":{"type":"string","enum":["file_search_call"],"description":"The type of the file search tool call. Always `file_search_call`.\n","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"status":{"type":"string","description":"The status of the file search tool call. One of `in_progress`,\n`searching`, `incomplete` or `failed`,\n","enum":["in_progress","searching","completed","incomplete","failed"],"isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.3.status","typeLabel":"enum\u003cstring>"},"queries":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.3.queries.items.[INDEX]","typeLabel":"string"},"description":"The queries used to search for files.\n","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.3.queries","typeLabel":"string[]"},"results":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.3.results","typeLabel":"any"}},"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.3","typeLabel":"File search tool call · object"},{"type":"object","title":"Computer tool call","description":"A tool call to a computer use tool. See the\n[computer use guide](https://developers.openai.com/api/docs/guides/tools-computer-use) for more information.\n","required":["type","id","call_id","pending_safety_checks","status"],"properties":{"type":{"type":"string","description":"The type of the computer call. Always `computer_call`.","enum":["computer_call"],"default":"computer_call","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.4.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the computer call.","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.4.id","typeLabel":"string"},"call_id":{"type":"string","description":"An identifier used when responding to the tool call with output.\n","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.4.call_id","typeLabel":"string"},"pending_safety_checks":{"type":"array","items":{"properties":{"id":{"type":"string","description":"The ID of the pending safety check.","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.4.pending_safety_checks.items.[INDEX].id","typeLabel":"string"},"code":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.4.pending_safety_checks.items.[INDEX].code","typeLabel":"any"},"message":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.4.pending_safety_checks.items.[INDEX].message","typeLabel":"any"}},"type":"object","required":["id"],"description":"A pending safety check for the computer call.","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.4.pending_safety_checks.items.[INDEX]","typeLabel":"object"},"description":"The pending safety checks for the computer call.\n","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.4.pending_safety_checks","typeLabel":"object[]"},"status":{"type":"string","description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.4.status","typeLabel":"enum\u003cstring>"},"action":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.4.action","typeLabel":"any"},"actions":{"title":"Computer Action List","type":"array","description":"Flattened batched actions for `computer_use`. Each action includes an\n`type` discriminator and action-specific fields.\n","items":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.4.actions.items.[INDEX]","typeLabel":"any"},"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.4.actions","typeLabel":"any[]"}},"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.4","typeLabel":"Computer tool call · object"},{"type":"object","title":"Computer tool call output","description":"The output of a computer tool call.","required":["call_id","type","output"],"properties":{"call_id":{"type":"string","maxLength":64,"minLength":1,"description":"The ID of the computer tool call that produced the output.","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.5.call_id","typeLabel":"string"},"type":{"type":"string","enum":["computer_call_output"],"description":"The type of the computer tool call output. Always `computer_call_output`.","default":"computer_call_output","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.5.type","typeLabel":"enum\u003cstring>"},"output":{"type":"object","description":"A computer screenshot image used with the computer use tool.\n","properties":{"type":{"type":"string","const":"computer_screenshot","default":"computer_screenshot","description":"Specifies the event type. For a computer screenshot, this property is \nalways set to `computer_screenshot`.\n","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.5.output.type","typeLabel":"string"},"image_url":{"type":"string","format":"uri","description":"The URL of the screenshot image.","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.5.output.image_url","typeLabel":"string\u003curi>"},"file_id":{"type":"string","description":"The identifier of an uploaded file that contains the screenshot.","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.5.output.file_id","typeLabel":"string"}},"required":["type"],"isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.5.output","typeLabel":"object"},"id":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.5.id","typeLabel":"any"},"acknowledged_safety_checks":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.5.acknowledged_safety_checks","typeLabel":"any"},"status":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.5.status","typeLabel":"any"}},"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.5","typeLabel":"Computer tool call output · object"},{"type":"object","title":"Web search tool call","description":"The results of a web search tool call. See the\n[web search guide](https://developers.openai.com/api/docs/guides/tools-web-search) for more information.\n","required":["id","type","status"],"properties":{"id":{"type":"string","description":"The unique ID of the web search tool call.\n","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.6.id","typeLabel":"string"},"type":{"type":"string","const":"web_search_call","description":"The type of the web search tool call. Always `web_search_call`.\n","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.6.type","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","searching","completed","failed","incomplete"],"description":"The status of the web search tool call.\n","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.6.status","typeLabel":"enum\u003cstring>"},"action":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.6.action","typeLabel":"any"}},"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.6","typeLabel":"Web search tool call · object"},{"type":"object","title":"Function tool call","description":"A tool call to run a function. See the\n[function calling guide](https://developers.openai.com/api/docs/guides/function-calling) for more information.\n","required":["type","call_id","name","arguments"],"properties":{"type":{"type":"string","const":"function_call","description":"The type of the function tool call. Always `function_call`.\n","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.7.type","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the function tool call generated by the model.\n","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.7.call_id","typeLabel":"string"},"name":{"type":"string","description":"The name of the function to run.\n","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.7.name","typeLabel":"string"},"arguments":{"type":"string","description":"A JSON string of the arguments to pass to the function.\n","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.7.arguments","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the function tool call.\n","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.7.id","typeLabel":"string"},"caller":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.7.caller","typeLabel":"any"},"namespace":{"type":"string","description":"The namespace of the function to run.\n","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.7.namespace","typeLabel":"string"},"status":{"type":"string","description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.7.status","typeLabel":"enum\u003cstring>"},"async":{"type":"boolean","description":"Whether the function tool call runs asynchronously.\n","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.7.async","typeLabel":"boolean"}},"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.7","typeLabel":"Function tool call · object"},{"type":"object","title":"Function tool call output","description":"The output of a function tool call.","required":["type","output"],"properties":{"type":{"type":"string","enum":["function_call_output"],"description":"The type of the function tool call output. Always `function_call_output`.","default":"function_call_output","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.8.type","typeLabel":"enum\u003cstring>"},"output":{"type":"any","description":"Text, image, or file output of the function tool call.","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.8.output","typeLabel":"any"},"id":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.8.id","typeLabel":"any"},"call_id":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.8.call_id","typeLabel":"any"},"name":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.8.name","typeLabel":"any"},"namespace":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.8.namespace","typeLabel":"any"},"caller":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.8.caller","typeLabel":"any"},"status":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.8.status","typeLabel":"any"}},"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.8","typeLabel":"Function tool call output · object"},{"type":"object","title":"Item","description":"An item representing part of the context for the response to be\ngenerated by the model. Can contain text, images, and audio inputs,\nas well as previous assistant responses and tool call outputs.\n","required":["type","arguments"],"properties":{"type":{"type":"string","enum":["tool_search_call"],"description":"The item type. Always `tool_search_call`.","default":"tool_search_call","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.9.type","typeLabel":"enum\u003cstring>"},"arguments":{"properties":{},"type":"object","required":[],"description":"The arguments supplied to the tool search call.","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.9.arguments","typeLabel":"object"},"id":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.9.id","typeLabel":"any"},"call_id":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.9.call_id","typeLabel":"any"},"execution":{"type":"string","enum":["server","client"],"description":"Whether tool search was executed by the server or by the client.","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.9.execution","typeLabel":"enum\u003cstring>"},"status":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.9.status","typeLabel":"any"}},"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.9","typeLabel":"Item · object"},{"type":"object","title":"Item","description":"An item representing part of the context for the response to be\ngenerated by the model. Can contain text, images, and audio inputs,\nas well as previous assistant responses and tool call outputs.\n","required":["type","tools"],"properties":{"type":{"type":"string","enum":["tool_search_output"],"description":"The item type. Always `tool_search_output`.","default":"tool_search_output","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.10.type","typeLabel":"enum\u003cstring>"},"tools":{"items":{"type":"any","description":"A tool definition returned by a tool search output.\n","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.10.tools.items.[INDEX]","typeLabel":"any"},"type":"array","description":"The loaded tool definitions returned by the tool search output.","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.10.tools","typeLabel":"any[]"},"id":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.10.id","typeLabel":"any"},"call_id":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.10.call_id","typeLabel":"any"},"execution":{"type":"string","enum":["server","client"],"description":"Whether tool search was executed by the server or by the client.","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.10.execution","typeLabel":"enum\u003cstring>"},"status":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.10.status","typeLabel":"any"}},"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.10","typeLabel":"Item · object"},{"type":"object","title":"Item","description":"An item representing part of the context for the response to be\ngenerated by the model. Can contain text, images, and audio inputs,\nas well as previous assistant responses and tool call outputs.\n","required":["type","role","tools"],"properties":{"type":{"type":"string","enum":["additional_tools"],"description":"The item type. Always `additional_tools`.","default":"additional_tools","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.11.type","typeLabel":"enum\u003cstring>"},"role":{"type":"string","enum":["developer"],"description":"The role that provided the additional tools. Only `developer` is supported.","default":"developer","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.11.role","typeLabel":"enum\u003cstring>"},"tools":{"items":{"type":"any","description":"A tool that can be used to generate a response.\n","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.11.tools.items.[INDEX]","typeLabel":"any"},"type":"array","description":"A list of additional tools made available at this item.","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.11.tools","typeLabel":"any[]"},"id":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.11.id","typeLabel":"any"}},"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.11","typeLabel":"Item · object"},{"type":"object","title":"Item","description":"An update to the conversation's response configuration. Supply reasoning,\ntext, or both. Each setting stays in effect until a later update replaces it.\n","required":["type"],"properties":{"type":{"type":"string","const":"configuration_update","description":"The item type. Always `configuration_update`.","default":"configuration_update","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.12.type","typeLabel":"string"},"id":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.12.id","typeLabel":"any"},"reasoning":{"type":"object","description":"Updates to reasoning configuration. Only effort is supported.","properties":{"effort":{"type":"any","description":"The reasoning effort to use for subsequent responses until another\nconfiguration update replaces it.\n","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.12.reasoning.effort","typeLabel":"any"}},"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.12.reasoning","typeLabel":"object"},"text":{"type":"object","description":"The text output configuration for subsequent responses.","properties":{"format":{"type":"any","description":"Use a JSON schema for structured output or text to return to plain text.","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.12.text.format","typeLabel":"any"}},"required":["format"],"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.12.text","typeLabel":"object"}},"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.12","typeLabel":"Item · object"},{"type":"object","title":"Reasoning","description":"A description of the chain of thought used by a reasoning model while generating\na response. Be sure to include these items in your `input` to the Responses API\nfor subsequent turns of a conversation if you are manually\n[managing context](https://developers.openai.com/api/docs/guides/conversation-state).\n","required":["id","summary","type"],"properties":{"type":{"type":"string","description":"The type of the object. Always `reasoning`.\n","enum":["reasoning"],"isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.13.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique identifier of the reasoning content.\n","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.13.id","typeLabel":"string"},"summary":{"type":"array","description":"Reasoning summary content.\n","items":{"properties":{"type":{"type":"string","enum":["summary_text"],"description":"The type of the object. Always `summary_text`.","default":"summary_text","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.13.summary.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"A summary of the reasoning output from the model so far.","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.13.summary.items.[INDEX].text","typeLabel":"string"}},"type":"object","required":["type","text"],"title":"Summary text","description":"A summary text from the model.","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.13.summary.items.[INDEX]","typeLabel":"Summary text · object"},"isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.13.summary","typeLabel":"Summary text · object[]"},"encrypted_content":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.13.encrypted_content","typeLabel":"any"},"content":{"type":"array","description":"Reasoning text content.\n","items":{"properties":{"type":{"type":"string","enum":["reasoning_text"],"description":"The type of the reasoning text. Always `reasoning_text`.","default":"reasoning_text","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.13.content.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"The reasoning text from the model.","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.13.content.items.[INDEX].text","typeLabel":"string"}},"type":"object","required":["type","text"],"title":"Reasoning text","description":"Reasoning text from the model.","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.13.content.items.[INDEX]","typeLabel":"Reasoning text · object"},"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.13.content","typeLabel":"Reasoning text · object[]"},"status":{"type":"string","description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.13.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.13","typeLabel":"Reasoning · object"},{"type":"object","title":"Compaction item","description":"A compaction item generated by the [`v1/responses/compact` API](https://developers.openai.com/api/reference/resources/responses/methods/compact).","required":["type","encrypted_content"],"properties":{"type":{"type":"string","enum":["compaction"],"description":"The type of the item. Always `compaction`.","default":"compaction","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.14.type","typeLabel":"enum\u003cstring>"},"encrypted_content":{"type":"string","maxLength":104857600,"description":"The encrypted content of the compaction summary.","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.14.encrypted_content","typeLabel":"string"},"id":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.14.id","typeLabel":"any"}},"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.14","typeLabel":"Compaction item · object"},{"type":"object","title":"Image generation call","description":"An image generation request made by the model.","required":["type","id","status","result"],"properties":{"type":{"type":"string","enum":["image_generation_call"],"description":"The type of the image generation call. Always `image_generation_call`.","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.15.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the image generation call.","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.15.id","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","completed","generating","failed"],"description":"The status of the image generation call.","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.15.status","typeLabel":"enum\u003cstring>"},"result":{"type":"any","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.15.result","typeLabel":"any"},"error":{"properties":{"code":{"type":"any","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.15.error.code","typeLabel":"any"},"type":{"type":"string","description":"The error type.","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.15.error.type","typeLabel":"string"},"message":{"type":"string","description":"A description of the error.","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.15.error.message","typeLabel":"string"},"param":{"type":"any","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.15.error.param","typeLabel":"any"},"moderation_details":{"properties":{"moderation_stage":{"type":"string","enum":["input","output","unknown"],"description":"The stage where moderation blocked the image generation call.","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.15.error.moderation_details.moderation_stage","typeLabel":"enum\u003cstring>"},"categories":{"items":{"type":"string","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.15.error.moderation_details.categories.items.[INDEX]","typeLabel":"string"},"type":"array","description":"Public moderation categories. New category values may be added over time.","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.15.error.moderation_details.categories","typeLabel":"string[]"}},"type":"object","required":["moderation_stage","categories"],"description":"Public details for a `moderation_blocked` error, when available.","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.15.error.moderation_details","typeLabel":"object"}},"type":"object","required":["code","type","message","param"],"description":"Details of a moderation failure, when available.","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.15.error","typeLabel":"object"},"size":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.15.size","typeLabel":"any"},"quality":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.15.quality","typeLabel":"any"},"action":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.15.action","typeLabel":"any"},"background":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.15.background","typeLabel":"any"},"output_format":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.15.output_format","typeLabel":"any"},"svg_usage":{"properties":{"model":{"type":"string","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.15.svg_usage.model","typeLabel":"string"},"input_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.15.svg_usage.input_tokens","typeLabel":"integer"},"output_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.15.svg_usage.output_tokens","typeLabel":"integer"},"total_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.15.svg_usage.total_tokens","typeLabel":"integer"},"reasoning_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.15.svg_usage.reasoning_tokens","typeLabel":"integer"}},"type":"object","required":["model","input_tokens","output_tokens","total_tokens","reasoning_tokens"],"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.15.svg_usage","typeLabel":"object"},"revised_prompt":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.15.revised_prompt","typeLabel":"any"}},"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.15","typeLabel":"Image generation call · object"},{"type":"object","title":"Code interpreter tool call","description":"A tool call to run code.\n","required":["type","id","status","container_id","code","outputs"],"properties":{"type":{"type":"string","enum":["code_interpreter_call"],"default":"code_interpreter_call","description":"The type of the code interpreter tool call. Always `code_interpreter_call`.\n","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.16.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the code interpreter tool call.\n","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.16.id","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","completed","incomplete","interpreting","failed"],"description":"The status of the code interpreter tool call. Valid values are `in_progress`, `completed`, `incomplete`, `interpreting`, and `failed`.\n","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.16.status","typeLabel":"enum\u003cstring>"},"container_id":{"type":"string","description":"The ID of the container used to run the code.\n","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.16.container_id","typeLabel":"string"},"code":{"type":"any","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.16.code","typeLabel":"any"},"outputs":{"type":"any","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.16.outputs","typeLabel":"any"}},"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.16","typeLabel":"Code interpreter tool call · object"},{"type":"object","title":"Local shell call","description":"A tool call to run a command on the local shell.\n","required":["type","id","call_id","action","status"],"properties":{"type":{"type":"string","enum":["local_shell_call"],"description":"The type of the local shell call. Always `local_shell_call`.\n","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.17.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the local shell call.\n","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.17.id","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the local shell tool call generated by the model.\n","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.17.call_id","typeLabel":"string"},"action":{"properties":{"type":{"type":"string","enum":["exec"],"description":"The type of the local shell action. Always `exec`.","default":"exec","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.17.action.type","typeLabel":"enum\u003cstring>"},"command":{"items":{"type":"string","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.17.action.command.items.[INDEX]","typeLabel":"string"},"type":"array","description":"The command to run.","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.17.action.command","typeLabel":"string[]"},"env":{"additionalProperties":{"type":"string","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.17.action.env.additionalProperties","typeLabel":"string"},"type":"object","description":"Environment variables to set for the command.","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.17.action.env","typeLabel":"object"},"timeout_ms":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.17.action.timeout_ms","typeLabel":"any"},"working_directory":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.17.action.working_directory","typeLabel":"any"},"user":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.17.action.user","typeLabel":"any"}},"type":"object","required":["type","command","env"],"title":"Local shell exec action","description":"Execute a shell command on the server.","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.17.action","typeLabel":"Local shell exec action · object"},"status":{"type":"string","enum":["in_progress","completed","incomplete"],"description":"The status of the local shell call.\n","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.17.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.17","typeLabel":"Local shell call · object"},{"type":"object","title":"Local shell call output","description":"The output of a local shell tool call.\n","required":["id","type","call_id","output"],"properties":{"type":{"type":"string","enum":["local_shell_call_output"],"description":"The type of the local shell tool call output. Always `local_shell_call_output`.\n","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.18.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the local shell tool call generated by the model.\n","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.18.id","typeLabel":"string"},"output":{"type":"string","description":"A JSON string of the output of the local shell tool call.\n","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.18.output","typeLabel":"string"},"status":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.18.status","typeLabel":"any"}},"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.18","typeLabel":"Local shell call output · object"},{"type":"object","title":"Shell tool call","description":"A tool representing a request to execute one or more shell commands.","required":["call_id","type","action"],"properties":{"call_id":{"type":"string","maxLength":64,"minLength":1,"description":"The unique ID of the shell tool call generated by the model.","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.19.call_id","typeLabel":"string"},"type":{"type":"string","enum":["shell_call"],"description":"The type of the item. Always `shell_call`.","default":"shell_call","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.19.type","typeLabel":"enum\u003cstring>"},"action":{"properties":{"commands":{"items":{"type":"string","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.19.action.commands.items.[INDEX]","typeLabel":"string"},"type":"array","description":"Ordered shell commands for the execution environment to run.","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.19.action.commands","typeLabel":"string[]"},"timeout_ms":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.19.action.timeout_ms","typeLabel":"any"},"max_output_length":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.19.action.max_output_length","typeLabel":"any"}},"type":"object","required":["commands"],"title":"Shell action","description":"The shell commands and limits that describe how to run the tool call.","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.19.action","typeLabel":"Shell action · object"},"id":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.19.id","typeLabel":"any"},"caller":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.19.caller","typeLabel":"any"},"status":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.19.status","typeLabel":"any"},"environment":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.19.environment","typeLabel":"any"}},"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.19","typeLabel":"Shell tool call · object"},{"type":"object","title":"Shell tool call output","description":"The streamed output items emitted by a shell tool call.","required":["call_id","type","output"],"properties":{"call_id":{"type":"string","maxLength":64,"minLength":1,"description":"The unique ID of the shell tool call generated by the model.","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.20.call_id","typeLabel":"string"},"type":{"type":"string","enum":["shell_call_output"],"description":"The type of the item. Always `shell_call_output`.","default":"shell_call_output","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.20.type","typeLabel":"enum\u003cstring>"},"output":{"items":{"properties":{"stdout":{"type":"string","maxLength":10485760,"description":"Captured stdout output for the shell call.","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.20.output.items.[INDEX].stdout","typeLabel":"string"},"stderr":{"type":"string","maxLength":10485760,"description":"Captured stderr output for the shell call.","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.20.output.items.[INDEX].stderr","typeLabel":"string"},"outcome":{"type":"any","title":"Shell call outcome","description":"The exit or timeout outcome associated with this shell call.","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.20.output.items.[INDEX].outcome","typeLabel":"any"}},"type":"object","required":["stdout","stderr","outcome"],"title":"Shell output content","description":"Captured stdout and stderr for a portion of a shell tool call output.","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.20.output.items.[INDEX]","typeLabel":"Shell output content · object"},"type":"array","description":"Captured chunks of stdout and stderr output, along with their associated outcomes.","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.20.output","typeLabel":"Shell output content · object[]"},"id":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.20.id","typeLabel":"any"},"caller":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.20.caller","typeLabel":"any"},"status":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.20.status","typeLabel":"any"},"max_output_length":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.20.max_output_length","typeLabel":"any"}},"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.20","typeLabel":"Shell tool call output · object"},{"type":"object","title":"Apply patch tool call","description":"A tool call representing a request to create, delete, or update files using diff patches.","required":["type","call_id","status","operation"],"properties":{"type":{"type":"string","enum":["apply_patch_call"],"description":"The type of the item. Always `apply_patch_call`.","default":"apply_patch_call","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.21.type","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","maxLength":64,"minLength":1,"description":"The unique ID of the apply patch tool call generated by the model.","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.21.call_id","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","completed"],"title":"Apply patch call status","description":"The status of the apply patch tool call. One of `in_progress` or `completed`.","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.21.status","typeLabel":"enum\u003cstring>"},"operation":{"type":"any","title":"Apply patch operation","description":"The specific create, delete, or update instruction for the apply_patch tool call.","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.21.operation","typeLabel":"any"},"id":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.21.id","typeLabel":"any"},"caller":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.21.caller","typeLabel":"any"}},"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.21","typeLabel":"Apply patch tool call · object"},{"type":"object","title":"Apply patch tool call output","description":"The streamed output emitted by an apply patch tool call.","required":["type","call_id","status"],"properties":{"type":{"type":"string","enum":["apply_patch_call_output"],"description":"The type of the item. Always `apply_patch_call_output`.","default":"apply_patch_call_output","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.22.type","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","maxLength":64,"minLength":1,"description":"The unique ID of the apply patch tool call generated by the model.","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.22.call_id","typeLabel":"string"},"status":{"type":"string","enum":["completed","failed"],"title":"Apply patch call output status","description":"The status of the apply patch tool call output. One of `completed` or `failed`.","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.22.status","typeLabel":"enum\u003cstring>"},"id":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.22.id","typeLabel":"any"},"caller":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.22.caller","typeLabel":"any"},"output":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.22.output","typeLabel":"any"}},"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.22","typeLabel":"Apply patch tool call output · object"},{"type":"object","title":"MCP list tools","description":"A list of tools available on an MCP server.\n","required":["type","id","server_label","tools"],"properties":{"type":{"type":"string","const":"mcp_list_tools","description":"The type of the item. Always `mcp_list_tools`.\n","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.23.type","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the list.\n","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.23.id","typeLabel":"string"},"server_label":{"type":"string","description":"The label of the MCP server.\n","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.23.server_label","typeLabel":"string"},"tools":{"type":"array","items":{"type":"object","title":"MCP list tools tool","description":"A tool available on an MCP server.\n","properties":{"name":{"type":"string","description":"The name of the tool.\n","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.23.tools.items.[INDEX].name","typeLabel":"string"},"input_schema":{"type":"object","description":"The JSON schema describing the tool's input.\n","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.23.tools.items.[INDEX].input_schema","typeLabel":"object"},"description":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.23.tools.items.[INDEX].description","typeLabel":"any"},"annotations":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.23.tools.items.[INDEX].annotations","typeLabel":"any"}},"required":["name","input_schema"],"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.23.tools.items.[INDEX]","typeLabel":"MCP list tools tool · object"},"description":"The tools available on the server.\n","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.23.tools","typeLabel":"MCP list tools tool · object[]"},"error":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.23.error","typeLabel":"any"}},"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.23","typeLabel":"MCP list tools · object"},{"type":"object","title":"MCP approval request","description":"A request for human approval of a tool invocation.\n","required":["type","id","server_label","name","arguments"],"properties":{"type":{"type":"string","const":"mcp_approval_request","description":"The type of the item. Always `mcp_approval_request`.\n","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.24.type","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the approval request.\n","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.24.id","typeLabel":"string"},"server_label":{"type":"string","description":"The label of the MCP server making the request.\n","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.24.server_label","typeLabel":"string"},"name":{"type":"string","description":"The name of the tool to run.\n","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.24.name","typeLabel":"string"},"arguments":{"type":"string","description":"A JSON string of arguments for the tool.\n","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.24.arguments","typeLabel":"string"}},"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.24","typeLabel":"MCP approval request · object"},{"type":"object","title":"MCP approval response","description":"A response to an MCP approval request.\n","required":["type","request_id","approve","approval_request_id"],"properties":{"type":{"type":"string","const":"mcp_approval_response","description":"The type of the item. Always `mcp_approval_response`.\n","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.25.type","typeLabel":"string"},"approval_request_id":{"type":"string","description":"The ID of the approval request being answered.\n","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.25.approval_request_id","typeLabel":"string"},"approve":{"type":"boolean","description":"Whether the request was approved.\n","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.25.approve","typeLabel":"boolean"},"id":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.25.id","typeLabel":"any"},"reason":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.25.reason","typeLabel":"any"}},"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.25","typeLabel":"MCP approval response · object"},{"type":"object","title":"MCP tool call","description":"An invocation of a tool on an MCP server.\n","required":["type","id","server_label","name","arguments"],"properties":{"type":{"type":"string","const":"mcp_call","description":"The type of the item. Always `mcp_call`.\n","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.26.type","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the tool call.\n","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.26.id","typeLabel":"string"},"server_label":{"type":"string","description":"The label of the MCP server running the tool.\n","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.26.server_label","typeLabel":"string"},"name":{"type":"string","description":"The name of the tool that was run.\n","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.26.name","typeLabel":"string"},"arguments":{"type":"string","description":"A JSON string of the arguments passed to the tool.\n","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.26.arguments","typeLabel":"string"},"output":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.26.output","typeLabel":"any"},"error":{"type":"any","description":"The error from the tool call, if any.","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.26.error","typeLabel":"any"},"status":{"type":"string","enum":["in_progress","completed","incomplete","calling","failed"],"description":"The status of the tool call. One of `in_progress`, `completed`, `incomplete`, `calling`, or `failed`.\n","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.26.status","typeLabel":"enum\u003cstring>"},"approval_request_id":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.26.approval_request_id","typeLabel":"any"}},"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.26","typeLabel":"MCP tool call · object"},{"type":"object","title":"Custom tool call output","description":"The output of a custom tool call from your code, being sent back to the model.\n","required":["type","call_id","output"],"properties":{"type":{"type":"string","enum":["custom_tool_call_output"],"description":"The type of the custom tool call output. Always `custom_tool_call_output`.\n","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.27.type","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","description":"The call ID, used to map this custom tool call output to a custom tool call.\n","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.27.call_id","typeLabel":"string"},"output":{"type":"any","description":"The output from the custom tool call generated by your code.\nCan be a string or an list of output content.\n","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.27.output","typeLabel":"any"},"id":{"type":"string","description":"The unique ID of the custom tool call output in the OpenAI platform.\n","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.27.id","typeLabel":"string"},"caller":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.27.caller","typeLabel":"any"}},"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.27","typeLabel":"Custom tool call output · object"},{"type":"object","title":"Custom tool call","description":"A call to a custom tool created by the model.\n","required":["type","call_id","name","input"],"properties":{"type":{"type":"string","enum":["custom_tool_call"],"description":"The type of the custom tool call. Always `custom_tool_call`.\n","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.28.type","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","description":"An identifier used to map this custom tool call to a tool call output.\n","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.28.call_id","typeLabel":"string"},"name":{"type":"string","description":"The name of the custom tool being called.\n","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.28.name","typeLabel":"string"},"input":{"type":"string","description":"The input for the custom tool call generated by the model.\n","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.28.input","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the custom tool call in the OpenAI platform.\n","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.28.id","typeLabel":"string"},"caller":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.28.caller","typeLabel":"any"},"namespace":{"type":"string","description":"The namespace of the custom tool being called.\n","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.28.namespace","typeLabel":"string"},"async":{"type":"boolean","description":"Whether the custom tool call runs asynchronously.\n","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.28.async","typeLabel":"boolean"}},"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.28","typeLabel":"Custom tool call · object"},{"type":"object","title":"Compaction trigger","description":"Compacts the current context. Must be the final input item.","required":["type"],"properties":{"type":{"type":"string","enum":["compaction_trigger"],"description":"The type of the item. Always `compaction_trigger`.","default":"compaction_trigger","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.29.type","typeLabel":"enum\u003cstring>"},"id":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.29.id","typeLabel":"any"}},"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.29","typeLabel":"Compaction trigger · object"},{"type":"object","title":"Item reference","description":"An internal identifier for an item to reference.","required":["id"],"properties":{"id":{"type":"string","description":"The ID of the item to reference.","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.30.id","typeLabel":"string"},"type":{"type":"any","uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.30.type","typeLabel":"any"}},"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.30","typeLabel":"Item reference · object"},{"type":"object","required":["id","type","call_id","code","fingerprint"],"properties":{"id":{"type":"string","description":"The unique ID of this program item.","example":"cm_123","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.31.id","typeLabel":"string"},"type":{"type":"string","enum":["program"],"description":"The item type. Always `program`.","default":"program","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.31.type","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","maxLength":64,"minLength":1,"description":"The stable call ID of the program item.","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.31.call_id","typeLabel":"string"},"code":{"type":"string","maxLength":10485760,"description":"The JavaScript source executed by programmatic tool calling.","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.31.code","typeLabel":"string"},"fingerprint":{"type":"string","maxLength":10485760,"description":"Opaque program replay fingerprint that must be round-tripped.","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.31.fingerprint","typeLabel":"string"}},"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.31","typeLabel":"object"},{"type":"object","required":["id","type","call_id","result","status"],"properties":{"id":{"type":"string","description":"The unique ID of this program output item.","example":"cmo_123","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.32.id","typeLabel":"string"},"type":{"type":"string","enum":["program_output"],"description":"The item type. Always `program_output`.","default":"program_output","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.32.type","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","maxLength":64,"minLength":1,"description":"The call ID of the program item.","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.32.call_id","typeLabel":"string"},"result":{"type":"string","maxLength":10485760,"description":"The result produced by the program item.","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.32.result","typeLabel":"string"},"status":{"type":"string","enum":["completed","incomplete"],"description":"The terminal status of the program output.","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.32.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX].oneOf.32","typeLabel":"object"}],"uniqueKey":"oneOf.25.response.instructions.oneOf.1.items.[INDEX]","typeLabel":"Input message · object · Input message · object · Output message · object · File search tool call · object · Computer tool call · object · Computer tool call output · object · Web search tool call · object · Function tool call · object · Function tool call output · object · Item · object · Item · object · Item · object · Item · object · Reasoning · object · Compaction item · object · Image generation call · object · Code interpreter tool call · object · Local shell call · object · Local shell call output · object · Shell tool call · object · Shell tool call output · object · Apply patch tool call · object · Apply patch tool call output · object · MCP list tools · object · MCP approval request · object · MCP approval response · object · MCP tool call · object · Custom tool call output · object · Custom tool call · object · Compaction trigger · object · Item reference · object · object · object"},"title":"Input item list","description":"A system (or developer) message inserted into the model's context.\n\nWhen using along with `previous_response_id`, the instructions from a previous\nresponse will not be carried over to the next response. This makes it simple\nto swap out system (or developer) messages in new responses.\n","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.1","typeLabel":"Input message · object · Input message · object · Output message · object · File search tool call · object · Computer tool call · object · Computer tool call output · object · Web search tool call · object · Function tool call · object · Function tool call output · object · Item · object · Item · object · Item · object · Item · object · Reasoning · object · Compaction item · object · Image generation call · object · Code interpreter tool call · object · Local shell call · object · Local shell call output · object · Shell tool call · object · Shell tool call output · object · Apply patch tool call · object · Apply patch tool call output · object · MCP list tools · object · MCP approval request · object · MCP approval response · object · MCP tool call · object · Custom tool call output · object · Custom tool call · object · Compaction trigger · object · Item reference · object · object · object[]"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.25.response.instructions.oneOf.2","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.25.response.instructions","typeLabel":"string | Input message · object · Input message · object · Output message · object · File search tool call · object · Computer tool call · object · Computer tool call output · object · Web search tool call · object · Function tool call · object · Function tool call output · object · Item · object · Item · object · Item · object · Item · object · Reasoning · object · Compaction item · object · Image generation call · object · Code interpreter tool call · object · Local shell call · object · Local shell call output · object · Shell tool call · object · Shell tool call output · object · Apply patch tool call · object · Apply patch tool call output · object · MCP list tools · object · MCP approval request · object · MCP approval response · object · MCP tool call · object · Custom tool call output · object · Custom tool call · object · Compaction trigger · object · Item reference · object · object · object[] | null"},"parallel_tool_calls":{"type":"boolean","description":"Whether to allow the model to run tool calls in parallel.\n","default":true,"isRequired":true,"uniqueKey":"oneOf.25.response.parallel_tool_calls","typeLabel":"boolean"},"top_logprobs":{"oneOf":[{"type":"integer","description":"An integer between 0 and 20 specifying the maximum number of most likely\ntokens to return at each token position, each with an associated log\nprobability. In some cases, the number of returned tokens may be fewer than\nrequested.\n","maximum":20,"minimum":0,"uniqueKey":"oneOf.25.response.top_logprobs.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"oneOf.25.response.top_logprobs.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.25.response.top_logprobs","typeLabel":"integer | null"},"user":{"oneOf":[{"type":"string","example":"user-1234","deprecated":true,"description":"This field is being replaced by `safety_identifier` and `prompt_cache_key`. Use `prompt_cache_key` instead to maintain caching optimizations.\nA stable identifier for your end-users.\nUsed to boost cache hit rates by better bucketing similar requests and to help OpenAI detect and prevent abuse. [Learn more](https://developers.openai.com/api/docs/guides/safety-best-practices#implement-safety-identifiers).\n","uniqueKey":"oneOf.25.response.user.oneOf.0","typeLabel":"string"},{"type":"null","example":"user-1234","deprecated":true,"description":"This field is being replaced by `safety_identifier` and `prompt_cache_key`. Use `prompt_cache_key` instead to maintain caching optimizations.\nA stable identifier for your end-users.\nUsed to boost cache hit rates by better bucketing similar requests and to help OpenAI detect and prevent abuse. [Learn more](https://developers.openai.com/api/docs/guides/safety-best-practices#implement-safety-identifiers).\n","uniqueKey":"oneOf.25.response.user.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.25.response.user","typeLabel":"string | null"},"safety_identifier":{"oneOf":[{"type":"string","description":"A stable identifier used to help detect users of your application that may be violating OpenAI's usage policies.\nThe IDs should be a string that uniquely identifies each user, with a maximum length of 128 characters. We recommend hashing their username or email address, in order to avoid sending us any identifying information. [Learn more](https://developers.openai.com/api/docs/guides/safety-best-practices#implement-safety-identifiers).\n","maxLength":128,"example":"safety-identifier-1234","uniqueKey":"oneOf.25.response.safety_identifier.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.25.response.safety_identifier.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.25.response.safety_identifier","typeLabel":"string | null"},"prompt_cache_key":{"oneOf":[{"type":"string","description":"Used by OpenAI to cache responses for similar requests to optimize your cache hit rates. Replaces the `user` field. [Learn more](https://developers.openai.com/api/docs/guides/prompt-caching).\n","example":"prompt-cache-key-1234","uniqueKey":"oneOf.25.response.prompt_cache_key.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.25.response.prompt_cache_key.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.25.response.prompt_cache_key","typeLabel":"string | null"},"prompt_cache_retention":{"oneOf":[{"type":"string","description":"Deprecated. Use `prompt_cache_options.ttl` instead.\n\nThe retention policy for the prompt cache. Set to `24h` to enable extended prompt caching, which keeps cached prefixes active for longer, up to a maximum of 24 hours. [Learn more](https://developers.openai.com/api/docs/guides/prompt-caching#prompt-cache-retention).\nThis field expresses a maximum retention policy, while\n`prompt_cache_options.ttl` expresses a minimum cache lifetime. The two\nfields are independent and do not interact.\nFor `gpt-5.5`, `gpt-5.5-pro`, and future models, only `24h` is supported.\n\nFor older models that support both `in_memory` and `24h`, the default depends on your organization's data retention policy:\n - Organizations without ZDR enabled default to `24h`.\n - Organizations with ZDR enabled default to `in_memory` when `prompt_cache_retention` is not specified.\n","enum":["in_memory","24h"],"deprecated":true,"uniqueKey":"oneOf.25.response.prompt_cache_retention.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","deprecated":true,"uniqueKey":"oneOf.25.response.prompt_cache_retention.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.25.response.prompt_cache_retention","typeLabel":"enum\u003cstring> | null"},"previous_response_id":{"oneOf":[{"type":"string","description":"The unique ID of the previous response to the model. Use this to\ncreate multi-turn conversations. Learn more about\n[conversation state](https://developers.openai.com/api/docs/guides/conversation-state). Cannot be used in conjunction with `conversation`.\n","uniqueKey":"oneOf.25.response.previous_response_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.25.response.previous_response_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.25.response.previous_response_id","typeLabel":"string | null"},"background":{"oneOf":[{"type":"boolean","description":"Whether to run the model response in the background.\n[Learn more](https://developers.openai.com/api/docs/guides/background).\n","default":false,"uniqueKey":"oneOf.25.response.background.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"oneOf.25.response.background.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.25.response.background","typeLabel":"boolean | null"},"max_tool_calls":{"oneOf":[{"type":"integer","description":"The maximum number of total calls to built-in tools that can be processed in a response. This maximum number applies across all built-in tool calls, not per individual tool. Any further attempts to call a tool by the model will be ignored.\n","uniqueKey":"oneOf.25.response.max_tool_calls.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"oneOf.25.response.max_tool_calls.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.25.response.max_tool_calls","typeLabel":"integer | null"},"text":{"type":"object","description":"Configuration options for a text response from the model. Can be plain\ntext or structured JSON data. Learn more:\n- [Text inputs and outputs](https://developers.openai.com/api/docs/guides/text)\n- [Structured Outputs](https://developers.openai.com/api/docs/guides/structured-outputs)\n","properties":{"format":{"oneOf":[{"type":"object","title":"Text","description":"An object specifying the format that the model must output.\n\nConfiguring `{ \"type\": \"json_schema\" }` enables Structured Outputs,\nwhich ensures the model will match your supplied JSON schema. Learn more in the\n[Structured Outputs guide](https://developers.openai.com/api/docs/guides/structured-outputs).\n\nThe default format is `{ \"type\": \"text\" }` with no additional options.\n\n**Not recommended for gpt-4o and newer models:**\n\nSetting to `{ \"type\": \"json_object\" }` enables the older JSON mode, which\nensures the message the model generates is valid JSON. Using `json_schema`\nis preferred for models that support it.\n","required":["type"],"properties":{"type":{"type":"string","description":"The type of response format being defined. Always `text`.","const":"text","isRequired":true,"uniqueKey":"oneOf.25.response.text.format.oneOf.0.type","typeLabel":"string"}},"uniqueKey":"oneOf.25.response.text.format.oneOf.0","typeLabel":"Text · object"},{"type":"object","title":"JSON schema","description":"An object specifying the format that the model must output.\n\nConfiguring `{ \"type\": \"json_schema\" }` enables Structured Outputs,\nwhich ensures the model will match your supplied JSON schema. Learn more in the\n[Structured Outputs guide](https://developers.openai.com/api/docs/guides/structured-outputs).\n\nThe default format is `{ \"type\": \"text\" }` with no additional options.\n\n**Not recommended for gpt-4o and newer models:**\n\nSetting to `{ \"type\": \"json_object\" }` enables the older JSON mode, which\nensures the message the model generates is valid JSON. Using `json_schema`\nis preferred for models that support it.\n","required":["type","schema","name"],"properties":{"type":{"type":"string","description":"The type of response format being defined. Always `json_schema`.","enum":["json_schema"],"isRequired":true,"uniqueKey":"oneOf.25.response.text.format.oneOf.1.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"The name of the response format. Must be a-z, A-Z, 0-9, or contain\nunderscores and dashes, with a maximum length of 64.\n","isRequired":true,"uniqueKey":"oneOf.25.response.text.format.oneOf.1.name","typeLabel":"string"},"schema":{"type":"object","title":"JSON schema","description":"The schema for the response format, described as a JSON Schema object.\nLearn how to build JSON schemas [here](https://json-schema.org/).\n","additionalProperties":true,"isRequired":true,"uniqueKey":"oneOf.25.response.text.format.oneOf.1.schema","typeLabel":"JSON schema · object"},"description":{"type":"string","description":"A description of what the response format is for, used by the model to\ndetermine how to respond in the format.\n","uniqueKey":"oneOf.25.response.text.format.oneOf.1.description","typeLabel":"string"},"strict":{"oneOf":[{"type":"boolean","description":"Whether to enable strict schema adherence when generating the output.\nIf set to true, the model will always follow the exact schema defined\nin the `schema` field. Only a subset of JSON Schema is supported when\n`strict` is `true`. To learn more, read the [Structured Outputs\nguide](https://developers.openai.com/api/docs/guides/structured-outputs).\n","default":false,"uniqueKey":"oneOf.25.response.text.format.oneOf.1.strict.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"oneOf.25.response.text.format.oneOf.1.strict.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.25.response.text.format.oneOf.1.strict","typeLabel":"boolean | null"}},"uniqueKey":"oneOf.25.response.text.format.oneOf.1","typeLabel":"JSON schema · object"},{"type":"object","title":"JSON object","description":"An object specifying the format that the model must output.\n\nConfiguring `{ \"type\": \"json_schema\" }` enables Structured Outputs,\nwhich ensures the model will match your supplied JSON schema. Learn more in the\n[Structured Outputs guide](https://developers.openai.com/api/docs/guides/structured-outputs).\n\nThe default format is `{ \"type\": \"text\" }` with no additional options.\n\n**Not recommended for gpt-4o and newer models:**\n\nSetting to `{ \"type\": \"json_object\" }` enables the older JSON mode, which\nensures the message the model generates is valid JSON. Using `json_schema`\nis preferred for models that support it.\n","required":["type"],"properties":{"type":{"type":"string","description":"The type of response format being defined. Always `json_object`.","const":"json_object","isRequired":true,"uniqueKey":"oneOf.25.response.text.format.oneOf.2.type","typeLabel":"string"}},"uniqueKey":"oneOf.25.response.text.format.oneOf.2","typeLabel":"JSON object · object"}],"uniqueKey":"oneOf.25.response.text.format","typeLabel":"Text · object | JSON schema · object | JSON object · object"},"verbosity":{"oneOf":[{"type":"string","description":"Constrains the verbosity of the model's response. Lower values will result in\nmore concise responses, while higher values will result in more verbose responses.\nCurrently supported values are `low`, `medium`, and `high`. The default is\n`medium`.\n","default":"medium","enum":["low","medium","high"],"uniqueKey":"oneOf.25.response.text.verbosity.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"oneOf.25.response.text.verbosity.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.25.response.text.verbosity","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"oneOf.25.response.text","typeLabel":"object"},"prompt":{"oneOf":[{"type":"object","description":"Reference to a prompt template and its variables.\n[Learn more](https://developers.openai.com/api/docs/guides/text?api-mode=responses#version-prompts-in-code).\n","required":["id"],"properties":{"id":{"type":"string","description":"The unique identifier of the prompt template to use.","isRequired":true,"uniqueKey":"oneOf.25.response.prompt.oneOf.0.id","typeLabel":"string"},"version":{"oneOf":[{"type":"string","description":"Optional version of the prompt template.","uniqueKey":"oneOf.25.response.prompt.oneOf.0.version.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.25.response.prompt.oneOf.0.version.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.25.response.prompt.oneOf.0.version","typeLabel":"string | null"},"variables":{"oneOf":[{"type":"object","title":"Prompt Variables","description":"Optional map of values to substitute in for variables in your\nprompt. The substitution values can either be strings, or other\nResponse input types like images or files.\n","additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"oneOf.25.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"object","title":"Input text","description":"A text input to the model.","required":["type","text"],"properties":{"type":{"type":"string","enum":["input_text"],"description":"The type of the input item. Always `input_text`.","default":"input_text","isRequired":true,"uniqueKey":"oneOf.25.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.1.type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"The text input to the model.","isRequired":true,"uniqueKey":"oneOf.25.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.1.text","typeLabel":"string"},"prompt_cache_breakpoint":{"properties":{"mode":{"type":"string","enum":["explicit"],"description":"The breakpoint mode. Always `explicit`.","default":"explicit","isRequired":true,"uniqueKey":"oneOf.25.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.1.prompt_cache_breakpoint.mode","typeLabel":"enum\u003cstring>"},"ttl":{"type":"string","enum":["30m","12h"],"description":"The minimum lifetime of this cache breakpoint. Defaults to the request TTL.","uniqueKey":"oneOf.25.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.1.prompt_cache_breakpoint.ttl","typeLabel":"enum\u003cstring>"}},"type":"object","required":["mode"],"title":"Prompt cache breakpoint","description":"Marks the exact end of a reusable prompt prefix. When `ttl` is omitted, the breakpoint inherits the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block.","uniqueKey":"oneOf.25.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.1.prompt_cache_breakpoint","typeLabel":"Prompt cache breakpoint · object"}},"uniqueKey":"oneOf.25.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.1","typeLabel":"Input text · object"},{"type":"object","title":"Input image","description":"An image input to the model. Learn about [image inputs](https://developers.openai.com/api/docs/guides/images-vision).","required":["type","detail"],"properties":{"type":{"type":"string","enum":["input_image"],"description":"The type of the input item. Always `input_image`.","default":"input_image","isRequired":true,"uniqueKey":"oneOf.25.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2.type","typeLabel":"enum\u003cstring>"},"detail":{"type":"string","enum":["low","high","auto","original"],"description":"The detail level of the image to be sent to the model. One of `high`, `low`, `auto`, or `original`. Defaults to `auto`.","isRequired":true,"uniqueKey":"oneOf.25.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2.detail","typeLabel":"enum\u003cstring>"},"image_url":{"type":"any","uniqueKey":"oneOf.25.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2.image_url","typeLabel":"any"},"file_id":{"type":"any","uniqueKey":"oneOf.25.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2.file_id","typeLabel":"any"},"prompt_cache_breakpoint":{"properties":{"mode":{"type":"string","enum":["explicit"],"description":"The breakpoint mode. Always `explicit`.","default":"explicit","isRequired":true,"uniqueKey":"oneOf.25.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2.prompt_cache_breakpoint.mode","typeLabel":"enum\u003cstring>"},"ttl":{"type":"string","enum":["30m","12h"],"description":"The minimum lifetime of this cache breakpoint. Defaults to the request TTL.","uniqueKey":"oneOf.25.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2.prompt_cache_breakpoint.ttl","typeLabel":"enum\u003cstring>"}},"type":"object","required":["mode"],"title":"Prompt cache breakpoint","description":"Marks the exact end of a reusable prompt prefix. When `ttl` is omitted, the breakpoint inherits the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block.","uniqueKey":"oneOf.25.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2.prompt_cache_breakpoint","typeLabel":"Prompt cache breakpoint · object"}},"uniqueKey":"oneOf.25.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2","typeLabel":"Input image · object"},{"type":"object","title":"Input file","description":"A file input to the model.","required":["type"],"properties":{"type":{"type":"string","enum":["input_file"],"description":"The type of the input item. Always `input_file`.","default":"input_file","isRequired":true,"uniqueKey":"oneOf.25.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.type","typeLabel":"enum\u003cstring>"},"file_id":{"type":"any","uniqueKey":"oneOf.25.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.file_id","typeLabel":"any"},"filename":{"type":"string","description":"The name of the file to be sent to the model.","uniqueKey":"oneOf.25.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.filename","typeLabel":"string"},"file_data":{"type":"string","description":"The content of the file to be sent to the model.\n","uniqueKey":"oneOf.25.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.file_data","typeLabel":"string"},"prompt_cache_breakpoint":{"properties":{"mode":{"type":"string","enum":["explicit"],"description":"The breakpoint mode. Always `explicit`.","default":"explicit","isRequired":true,"uniqueKey":"oneOf.25.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.prompt_cache_breakpoint.mode","typeLabel":"enum\u003cstring>"},"ttl":{"type":"string","enum":["30m","12h"],"description":"The minimum lifetime of this cache breakpoint. Defaults to the request TTL.","uniqueKey":"oneOf.25.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.prompt_cache_breakpoint.ttl","typeLabel":"enum\u003cstring>"}},"type":"object","required":["mode"],"title":"Prompt cache breakpoint","description":"Marks the exact end of a reusable prompt prefix. When `ttl` is omitted, the breakpoint inherits the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block.","uniqueKey":"oneOf.25.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.prompt_cache_breakpoint","typeLabel":"Prompt cache breakpoint · object"},"file_url":{"type":"string","format":"uri","description":"The URL of the file to be sent to the model.","uniqueKey":"oneOf.25.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.file_url","typeLabel":"string\u003curi>"},"detail":{"type":"string","enum":["auto","low","high"],"description":"The detail level of the file to be sent to the model. Use `auto` to let the system select the detail level; for GPT-5.6 and later models, `auto` uses high-quality rendering, which may increase input token usage. Use `low` for lower-cost rendering, or `high` to render the file at higher quality. Defaults to `auto`.","uniqueKey":"oneOf.25.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.detail","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.25.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3","typeLabel":"Input file · object"}],"uniqueKey":"oneOf.25.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties","typeLabel":"string | Input text · object | Input image · object | Input file · object"},"uniqueKey":"oneOf.25.response.prompt.oneOf.0.variables.oneOf.0","typeLabel":"Prompt Variables · object"},{"type":"null","uniqueKey":"oneOf.25.response.prompt.oneOf.0.variables.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.25.response.prompt.oneOf.0.variables","typeLabel":"Prompt Variables · object | null"}},"uniqueKey":"oneOf.25.response.prompt.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"oneOf.25.response.prompt.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.25.response.prompt","typeLabel":"object | null"},"image":{"properties":{"context_compression":{"type":"string","enum":["enabled","disabled"],"description":"Effective image context optimization policy.","isRequired":true,"uniqueKey":"oneOf.25.response.image.context_compression","typeLabel":"enum\u003cstring>"}},"type":"object","required":["context_compression"],"uniqueKey":"oneOf.25.response.image","typeLabel":"object"},"service_tier":{"oneOf":[{"type":"string","description":"Specifies the processing type used for serving the request.\n - If set to 'auto', then the request will be processed with the service tier configured in the Project settings. Unless otherwise configured, the Project will use 'default'.\n - If set to 'default', then the request will be processed with the standard pricing and performance for the selected model.\n - If set to '[flex](https://developers.openai.com/api/docs/guides/flex-processing)', then the request will be processed with the Flex Processing service tier.\n - To opt-in to [Fast mode](https://developers.openai.com/api/docs/guides/fast-mode) at the request level, include the `service_tier=fast` or `service_tier=priority` parameter for Responses or Chat Completions. The response will show `service_tier=priority` regardless of if you specify `service_tier=fast` or `priority` in your request.\n - If set to 'ultrafast', then the request will be processed with the access-controlled Ultrafast Processing service tier. This tier is currently available for `gpt-5.6-sol`; a response served through it will show `service_tier=ultrafast`.\n - When not set, the default behavior is 'auto'.\n\n When the `service_tier` parameter is set, the response body will include the `service_tier` value based on the processing mode actually used to serve the request. This response value may be different from the value set in the parameter.\n","default":"auto","enum":["auto","default","flex","scale","priority","fast","ultrafast"],"uniqueKey":"oneOf.25.response.service_tier.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"oneOf.25.response.service_tier.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.25.response.service_tier","typeLabel":"enum\u003cstring> | null"},"truncation":{"oneOf":[{"type":"string","description":"The truncation strategy to use for the model response.\n- `auto`: If the input to this Response exceeds\n the model's context window size, the model will truncate the\n response to fit the context window by dropping items from the beginning of the conversation.\n On some models, trimming can begin earlier because the API subtracts the model's\n maximum output allowance from its input limit, even if you set a lower `max_output_tokens`.\n- `disabled` (default): If the input size will exceed the context window\n size for a model, the request will fail with a 400 error.\n","default":"disabled","enum":["auto","disabled"],"uniqueKey":"oneOf.25.response.truncation.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"oneOf.25.response.truncation.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.25.response.truncation","typeLabel":"enum\u003cstring> | null"},"status":{"type":"string","description":"The status of the response generation. One of `completed`, `failed`,\n`in_progress`, `cancelled`, `queued`, or `incomplete`.\n","enum":["completed","failed","in_progress","cancelled","queued","incomplete"],"uniqueKey":"oneOf.25.response.status","typeLabel":"enum\u003cstring>"},"completed_at":{"oneOf":[{"type":"number","description":"Unix timestamp (in seconds) of when this Response was completed.\nOnly present when the status is `completed`.\n","format":"unixtime","uniqueKey":"oneOf.25.response.completed_at.oneOf.0","typeLabel":"number\u003cunixtime>"},{"type":"null","uniqueKey":"oneOf.25.response.completed_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.25.response.completed_at","typeLabel":"number\u003cunixtime> | null"},"input_transformations":{"type":"array","description":"Reasoning inputs withheld from the model, in input order.","items":{"properties":{"type":{"type":"string","enum":["reasoning"],"default":"reasoning","isRequired":true,"uniqueKey":"oneOf.25.response.input_transformations.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The original reasoning item ID.","isRequired":true,"uniqueKey":"oneOf.25.response.input_transformations.items.[INDEX].id","typeLabel":"string"},"action":{"type":"string","enum":["removed"],"default":"removed","isRequired":true,"uniqueKey":"oneOf.25.response.input_transformations.items.[INDEX].action","typeLabel":"enum\u003cstring>"},"reason":{"type":"string","enum":["organization_mismatch","end_user_mismatch","model_mismatch","prefix_mismatch","turn_boundary"],"isRequired":true,"uniqueKey":"oneOf.25.response.input_transformations.items.[INDEX].reason","typeLabel":"enum\u003cstring>"}},"type":"object","required":["type","id","action","reason"],"uniqueKey":"oneOf.25.response.input_transformations.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.25.response.input_transformations","typeLabel":"object[]"},"reasoning":{"oneOf":[{"type":"object","title":"Reasoning","description":"Configuration options for\n[reasoning models](https://developers.openai.com/api/docs/guides/reasoning).\n","properties":{"mode":{"oneOf":[{"type":"string","description":"Controls the reasoning execution mode for the request.\n\nWhen returned on a response, this is the effective execution mode.\n","uniqueKey":"oneOf.25.response.reasoning.oneOf.0.mode.oneOf.0","typeLabel":"string"},{"type":"string","description":"Controls the reasoning execution mode for the request.\n\nWhen returned on a response, this is the effective execution mode.\n","enum":["standard","pro"],"uniqueKey":"oneOf.25.response.reasoning.oneOf.0.mode.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"oneOf.25.response.reasoning.oneOf.0.mode","typeLabel":"string | enum\u003cstring>"},"effort":{"oneOf":[{"type":"string","description":"Constrains effort on reasoning for reasoning models. Currently supported\nvalues are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`.\nReducing reasoning effort can result in faster responses and fewer tokens\nused on reasoning in a response. Not all reasoning models support every\nvalue. See the\n[reasoning guide](https://developers.openai.com/api/docs/guides/reasoning)\nfor model-specific support.\n","default":"medium","enum":["none","minimal","low","medium","high","xhigh","max"],"uniqueKey":"oneOf.25.response.reasoning.oneOf.0.effort.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"oneOf.25.response.reasoning.oneOf.0.effort.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.25.response.reasoning.oneOf.0.effort","typeLabel":"enum\u003cstring> | null"},"summary":{"oneOf":[{"type":"string","description":"A summary of the reasoning performed by the model. This can be\nuseful for debugging and understanding the model's reasoning process.\nOne of `auto`, `concise`, or `detailed`.\n\n`concise` is supported for `computer-use-preview` models and all reasoning models after `gpt-5`.\n","enum":["auto","concise","detailed"],"uniqueKey":"oneOf.25.response.reasoning.oneOf.0.summary.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"oneOf.25.response.reasoning.oneOf.0.summary.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.25.response.reasoning.oneOf.0.summary","typeLabel":"enum\u003cstring> | null"},"context":{"oneOf":[{"type":"string","description":"Controls which reasoning items are rendered back to the model on later turns.\nIf omitted or set to `auto`, the model determines the context mode. The\n`gpt-5.6` model family defaults to `all_turns`; earlier models default to\n`current_turn`.\n\nWhen returned on a response, this is the effective reasoning context mode\nused for the response.\n","enum":["auto","current_turn","all_turns"],"uniqueKey":"oneOf.25.response.reasoning.oneOf.0.context.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"oneOf.25.response.reasoning.oneOf.0.context.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.25.response.reasoning.oneOf.0.context","typeLabel":"enum\u003cstring> | null"},"generate_summary":{"oneOf":[{"type":"string","description":"**Deprecated:** use `summary` instead.\n\nA summary of the reasoning performed by the model. This can be\nuseful for debugging and understanding the model's reasoning process.\nOne of `auto`, `concise`, or `detailed`.\n","enum":["auto","concise","detailed"],"deprecated":true,"uniqueKey":"oneOf.25.response.reasoning.oneOf.0.generate_summary.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"oneOf.25.response.reasoning.oneOf.0.generate_summary.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.25.response.reasoning.oneOf.0.generate_summary","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"oneOf.25.response.reasoning.oneOf.0","typeLabel":"Reasoning · object"},{"type":"null","uniqueKey":"oneOf.25.response.reasoning.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.25.response.reasoning","typeLabel":"Reasoning · object | null"},"output_text":{"oneOf":[{"type":"string","description":"SDK-only convenience property that contains the aggregated text output\nfrom all `output_text` items in the `output` array, if any are present.\nSupported in the Python and JavaScript SDKs.\n","uniqueKey":"oneOf.25.response.output_text.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.25.response.output_text.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.25.response.output_text","typeLabel":"string | null"},"usage":{"oneOf":[{"type":"object","description":"Represents token usage details including input tokens, output tokens,\na breakdown of output tokens, and the total tokens used.\n","required":["input_tokens","input_tokens_details","output_tokens","output_tokens_details","total_tokens"],"properties":{"input_tokens":{"type":"integer","description":"The number of input tokens.","isRequired":true,"uniqueKey":"oneOf.25.response.usage.oneOf.0.input_tokens","typeLabel":"integer"},"input_tokens_details":{"type":"object","description":"A detailed breakdown of the input tokens.","properties":{"cached_tokens":{"type":"integer","description":"The number of tokens that were retrieved from the cache.\n[More on prompt caching](https://developers.openai.com/api/docs/guides/prompt-caching).\n","isRequired":true,"uniqueKey":"oneOf.25.response.usage.oneOf.0.input_tokens_details.cached_tokens","typeLabel":"integer"},"cache_write_tokens":{"type":"integer","description":"The number of input tokens that were written to the cache.","isRequired":true,"uniqueKey":"oneOf.25.response.usage.oneOf.0.input_tokens_details.cache_write_tokens","typeLabel":"integer"},"cache_write_tokens_details":{"properties":{"ttl_30m_tokens":{"type":"integer","description":"The number of input tokens written with 30-minute retention.","isRequired":true,"uniqueKey":"oneOf.25.response.usage.oneOf.0.input_tokens_details.cache_write_tokens_details.ttl_30m_tokens","typeLabel":"integer"},"ttl_12h_tokens":{"type":"integer","description":"The number of input tokens written with 12-hour retention.","isRequired":true,"uniqueKey":"oneOf.25.response.usage.oneOf.0.input_tokens_details.cache_write_tokens_details.ttl_12h_tokens","typeLabel":"integer"}},"type":"object","required":["ttl_30m_tokens","ttl_12h_tokens"],"uniqueKey":"oneOf.25.response.usage.oneOf.0.input_tokens_details.cache_write_tokens_details","typeLabel":"object"}},"required":["cached_tokens","cache_write_tokens"],"isRequired":true,"uniqueKey":"oneOf.25.response.usage.oneOf.0.input_tokens_details","typeLabel":"object"},"output_tokens":{"type":"integer","description":"The number of output tokens.","isRequired":true,"uniqueKey":"oneOf.25.response.usage.oneOf.0.output_tokens","typeLabel":"integer"},"output_tokens_details":{"type":"object","description":"A detailed breakdown of the output tokens.","properties":{"reasoning_tokens":{"type":"integer","description":"The number of reasoning tokens.","isRequired":true,"uniqueKey":"oneOf.25.response.usage.oneOf.0.output_tokens_details.reasoning_tokens","typeLabel":"integer"}},"required":["reasoning_tokens"],"isRequired":true,"uniqueKey":"oneOf.25.response.usage.oneOf.0.output_tokens_details","typeLabel":"object"},"total_tokens":{"type":"integer","description":"The total number of tokens used.","isRequired":true,"uniqueKey":"oneOf.25.response.usage.oneOf.0.total_tokens","typeLabel":"integer"}},"uniqueKey":"oneOf.25.response.usage.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"oneOf.25.response.usage.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.25.response.usage","typeLabel":"object | null"},"tool_usage":{"properties":{"image_gen":{"properties":{"input_tokens":{"type":"integer","description":"The number of tokens (images and text) in the input prompt.","isRequired":true,"uniqueKey":"oneOf.25.response.tool_usage.image_gen.input_tokens","typeLabel":"integer"},"total_tokens":{"type":"integer","description":"The total number of tokens (images and text) used for the image generation.","isRequired":true,"uniqueKey":"oneOf.25.response.tool_usage.image_gen.total_tokens","typeLabel":"integer"},"output_tokens":{"type":"integer","description":"The number of output tokens generated by the model.","isRequired":true,"uniqueKey":"oneOf.25.response.tool_usage.image_gen.output_tokens","typeLabel":"integer"},"input_tokens_details":{"properties":{"text_tokens":{"type":"integer","description":"The number of text tokens in the input prompt.","isRequired":true,"uniqueKey":"oneOf.25.response.tool_usage.image_gen.input_tokens_details.text_tokens","typeLabel":"integer"},"image_tokens":{"type":"integer","description":"The number of image tokens in the input prompt.","isRequired":true,"uniqueKey":"oneOf.25.response.tool_usage.image_gen.input_tokens_details.image_tokens","typeLabel":"integer"}},"type":"object","required":["text_tokens","image_tokens"],"title":"Input usage details","description":"The input tokens detailed information for the image generation.","isRequired":true,"uniqueKey":"oneOf.25.response.tool_usage.image_gen.input_tokens_details","typeLabel":"Input usage details · object"},"output_tokens_details":{"properties":{"image_tokens":{"type":"integer","description":"The number of image output tokens generated by the model.","isRequired":true,"uniqueKey":"oneOf.25.response.tool_usage.image_gen.output_tokens_details.image_tokens","typeLabel":"integer"},"text_tokens":{"type":"integer","description":"The number of text output tokens generated by the model.","isRequired":true,"uniqueKey":"oneOf.25.response.tool_usage.image_gen.output_tokens_details.text_tokens","typeLabel":"integer"}},"type":"object","required":["image_tokens","text_tokens"],"title":"Image generation output token details","description":"The output token details for the image generation.","uniqueKey":"oneOf.25.response.tool_usage.image_gen.output_tokens_details","typeLabel":"Image generation output token details · object"},"cached_tokens":{"type":"integer","uniqueKey":"oneOf.25.response.tool_usage.image_gen.cached_tokens","typeLabel":"integer"},"cached_tokens_details":{"properties":{"cached_text_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.25.response.tool_usage.image_gen.cached_tokens_details.cached_text_tokens","typeLabel":"integer"},"cached_image_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.25.response.tool_usage.image_gen.cached_tokens_details.cached_image_tokens","typeLabel":"integer"}},"type":"object","required":["cached_text_tokens","cached_image_tokens"],"uniqueKey":"oneOf.25.response.tool_usage.image_gen.cached_tokens_details","typeLabel":"object"}},"type":"object","required":["input_tokens","total_tokens","output_tokens","input_tokens_details"],"title":"Image generation tool usage","description":"Aggregated usage statistics for image generation tool calls.","isRequired":true,"uniqueKey":"oneOf.25.response.tool_usage.image_gen","typeLabel":"Image generation tool usage · object"},"web_search":{"properties":{"num_requests":{"type":"integer","description":"The number of billable web search requests issued.","isRequired":true,"uniqueKey":"oneOf.25.response.tool_usage.web_search.num_requests","typeLabel":"integer"}},"type":"object","required":["num_requests"],"title":"Web search usage","description":"Aggregated billable usage statistics for web search tool calls.","isRequired":true,"uniqueKey":"oneOf.25.response.tool_usage.web_search","typeLabel":"Web search usage · object"}},"type":"object","required":["image_gen","web_search"],"title":"Response tool usage","description":"Usage reported by hosted tools, separate from base model `usage`. The field\ncan be omitted when tool usage is unavailable. When present, tool families\nwith no recorded usage have zero counts.\n\n`image_gen` sums available token counts across image generation calls.\nCalls with missing or incomplete usage records may be skipped. Output\ntoken details and cached input counts can be omitted. An omitted cache\ncount means cache usage is unknown.\n\n`web_search.num_requests` counts billable searches. Discounted searches\nand actions such as opening a page are excluded. Use billing records to\nreconcile final charges.\n","uniqueKey":"oneOf.25.response.tool_usage","typeLabel":"Response tool usage · object"},"prompt_cache_options":{"properties":{"ttl":{"type":"string","enum":["30m","12h"],"description":"The minimum lifetime applied to each cache breakpoint.","isRequired":true,"uniqueKey":"oneOf.25.response.prompt_cache_options.ttl","typeLabel":"enum\u003cstring>"},"mode":{"type":"string","enum":["implicit","explicit"],"description":"Whether implicit prompt-cache breakpoints were enabled.","isRequired":true,"uniqueKey":"oneOf.25.response.prompt_cache_options.mode","typeLabel":"enum\u003cstring>"},"comparison_response_id":{"oneOf":[{"type":"string","description":"The response ID supplied as the prompt cache diagnostics comparison.","uniqueKey":"oneOf.25.response.prompt_cache_options.comparison_response_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.25.response.prompt_cache_options.comparison_response_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.25.response.prompt_cache_options.comparison_response_id","typeLabel":"string | null"}},"type":"object","required":["ttl","mode"],"title":"Prompt cache options","description":"The prompt-caching options that were applied to the response. Supported for `gpt-5.6` and later models.","uniqueKey":"oneOf.25.response.prompt_cache_options","typeLabel":"Prompt cache options · object"},"prompt_cache_diagnostics":{"oneOf":[{"type":"object","description":"Prompt cache diagnostics requested for this response.","required":["type","reason","cache_missed_tokens"],"properties":{"type":{"type":"string","enum":["cache_miss"],"default":"cache_miss","isRequired":true,"uniqueKey":"oneOf.25.response.prompt_cache_diagnostics.oneOf.0.type","typeLabel":"enum\u003cstring>"},"reason":{"type":"string","enum":["model_changed","prompt_cache_key_changed","tools_changed","text_format_changed","reasoning_effort_changed","verbosity_changed","context_compacted","input_changed","service_tier_changed"],"description":"The reason prompt cache reuse did not occur.","isRequired":true,"uniqueKey":"oneOf.25.response.prompt_cache_diagnostics.oneOf.0.reason","typeLabel":"enum\u003cstring>"},"cache_missed_tokens":{"type":"integer","description":"The estimated number of input tokens affected after the first detected divergence.","isRequired":true,"uniqueKey":"oneOf.25.response.prompt_cache_diagnostics.oneOf.0.cache_missed_tokens","typeLabel":"integer"},"comparison_reusable_tokens":{"type":"integer","description":"The raw token count of the reusable prefix in the compared response.","uniqueKey":"oneOf.25.response.prompt_cache_diagnostics.oneOf.0.comparison_reusable_tokens","typeLabel":"integer"}},"uniqueKey":"oneOf.25.response.prompt_cache_diagnostics.oneOf.0","typeLabel":"object"},{"type":"object","description":"Prompt cache diagnostics requested for this response.","required":["type"],"properties":{"type":{"type":"string","enum":["cache_hit"],"default":"cache_hit","isRequired":true,"uniqueKey":"oneOf.25.response.prompt_cache_diagnostics.oneOf.1.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.25.response.prompt_cache_diagnostics.oneOf.1","typeLabel":"object"},{"type":"object","description":"Prompt cache diagnostics requested for this response.","required":["type"],"properties":{"type":{"type":"string","enum":["comparison_response_not_found"],"default":"comparison_response_not_found","isRequired":true,"uniqueKey":"oneOf.25.response.prompt_cache_diagnostics.oneOf.2.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.25.response.prompt_cache_diagnostics.oneOf.2","typeLabel":"object"},{"type":"object","description":"Prompt cache diagnostics requested for this response.","required":["type"],"properties":{"type":{"type":"string","enum":["unavailable"],"default":"unavailable","isRequired":true,"uniqueKey":"oneOf.25.response.prompt_cache_diagnostics.oneOf.3.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.25.response.prompt_cache_diagnostics.oneOf.3","typeLabel":"object"}],"uniqueKey":"oneOf.25.response.prompt_cache_diagnostics","typeLabel":"object"},"moderation":{"oneOf":[{"type":"object","title":"Moderation","description":"Moderation results for the response input and output, if moderated completions were requested.\n","required":["input","output"],"properties":{"input":{"oneOf":[{"type":"object","title":"Moderation result","description":"Moderation for the response input.","required":["type","model","flagged","categories","category_scores","category_applied_input_types"],"properties":{"type":{"type":"string","enum":["moderation_result"],"description":"The object type, which was always `moderation_result` for successful moderation results.","default":"moderation_result","isRequired":true,"uniqueKey":"oneOf.25.response.moderation.oneOf.0.input.oneOf.0.type","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"The moderation model that produced this result.","isRequired":true,"uniqueKey":"oneOf.25.response.moderation.oneOf.0.input.oneOf.0.model","typeLabel":"string"},"flagged":{"type":"boolean","description":"A boolean indicating whether the content was flagged by any category.","isRequired":true,"uniqueKey":"oneOf.25.response.moderation.oneOf.0.input.oneOf.0.flagged","typeLabel":"boolean"},"categories":{"additionalProperties":{"type":"boolean","uniqueKey":"oneOf.25.response.moderation.oneOf.0.input.oneOf.0.categories.additionalProperties","typeLabel":"boolean"},"type":"object","description":"A dictionary of moderation categories to booleans, True if the input is flagged under this category.","isRequired":true,"uniqueKey":"oneOf.25.response.moderation.oneOf.0.input.oneOf.0.categories","typeLabel":"object"},"category_scores":{"additionalProperties":{"type":"number","uniqueKey":"oneOf.25.response.moderation.oneOf.0.input.oneOf.0.category_scores.additionalProperties","typeLabel":"number"},"type":"object","description":"A dictionary of moderation categories to scores.","isRequired":true,"uniqueKey":"oneOf.25.response.moderation.oneOf.0.input.oneOf.0.category_scores","typeLabel":"object"},"category_applied_input_types":{"additionalProperties":{"items":{"type":"string","enum":["text","image"],"uniqueKey":"oneOf.25.response.moderation.oneOf.0.input.oneOf.0.category_applied_input_types.additionalProperties.items.[INDEX]","typeLabel":"enum\u003cstring>"},"type":"array","uniqueKey":"oneOf.25.response.moderation.oneOf.0.input.oneOf.0.category_applied_input_types.additionalProperties","typeLabel":"enum\u003cstring>[]"},"type":"object","description":"Which modalities of input are reflected by the score for each category.","isRequired":true,"uniqueKey":"oneOf.25.response.moderation.oneOf.0.input.oneOf.0.category_applied_input_types","typeLabel":"object"}},"isRequired":true,"uniqueKey":"oneOf.25.response.moderation.oneOf.0.input.oneOf.0","typeLabel":"Moderation result · object"},{"type":"object","title":"Moderation error","description":"Moderation for the response input.","required":["type","code","message"],"properties":{"type":{"type":"string","enum":["error"],"description":"The object type, which was always `error` for moderation failures.","default":"error","isRequired":true,"uniqueKey":"oneOf.25.response.moderation.oneOf.0.input.oneOf.1.type","typeLabel":"enum\u003cstring>"},"code":{"type":"string","description":"The error code.","isRequired":true,"uniqueKey":"oneOf.25.response.moderation.oneOf.0.input.oneOf.1.code","typeLabel":"string"},"message":{"type":"string","description":"The error message.","isRequired":true,"uniqueKey":"oneOf.25.response.moderation.oneOf.0.input.oneOf.1.message","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.25.response.moderation.oneOf.0.input.oneOf.1","typeLabel":"Moderation error · object"}],"isRequired":true,"uniqueKey":"oneOf.25.response.moderation.oneOf.0.input","typeLabel":"Moderation result · object | Moderation error · object"},"output":{"oneOf":[{"type":"object","title":"Moderation result","description":"Moderation for the response output.","required":["type","model","flagged","categories","category_scores","category_applied_input_types"],"properties":{"type":{"type":"string","enum":["moderation_result"],"description":"The object type, which was always `moderation_result` for successful moderation results.","default":"moderation_result","isRequired":true,"uniqueKey":"oneOf.25.response.moderation.oneOf.0.output.oneOf.0.type","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"The moderation model that produced this result.","isRequired":true,"uniqueKey":"oneOf.25.response.moderation.oneOf.0.output.oneOf.0.model","typeLabel":"string"},"flagged":{"type":"boolean","description":"A boolean indicating whether the content was flagged by any category.","isRequired":true,"uniqueKey":"oneOf.25.response.moderation.oneOf.0.output.oneOf.0.flagged","typeLabel":"boolean"},"categories":{"additionalProperties":{"type":"boolean","uniqueKey":"oneOf.25.response.moderation.oneOf.0.output.oneOf.0.categories.additionalProperties","typeLabel":"boolean"},"type":"object","description":"A dictionary of moderation categories to booleans, True if the input is flagged under this category.","isRequired":true,"uniqueKey":"oneOf.25.response.moderation.oneOf.0.output.oneOf.0.categories","typeLabel":"object"},"category_scores":{"additionalProperties":{"type":"number","uniqueKey":"oneOf.25.response.moderation.oneOf.0.output.oneOf.0.category_scores.additionalProperties","typeLabel":"number"},"type":"object","description":"A dictionary of moderation categories to scores.","isRequired":true,"uniqueKey":"oneOf.25.response.moderation.oneOf.0.output.oneOf.0.category_scores","typeLabel":"object"},"category_applied_input_types":{"additionalProperties":{"items":{"type":"string","enum":["text","image"],"uniqueKey":"oneOf.25.response.moderation.oneOf.0.output.oneOf.0.category_applied_input_types.additionalProperties.items.[INDEX]","typeLabel":"enum\u003cstring>"},"type":"array","uniqueKey":"oneOf.25.response.moderation.oneOf.0.output.oneOf.0.category_applied_input_types.additionalProperties","typeLabel":"enum\u003cstring>[]"},"type":"object","description":"Which modalities of input are reflected by the score for each category.","isRequired":true,"uniqueKey":"oneOf.25.response.moderation.oneOf.0.output.oneOf.0.category_applied_input_types","typeLabel":"object"}},"isRequired":true,"uniqueKey":"oneOf.25.response.moderation.oneOf.0.output.oneOf.0","typeLabel":"Moderation result · object"},{"type":"object","title":"Moderation error","description":"Moderation for the response output.","required":["type","code","message"],"properties":{"type":{"type":"string","enum":["error"],"description":"The object type, which was always `error` for moderation failures.","default":"error","isRequired":true,"uniqueKey":"oneOf.25.response.moderation.oneOf.0.output.oneOf.1.type","typeLabel":"enum\u003cstring>"},"code":{"type":"string","description":"The error code.","isRequired":true,"uniqueKey":"oneOf.25.response.moderation.oneOf.0.output.oneOf.1.code","typeLabel":"string"},"message":{"type":"string","description":"The error message.","isRequired":true,"uniqueKey":"oneOf.25.response.moderation.oneOf.0.output.oneOf.1.message","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.25.response.moderation.oneOf.0.output.oneOf.1","typeLabel":"Moderation error · object"}],"isRequired":true,"uniqueKey":"oneOf.25.response.moderation.oneOf.0.output","typeLabel":"Moderation result · object | Moderation error · object"}},"uniqueKey":"oneOf.25.response.moderation.oneOf.0","typeLabel":"Moderation · object"},{"type":"null","uniqueKey":"oneOf.25.response.moderation.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.25.response.moderation","typeLabel":"Moderation · object | null"},"conversation":{"oneOf":[{"type":"object","title":"Conversation","description":"The conversation that this response belonged to. Input items and output items from this response were automatically added to this conversation.","default":null,"required":["id"],"properties":{"id":{"type":"string","description":"The unique ID of the conversation that this response was associated with.","isRequired":true,"uniqueKey":"oneOf.25.response.conversation.oneOf.0.id","typeLabel":"string"}},"uniqueKey":"oneOf.25.response.conversation.oneOf.0","typeLabel":"Conversation · object"},{"type":"null","uniqueKey":"oneOf.25.response.conversation.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.25.response.conversation","typeLabel":"Conversation · object | null"},"max_output_tokens":{"oneOf":[{"type":"integer","description":"An upper bound for the number of tokens that can be generated for a response, including visible output tokens and [reasoning tokens](https://developers.openai.com/api/docs/guides/reasoning).\n","uniqueKey":"oneOf.25.response.max_output_tokens.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"oneOf.25.response.max_output_tokens.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.25.response.max_output_tokens","typeLabel":"integer | null"}},"isRequired":true,"uniqueKey":"oneOf.25.response","typeLabel":"The response object · object"},"sequence_number":{"type":"integer","description":"The sequence number of this event.","isRequired":true,"uniqueKey":"oneOf.25.sequence_number","typeLabel":"integer"}},"uniqueKey":"oneOf.25","typeLabel":"object"},{"type":"object","description":"Event emitted while a response is streamed.","required":["type","response","sequence_number"],"properties":{"type":{"type":"string","description":"The type of the event. Always `response.failed`.\n","const":"response.failed","isRequired":true,"uniqueKey":"oneOf.26.type","typeLabel":"string"},"sequence_number":{"type":"integer","description":"The sequence number of this event.","isRequired":true,"uniqueKey":"oneOf.26.sequence_number","typeLabel":"integer"},"response":{"type":"object","title":"The response object","description":"The response that failed.\n","required":["access_programs","id","object","created_at","error","incomplete_details","instructions","model","tools","output","parallel_tool_calls","metadata","tool_choice","temperature","top_p"],"example":{"id":"resp_67ccd3a9da748190baa7f1570fe91ac604becb25c45c1d41","object":"response","access_programs":null,"created_at":1741476777,"status":"completed","completed_at":1741476778,"error":null,"incomplete_details":null,"instructions":null,"max_output_tokens":null,"model":"gpt-6.2-astra","output":[{"type":"message","id":"msg_67ccd3acc8d48190a77525dc6de64b4104becb25c45c1d41","status":"completed","role":"assistant","content":[{"type":"output_text","text":"The image depicts a scenic landscape with a wooden boardwalk or pathway leading through lush, green grass under a blue sky with some clouds. The setting suggests a peaceful natural area, possibly a park or nature reserve. There are trees and shrubs in the background.","annotations":[],"logprobs":[]}]}],"parallel_tool_calls":true,"previous_response_id":null,"reasoning":{"effort":null,"summary":null,"context":null},"temperature":1,"text":{"format":{"type":"text"}},"tool_choice":"auto","tools":[],"top_p":1,"truncation":"disabled","usage":{"input_tokens":328,"input_tokens_details":{"cached_tokens":0,"cache_write_tokens":0},"output_tokens":52,"output_tokens_details":{"reasoning_tokens":0},"total_tokens":380},"tool_usage":{"image_gen":{"input_tokens":0,"input_tokens_details":{"text_tokens":0,"image_tokens":0},"output_tokens":0,"output_tokens_details":{"text_tokens":0,"image_tokens":0},"total_tokens":0},"web_search":{"num_requests":0}},"user":null,"metadata":{}},"properties":{"metadata":{"oneOf":[{"type":"object","description":"Set of 16 key-value pairs that can be attached to an object. This can be\nuseful for storing additional information about the object in a structured\nformat, and querying for objects via API or the dashboard.\n\nKeys are strings with a maximum length of 64 characters. Values are strings\nwith a maximum length of 512 characters.\n","additionalProperties":{"type":"string","uniqueKey":"oneOf.26.response.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"isRequired":true,"uniqueKey":"oneOf.26.response.metadata.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.26.response.metadata.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.26.response.metadata","typeLabel":"object | null"},"temperature":{"oneOf":[{"type":"number","description":"What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.\nWe generally recommend altering this or `top_p` but not both.\n","default":1,"maximum":2,"minimum":0,"example":1,"isRequired":true,"uniqueKey":"oneOf.26.response.temperature.oneOf.0","typeLabel":"number"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.26.response.temperature.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.26.response.temperature","typeLabel":"number | null"},"top_p":{"oneOf":[{"type":"number","description":"An alternative to sampling with temperature, called nucleus sampling,\nwhere the model considers the results of the tokens with top_p probability\nmass. So 0.1 means only the tokens comprising the top 10% probability mass\nare considered.\n\nWe generally recommend altering this or `temperature` but not both.\n","default":1,"maximum":1,"minimum":0,"example":1,"isRequired":true,"uniqueKey":"oneOf.26.response.top_p.oneOf.0","typeLabel":"number"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.26.response.top_p.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.26.response.top_p","typeLabel":"number | null"},"model":{"type":"string","description":"ID of the model to use, for example `gpt-6.2-sol`. See [Models](/en/llm/openai-responses) for the available models.","example":"gpt-6.2-sol","isRequired":true,"uniqueKey":"oneOf.26.response.model","typeLabel":"string"},"tools":{"type":"array","description":"An array of tools the model may call while generating a response. You\ncan specify which tool to use by setting the `tool_choice` parameter.\n\nWe support the following categories of tools:\n- **Built-in tools**: Tools that are provided by OpenAI that extend the\n model's capabilities, like [web search](https://developers.openai.com/api/docs/guides/tools-web-search)\n or [file search](https://developers.openai.com/api/docs/guides/tools-file-search). Learn more about\n [built-in tools](https://developers.openai.com/api/docs/guides/tools).\n- **MCP Tools**: Integrations with third-party systems via custom MCP servers\n or predefined connectors such as Google Drive and SharePoint. Learn more about\n [MCP Tools](https://developers.openai.com/api/docs/guides/tools-connectors-mcp).\n- **Function calls (custom tools)**: Functions that are defined by you,\n enabling the model to call your own code with strongly typed arguments\n and outputs. Learn more about\n [function calling](https://developers.openai.com/api/docs/guides/function-calling). You can also use\n custom tools to call your own code.\n","items":{"oneOf":[{"type":"object","title":"Function","description":"A tool that can be used to generate a response.\n","required":["type","name","strict","parameters"],"properties":{"type":{"type":"string","enum":["function"],"description":"The type of the function tool. Always `function`.","default":"function","isRequired":true,"uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"The name of the function to call.","isRequired":true,"uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.0.name","typeLabel":"string"},"parameters":{"type":"any","isRequired":true,"uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.0.parameters","typeLabel":"any"},"strict":{"type":"any","isRequired":true,"uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.0.strict","typeLabel":"any"},"async":{"type":"boolean","uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.0.async","typeLabel":"boolean"},"description":{"type":"any","uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.0.description","typeLabel":"any"},"output_schema":{"type":"any","uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.0.output_schema","typeLabel":"any"},"defer_loading":{"type":"boolean","description":"Whether this function is deferred and loaded via tool search.","uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.0.defer_loading","typeLabel":"boolean"},"allowed_callers":{"type":"any","uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.0.allowed_callers","typeLabel":"any"}},"uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.0","typeLabel":"Function · object"},{"type":"object","title":"File search","description":"A tool that can be used to generate a response.\n","required":["type","vector_store_ids"],"properties":{"type":{"type":"string","enum":["file_search"],"description":"The type of the file search tool. Always `file_search`.","default":"file_search","isRequired":true,"uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"vector_store_ids":{"items":{"type":"string","uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.1.vector_store_ids.items.[INDEX]","typeLabel":"string"},"type":"array","description":"The IDs of the vector stores to search.","isRequired":true,"uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.1.vector_store_ids","typeLabel":"string[]"},"max_num_results":{"type":"integer","description":"The maximum number of results to return. This number should be between 1 and 50 inclusive.","uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.1.max_num_results","typeLabel":"integer"},"ranking_options":{"properties":{"ranker":{"type":"string","enum":["auto","default-2024-11-15"],"description":"The ranker to use for the file search.","uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.1.ranking_options.ranker","typeLabel":"enum\u003cstring>"},"score_threshold":{"type":"number","description":"The score threshold for the file search, a number between 0 and 1. Numbers closer to 1 will attempt to return only the most relevant results, but may return fewer results.","uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.1.ranking_options.score_threshold","typeLabel":"number"},"hybrid_search":{"properties":{"embedding_weight":{"type":"number","description":"The weight of the embedding in the reciprocal ranking fusion.","isRequired":true,"uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.1.ranking_options.hybrid_search.embedding_weight","typeLabel":"number"},"text_weight":{"type":"number","description":"The weight of the text in the reciprocal ranking fusion.","isRequired":true,"uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.1.ranking_options.hybrid_search.text_weight","typeLabel":"number"}},"type":"object","required":["embedding_weight","text_weight"],"description":"Weights that control how reciprocal rank fusion balances semantic embedding matches versus sparse keyword matches when hybrid search is enabled.","uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.1.ranking_options.hybrid_search","typeLabel":"object"}},"type":"object","required":[],"description":"Ranking options for search.","uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.1.ranking_options","typeLabel":"object"},"filters":{"type":"any","uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.1.filters","typeLabel":"any"}},"uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.1","typeLabel":"File search · object"},{"type":"object","title":"Computer","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["computer"],"description":"The type of the computer tool. Always `computer`.","default":"computer","isRequired":true,"uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.2","typeLabel":"Computer · object"},{"type":"object","title":"Computer use preview","description":"A tool that can be used to generate a response.\n","required":["type","environment","display_width","display_height"],"properties":{"type":{"type":"string","enum":["computer_use_preview"],"description":"The type of the computer use tool. Always `computer_use_preview`.","default":"computer_use_preview","isRequired":true,"uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"environment":{"type":"string","enum":["windows","mac","linux","ubuntu","browser"],"description":"The type of computer environment to control.","isRequired":true,"uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.3.environment","typeLabel":"enum\u003cstring>"},"display_width":{"type":"integer","description":"The width of the computer display.","isRequired":true,"uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.3.display_width","typeLabel":"integer"},"display_height":{"type":"integer","description":"The height of the computer display.","isRequired":true,"uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.3.display_height","typeLabel":"integer"}},"uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.3","typeLabel":"Computer use preview · object"},{"type":"object","title":"Web search","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["web_search","web_search_2025_08_26"],"description":"The type of the web search tool. One of `web_search` or `web_search_2025_08_26`.","default":"web_search","isRequired":true,"uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.4.type","typeLabel":"enum\u003cstring>"},"external_web_access":{"type":"boolean","default":true,"description":"Allow live internet access for web search. Defaults to true when omitted. When false, the web search tool runs in offline/cache-only mode and will not fetch new external content.","uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.4.external_web_access","typeLabel":"boolean"},"filters":{"type":"any","uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.4.filters","typeLabel":"any"},"user_location":{"type":"any","description":"The approximate location of the user. If omitted or null, defaults to the\nUnited States. To avoid this fallback, pass `{\"type\": \"approximate\"}` without\nlocation fields. To localize results, provide the relevant location fields.\n","uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.4.user_location","typeLabel":"any"},"search_context_size":{"type":"string","enum":["low","medium","high"],"default":"medium","description":"High level guidance for the amount of context window space to use for the search. One of `low`, `medium`, or `high`. `medium` is the default.","uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.4.search_context_size","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.4","typeLabel":"Web search · object"},{"type":"object","title":"MCP tool","description":"A tool that can be used to generate a response.\n","required":["type","server_label"],"properties":{"type":{"type":"string","const":"mcp","description":"The type of the MCP tool. Always `mcp`.","isRequired":true,"uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.5.type","typeLabel":"string"},"server_label":{"type":"string","description":"A label for this MCP server, used to identify it in tool calls.\n","isRequired":true,"uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.5.server_label","typeLabel":"string"},"server_url":{"type":"string","format":"uri","description":"The URL for the MCP server. One of `server_url`, `connector_id`, or\n`tunnel_id` must be provided.\n","uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.5.server_url","typeLabel":"string\u003curi>"},"connector_id":{"type":"string","deprecated":true,"enum":["connector_dropbox","connector_gmail","connector_googlecalendar","connector_googledrive","connector_microsoftteams","connector_outlookcalendar","connector_outlookemail","connector_sharepoint"],"description":"Identifier for service connectors, like those available in ChatGPT. One of\n`server_url`, `connector_id`, or `tunnel_id` must be provided. Learn more\nabout service connectors [here](https://developers.openai.com/api/docs/guides/tools-connectors-mcp#connectors).\n\nThis field is deprecated for models released after September 1, 2026.\nUse `server_url` to connect to a remote MCP server, or `tunnel_id` to\nconnect through a Secure MCP Tunnel.\n\nCurrently supported `connector_id` values are:\n\n- Dropbox: `connector_dropbox`\n- Gmail: `connector_gmail`\n- Google Calendar: `connector_googlecalendar`\n- Google Drive: `connector_googledrive`\n- Microsoft Teams: `connector_microsoftteams`\n- Outlook Calendar: `connector_outlookcalendar`\n- Outlook Email: `connector_outlookemail`\n- SharePoint: `connector_sharepoint`\n","uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.5.connector_id","typeLabel":"enum\u003cstring>"},"tunnel_id":{"type":"string","pattern":"^tunnel_[a-z0-9]{32}$","description":"The Secure MCP Tunnel ID to use instead of a direct server URL. One of\n`server_url`, `connector_id`, or `tunnel_id` must be provided.\n","uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.5.tunnel_id","typeLabel":"string"},"authorization":{"type":"string","description":"An OAuth access token that can be used with a remote MCP server, either\nwith a custom MCP server URL or a service connector. Your application\nmust handle the OAuth authorization flow and provide the token here.\n","uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.5.authorization","typeLabel":"string"},"server_description":{"type":"string","description":"Optional description of the MCP server, used to provide more context.\n","uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.5.server_description","typeLabel":"string"},"headers":{"type":"any","uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.5.headers","typeLabel":"any"},"allowed_tools":{"type":"any","uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.5.allowed_tools","typeLabel":"any"},"allowed_callers":{"type":"any","uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.5.allowed_callers","typeLabel":"any"},"require_approval":{"type":"any","uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.5.require_approval","typeLabel":"any"},"defer_loading":{"type":"boolean","description":"Whether this MCP tool is deferred and discovered via tool search.\n","uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.5.defer_loading","typeLabel":"boolean"}},"uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.5","typeLabel":"MCP tool · object"},{"type":"object","title":"Code interpreter","description":"A tool that can be used to generate a response.\n","required":["type","container"],"properties":{"type":{"type":"string","enum":["code_interpreter"],"description":"The type of the code interpreter tool. Always `code_interpreter`.\n","isRequired":true,"uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.6.type","typeLabel":"enum\u003cstring>"},"container":{"type":"any","description":"The code interpreter container. Can be a container ID or an object that\nspecifies uploaded file IDs to make available to your code, along with an\noptional `memory_limit` setting.\n","isRequired":true,"uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.6.container","typeLabel":"any"},"allowed_callers":{"type":"any","uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.6.allowed_callers","typeLabel":"any"}},"uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.6","typeLabel":"Code interpreter · object"},{"type":"object","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["programmatic_tool_calling"],"description":"The type of the tool. Always `programmatic_tool_calling`.","default":"programmatic_tool_calling","isRequired":true,"uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.7.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.7","typeLabel":"object"},{"type":"object","title":"Image generation tool","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["image_generation"],"description":"The type of the image generation tool. Always `image_generation`.\n","isRequired":true,"uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.8.type","typeLabel":"enum\u003cstring>"},"model":{"type":"any","uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.8.model","typeLabel":"any"},"complexity":{"type":"string","enum":["low","medium","high"],"description":"Computation spent planning the image, independently of rendering quality.\nOverrides the outer response's `reasoning.effort` for image generation.\nWhen omitted, inherits a supported outer reasoning effort or uses the\nimage model's configured default.\nFor SVG output, controls the reference image, not the SVG author's\nreasoning.\n","uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.8.complexity","typeLabel":"enum\u003cstring>"},"quality":{"type":"string","enum":["low","medium","high","xhigh","max","auto"],"description":"The quality of the generated image. The GPT image models support `low`,\n`medium`, and `high`. `gpt-image-2.5-sunburst` and `gpt-image-2.5-flare`,\nincluding their `2026-09-08` snapshots, also support `xhigh` and `max`.\nDefault: `auto`.\n","default":"auto","uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.8.quality","typeLabel":"enum\u003cstring>"},"size":{"type":"any","description":"The size of the generated images. For `gpt-image-2`, `gpt-image-2-2026-04-21`, `gpt-image-2.5-sunburst`, `gpt-image-2.5-sunburst-2026-09-08`, `gpt-image-2.5-flare`, and `gpt-image-2.5-flare-2026-09-08`, arbitrary resolutions are supported as `WIDTHxHEIGHT` strings, for example `1536x864`. Width and height must both be divisible by 16 and the requested aspect ratio must be between 1:3 and 3:1. Resolutions above `2560x1440` are experimental, and the maximum supported resolution is `3840x2160`. The requested size must also satisfy the model's current pixel and edge limits. The standard sizes `1024x1024`, `1536x1024`, and `1024x1536` are supported by the GPT image models; `auto` is supported for models that allow automatic sizing.","default":"auto","uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.8.size","typeLabel":"any"},"output_format":{"type":"string","enum":["png","webp","jpeg","gif","svg"],"description":"The output format of the generated image. One of `png`, `webp`, `jpeg`,\n`gif`, or `svg`. Default: `png`. GIF and SVG output require a model\nthat supports the selected format. GIF output does not support\npartial image streaming (`partial_images` greater than `0`),\n`input_image_mask`, or custom `output_compression`.\nResponses lifecycle events can still be streamed for GIF output.\n","default":"png","uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.8.output_format","typeLabel":"enum\u003cstring>"},"frame_count":{"type":"integer","minimum":2,"maximum":16,"default":9,"description":"Number of GIF frames. Requires `output_format` to be `gif`. Default: 9.\n","uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.8.frame_count","typeLabel":"integer"},"frame_duration_ms":{"type":"integer","minimum":20,"maximum":2000,"default":200,"description":"Duration of each GIF frame in milliseconds, rounded to 10 ms.\nRequires `output_format` to be `gif`. Default: 200.\n","uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.8.frame_duration_ms","typeLabel":"integer"},"svg":{"properties":{"model":{"type":"string","minLength":1,"uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.8.svg.model","typeLabel":"string"},"reasoning":{"type":"any","uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.8.svg.reasoning","typeLabel":"any"}},"type":"object","required":[],"description":"SVG author model settings. Requires `output_format` to be `svg`.\nWhen SVG model selection is enabled, omitting this object uses the\nouter response model. Otherwise, the default SVG author is used and\nexplicit model overrides are unavailable.\n","uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.8.svg","typeLabel":"object"},"output_compression":{"type":"integer","minimum":0,"maximum":100,"description":"Compression level for the output image. Default: 100.\n","default":100,"uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.8.output_compression","typeLabel":"integer"},"moderation":{"type":"string","enum":["auto","low"],"description":"Moderation level for the generated image. Default: `auto`.\n","default":"auto","uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.8.moderation","typeLabel":"enum\u003cstring>"},"background":{"type":"string","enum":["transparent","opaque","auto"],"description":"Set the background of the generated image. One of `transparent`, `opaque`,\nor `auto`. `gpt-image-2.5-sunburst` and `gpt-image-2.5-flare`, including\ntheir `2026-09-08` snapshots, support `opaque` and `transparent`\nbackgrounds. Transparent backgrounds are available for supported GPT Image\nmodels. For `gpt-image-2` and `gpt-image-2-2026-04-21`, this support is in\npreview. When using `transparent`, set the output format to `png` or `webp`.\nDefault: `auto`.\n","default":"auto","uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.8.background","typeLabel":"enum\u003cstring>"},"input_fidelity":{"type":"any","uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.8.input_fidelity","typeLabel":"any"},"input_image_mask":{"type":"object","description":"Optional mask for inpainting. Contains `image_url`\n(string, optional) and `file_id` (string, optional).\n","properties":{"image_url":{"type":"string","description":"Base64-encoded mask image.\n","uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.8.input_image_mask.image_url","typeLabel":"string"},"file_id":{"type":"string","description":"File ID for the mask image.\n","uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.8.input_image_mask.file_id","typeLabel":"string"}},"required":[],"additionalProperties":false,"uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.8.input_image_mask","typeLabel":"object"},"partial_images":{"type":"integer","minimum":0,"maximum":3,"description":"Number of partial images to generate in streaming mode, from 0 (default value) to 3.\n","default":0,"uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.8.partial_images","typeLabel":"integer"},"action":{"type":"string","enum":["generate","edit","auto"],"description":"Whether to generate a new image or edit an existing image. Default: `auto`.\n","uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.8.action","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.8","typeLabel":"Image generation tool · object"},{"type":"object","title":"Local shell tool","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["local_shell"],"description":"The type of the local shell tool. Always `local_shell`.","default":"local_shell","isRequired":true,"uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.9.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.9","typeLabel":"Local shell tool · object"},{"type":"object","title":"Shell tool","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["shell"],"description":"The type of the shell tool. Always `shell`.","default":"shell","isRequired":true,"uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.10.type","typeLabel":"enum\u003cstring>"},"environment":{"type":"any","uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.10.environment","typeLabel":"any"},"allowed_callers":{"type":"any","uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.10.allowed_callers","typeLabel":"any"}},"uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.10","typeLabel":"Shell tool · object"},{"type":"object","title":"Custom tool","description":"A tool that can be used to generate a response.\n","required":["type","name"],"properties":{"type":{"type":"string","enum":["custom"],"description":"The type of the custom tool. Always `custom`.","default":"custom","isRequired":true,"uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.11.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"The name of the custom tool, used to identify it in tool calls.","isRequired":true,"uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.11.name","typeLabel":"string"},"async":{"type":"boolean","description":"Whether the tool response can be returned asynchronously versus immediately returned on next response creation.","uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.11.async","typeLabel":"boolean"},"description":{"type":"string","description":"Optional description of the custom tool, used to provide more context.","uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.11.description","typeLabel":"string"},"format":{"type":"any","description":"The input format for the custom tool. Default is unconstrained text.","uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.11.format","typeLabel":"any"},"defer_loading":{"type":"boolean","description":"Whether this tool should be deferred and discovered via tool search.","uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.11.defer_loading","typeLabel":"boolean"},"allowed_callers":{"type":"any","uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.11.allowed_callers","typeLabel":"any"}},"uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.11","typeLabel":"Custom tool · object"},{"type":"object","title":"Namespace","description":"A tool that can be used to generate a response.\n","required":["type","name","description","tools"],"properties":{"type":{"type":"string","enum":["namespace"],"description":"The type of the tool. Always `namespace`.","default":"namespace","isRequired":true,"uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.12.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","minLength":1,"description":"The namespace name used in tool calls (for example, `crm`).","isRequired":true,"uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.12.name","typeLabel":"string"},"description":{"type":"string","description":"A description of the namespace shown to the model.","isRequired":true,"uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.12.description","typeLabel":"string"},"tools":{"items":{"type":"any","description":"A function or custom tool that belongs to a namespace.","uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.12.tools.items.[INDEX]","typeLabel":"any"},"type":"array","minItems":1,"description":"The function/custom tools available inside this namespace.","isRequired":true,"uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.12.tools","typeLabel":"any[]"}},"uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.12","typeLabel":"Namespace · object"},{"type":"object","title":"Tool search tool","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["tool_search"],"description":"The type of the tool. Always `tool_search`.","default":"tool_search","isRequired":true,"uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.13.type","typeLabel":"enum\u003cstring>"},"execution":{"type":"string","enum":["server","client"],"description":"Whether tool search is executed by the server or by the client.","uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.13.execution","typeLabel":"enum\u003cstring>"},"description":{"type":"any","uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.13.description","typeLabel":"any"},"parameters":{"type":"any","uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.13.parameters","typeLabel":"any"}},"uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.13","typeLabel":"Tool search tool · object"},{"type":"object","title":"Web search preview","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["web_search_preview","web_search_preview_2025_03_11"],"description":"The type of the web search tool. One of `web_search_preview` or `web_search_preview_2025_03_11`.","default":"web_search_preview","isRequired":true,"uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.14.type","typeLabel":"enum\u003cstring>"},"user_location":{"type":"any","uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.14.user_location","typeLabel":"any"},"search_context_size":{"type":"string","enum":["low","medium","high"],"description":"High level guidance for the amount of context window space to use for the search. One of `low`, `medium`, or `high`. `medium` is the default.","uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.14.search_context_size","typeLabel":"enum\u003cstring>"},"search_content_types":{"items":{"type":"string","enum":["text","image"],"uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.14.search_content_types.items.[INDEX]","typeLabel":"enum\u003cstring>"},"type":"array","uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.14.search_content_types","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.14","typeLabel":"Web search preview · object"},{"type":"object","title":"Apply patch tool","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["apply_patch"],"description":"The type of the tool. Always `apply_patch`.","default":"apply_patch","isRequired":true,"uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.15.type","typeLabel":"enum\u003cstring>"},"allowed_callers":{"type":"any","uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.15.allowed_callers","typeLabel":"any"}},"uniqueKey":"oneOf.26.response.tools.items.[INDEX].oneOf.15","typeLabel":"Apply patch tool · object"}],"uniqueKey":"oneOf.26.response.tools.items.[INDEX]","typeLabel":"Function · object | File search · object | Computer · object | Computer use preview · object | Web search · object | MCP tool · object | Code interpreter · object | object | Image generation tool · object | Local shell tool · object | Shell tool · object | Custom tool · object | Namespace · object | Tool search tool · object | Web search preview · object | Apply patch tool · object"},"isRequired":true,"uniqueKey":"oneOf.26.response.tools","typeLabel":"(Function · object | File search · object | Computer · object | Computer use preview · object | Web search · object | MCP tool · object | Code interpreter · object | object | Image generation tool · object | Local shell tool · object | Shell tool · object | Custom tool · object | Namespace · object | Tool search tool · object | Web search preview · object | Apply patch tool · object)[]"},"tool_choice":{"oneOf":[{"type":"string","title":"Tool choice mode","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","enum":["none","auto","required"],"isRequired":true,"uniqueKey":"oneOf.26.response.tool_choice.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"object","title":"Allowed tools","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","required":["type","mode","tools"],"properties":{"type":{"type":"string","enum":["allowed_tools"],"description":"Allowed tool configuration type. Always `allowed_tools`.","isRequired":true,"uniqueKey":"oneOf.26.response.tool_choice.oneOf.1.type","typeLabel":"enum\u003cstring>"},"mode":{"type":"string","enum":["auto","required"],"description":"Constrains the tools available to the model to a pre-defined set.\n\n`auto` allows the model to pick from among the allowed tools and generate a\nmessage.\n\n`required` requires the model to call one or more of the allowed tools.\n","isRequired":true,"uniqueKey":"oneOf.26.response.tool_choice.oneOf.1.mode","typeLabel":"enum\u003cstring>"},"tools":{"type":"array","description":"A list of tool definitions that the model should be allowed to call.\n\nFor the Responses API, the list of tool definitions might look like:\n```json\n[\n { \"type\": \"function\", \"name\": \"get_weather\" },\n { \"type\": \"mcp\", \"server_label\": \"deepwiki\" },\n { \"type\": \"image_generation\" }\n]\n```\n","items":{"type":"object","description":"A tool definition that the model should be allowed to call.\n","additionalProperties":true,"uniqueKey":"oneOf.26.response.tool_choice.oneOf.1.tools.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"oneOf.26.response.tool_choice.oneOf.1.tools","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"oneOf.26.response.tool_choice.oneOf.1","typeLabel":"Allowed tools · object"},{"type":"object","title":"Hosted tool","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","required":["type"],"properties":{"type":{"type":"string","description":"The type of hosted tool the model should to use. Learn more about\n[built-in tools](https://developers.openai.com/api/docs/guides/tools).\n\nAllowed values are:\n- `file_search`\n- `web_search_preview`\n- `computer`\n- `computer_use_preview`\n- `computer_use`\n- `code_interpreter`\n- `image_generation`\n","enum":["file_search","web_search_preview","computer","computer_use_preview","computer_use","web_search_preview_2025_03_11","image_generation","code_interpreter"],"isRequired":true,"uniqueKey":"oneOf.26.response.tool_choice.oneOf.2.type","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.26.response.tool_choice.oneOf.2","typeLabel":"Hosted tool · object"},{"type":"object","title":"Function tool","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","required":["type","name"],"properties":{"type":{"type":"string","enum":["function"],"description":"For function calling, the type is always `function`.","isRequired":true,"uniqueKey":"oneOf.26.response.tool_choice.oneOf.3.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"The name of the function to call.","isRequired":true,"uniqueKey":"oneOf.26.response.tool_choice.oneOf.3.name","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.26.response.tool_choice.oneOf.3","typeLabel":"Function tool · object"},{"type":"object","title":"MCP tool","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","required":["type","server_label"],"properties":{"type":{"type":"string","enum":["mcp"],"description":"For MCP tools, the type is always `mcp`.","isRequired":true,"uniqueKey":"oneOf.26.response.tool_choice.oneOf.4.type","typeLabel":"enum\u003cstring>"},"server_label":{"type":"string","description":"The label of the MCP server to use.\n","isRequired":true,"uniqueKey":"oneOf.26.response.tool_choice.oneOf.4.server_label","typeLabel":"string"},"name":{"type":"any","uniqueKey":"oneOf.26.response.tool_choice.oneOf.4.name","typeLabel":"any"}},"isRequired":true,"uniqueKey":"oneOf.26.response.tool_choice.oneOf.4","typeLabel":"MCP tool · object"},{"type":"object","title":"Custom tool","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","required":["type","name"],"properties":{"type":{"type":"string","enum":["custom"],"description":"For custom tool calling, the type is always `custom`.","isRequired":true,"uniqueKey":"oneOf.26.response.tool_choice.oneOf.5.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"The name of the custom tool to call.","isRequired":true,"uniqueKey":"oneOf.26.response.tool_choice.oneOf.5.name","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.26.response.tool_choice.oneOf.5","typeLabel":"Custom tool · object"},{"type":"object","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","required":["type"],"properties":{"type":{"type":"string","enum":["programmatic_tool_calling"],"description":"The tool to call. Always `programmatic_tool_calling`.","default":"programmatic_tool_calling","isRequired":true,"uniqueKey":"oneOf.26.response.tool_choice.oneOf.6.type","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.26.response.tool_choice.oneOf.6","typeLabel":"object"},{"type":"object","title":"Specific apply patch tool choice","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","required":["type"],"properties":{"type":{"type":"string","enum":["apply_patch"],"description":"The tool to call. Always `apply_patch`.","default":"apply_patch","isRequired":true,"uniqueKey":"oneOf.26.response.tool_choice.oneOf.7.type","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.26.response.tool_choice.oneOf.7","typeLabel":"Specific apply patch tool choice · object"},{"type":"object","title":"Specific shell tool choice","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","required":["type"],"properties":{"type":{"type":"string","enum":["shell"],"description":"The tool to call. Always `shell`.","default":"shell","isRequired":true,"uniqueKey":"oneOf.26.response.tool_choice.oneOf.8.type","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.26.response.tool_choice.oneOf.8","typeLabel":"Specific shell tool choice · object"}],"isRequired":true,"uniqueKey":"oneOf.26.response.tool_choice","typeLabel":"enum\u003cstring> | Allowed tools · object | Hosted tool · object | Function tool · object | MCP tool · object | Custom tool · object | object | Specific apply patch tool choice · object | Specific shell tool choice · object"},"id":{"type":"string","description":"Unique identifier for this Response.\n","isRequired":true,"uniqueKey":"oneOf.26.response.id","typeLabel":"string"},"object":{"type":"string","description":"The object type of this resource - always set to `response`.\n","const":"response","isRequired":true,"uniqueKey":"oneOf.26.response.object","typeLabel":"string"},"access_programs":{"oneOf":[{"type":"object","required":["cyber"],"properties":{"cyber":{"type":"string","enum":["standard","daybreak_blue","daybreak_red"],"description":"The effective Cyber access program used for this response.","isRequired":true,"uniqueKey":"oneOf.26.response.access_programs.oneOf.0.cyber","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.26.response.access_programs.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.26.response.access_programs.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.26.response.access_programs","typeLabel":"object | null"},"created_at":{"type":"number","format":"unixtime","description":"Unix timestamp (in seconds) of when this Response was created.\n","isRequired":true,"uniqueKey":"oneOf.26.response.created_at","typeLabel":"number\u003cunixtime>"},"error":{"oneOf":[{"type":"object","description":"An error object returned when the model fails to generate a Response.\n","required":["code","message"],"properties":{"code":{"type":"string","description":"The error code for the response.\n","enum":["server_error","rate_limit_exceeded","invalid_prompt","data_residency_mismatch","bio_policy","misalignment_policy_violation","vector_store_timeout","invalid_image","invalid_image_format","invalid_base64_image","invalid_image_url","image_too_large","image_too_small","image_parse_error","image_content_policy_violation","invalid_image_mode","image_file_too_large","unsupported_image_media_type","empty_image_file","failed_to_download_image","image_file_not_found"],"isRequired":true,"uniqueKey":"oneOf.26.response.error.oneOf.0.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"A human-readable description of the error.\n","isRequired":true,"uniqueKey":"oneOf.26.response.error.oneOf.0.message","typeLabel":"string"},"type":{"oneOf":[{"type":"string","description":"The original error type, or null if it was not recorded.","uniqueKey":"oneOf.26.response.error.oneOf.0.type.oneOf.0","typeLabel":"string"},{"type":"null","description":"The original error type, or null if it was not recorded.","uniqueKey":"oneOf.26.response.error.oneOf.0.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.26.response.error.oneOf.0.type","typeLabel":"string | null"},"param":{"oneOf":[{"type":"string","description":"The request parameter associated with the error, or null if none was recorded.","uniqueKey":"oneOf.26.response.error.oneOf.0.param.oneOf.0","typeLabel":"string"},{"type":"null","description":"The request parameter associated with the error, or null if none was recorded.","uniqueKey":"oneOf.26.response.error.oneOf.0.param.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.26.response.error.oneOf.0.param","typeLabel":"string | null"},"misalignment":{"properties":{"review_target":{"oneOf":[{"type":"string","description":"An opaque target for explicitly continuing this review, or null when unavailable.","maxLength":96,"minLength":1,"pattern":"^[A-Za-z0-9._~:-]+$","uniqueKey":"oneOf.26.response.error.oneOf.0.misalignment.review_target.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.26.response.error.oneOf.0.misalignment.review_target.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.26.response.error.oneOf.0.misalignment.review_target","typeLabel":"string | null"},"error_type":{"oneOf":[{"type":"string","description":"An optional classification; clients must accept additional values.","uniqueKey":"oneOf.26.response.error.oneOf.0.misalignment.error_type.oneOf.0","typeLabel":"string"},{"type":"string","description":"An optional classification; clients must accept additional values.","enum":["potentially_unintended_data_transfer","potentially_unintended_data_access","potentially_unintended_destructive_activity","other"],"uniqueKey":"oneOf.26.response.error.oneOf.0.misalignment.error_type.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"oneOf.26.response.error.oneOf.0.misalignment.error_type","typeLabel":"string | enum\u003cstring>"},"detailed_explanation":{"type":"string","description":"The public explanation for this block.","uniqueKey":"oneOf.26.response.error.oneOf.0.misalignment.detailed_explanation","typeLabel":"string"},"steer":{"properties":{"message":{"type":"string","description":"The public continuation instruction.","isRequired":true,"uniqueKey":"oneOf.26.response.error.oneOf.0.misalignment.steer.message","typeLabel":"string"}},"type":"object","required":["message"],"description":"An optional public continuation instruction.","uniqueKey":"oneOf.26.response.error.oneOf.0.misalignment.steer","typeLabel":"object"}},"type":"object","required":[],"uniqueKey":"oneOf.26.response.error.oneOf.0.misalignment","typeLabel":"object"}},"isRequired":true,"uniqueKey":"oneOf.26.response.error.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.26.response.error.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.26.response.error","typeLabel":"object | null"},"incomplete_details":{"oneOf":[{"type":"object","description":"Details about why the response is incomplete.\n","properties":{"reason":{"type":"string","description":"The reason why the response is incomplete. `steered` means\nthe response stopped at a safe output boundary after a\nWebSocket `response.steer` event. The server can then create\na successor response automatically with the queued input.\n","enum":["max_output_tokens","max_messages","content_filter","steered"],"uniqueKey":"oneOf.26.response.incomplete_details.oneOf.0.reason","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.26.response.incomplete_details.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.26.response.incomplete_details.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.26.response.incomplete_details","typeLabel":"object | null"},"output":{"type":"array","description":"An array of content items generated by the model.\n\n- The length and order of items in the `output` array is dependent\n on the model's response.\n- Rather than accessing the first item in the `output` array and\n assuming it's an `assistant` message with the content generated by\n the model, you might consider using the `output_text` property where\n supported in SDKs.\n","items":{"oneOf":[{"type":"object","title":"Output message","description":"An output message from the model.\n","required":["id","type","role","content","status"],"properties":{"id":{"type":"string","description":"The unique ID of the output message.\n","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.0.id","typeLabel":"string"},"type":{"type":"string","description":"The type of the output message. Always `message`.\n","const":"message","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.0.type","typeLabel":"string"},"role":{"type":"string","description":"The role of the output message. Always `assistant`.\n","const":"assistant","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.0.role","typeLabel":"string"},"content":{"type":"array","description":"The content of the output message.\n","items":{"type":"any","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.0.content.items.[INDEX]","typeLabel":"any"},"isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.0.content","typeLabel":"any[]"},"status":{"type":"string","description":"The status of the message input. One of `in_progress`, `completed`, or\n`incomplete`. Populated when input items are returned via API.\n","enum":["in_progress","completed","incomplete"],"isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.0.status","typeLabel":"enum\u003cstring>"},"phase":{"type":"any","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.0.phase","typeLabel":"any"}},"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.0","typeLabel":"Output message · object"},{"type":"object","title":"File search tool call","description":"The results of a file search tool call. See the\n[file search guide](https://developers.openai.com/api/docs/guides/tools-file-search) for more information.\n","required":["id","type","status","queries"],"properties":{"id":{"type":"string","description":"The unique ID of the file search tool call.\n","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.1.id","typeLabel":"string"},"type":{"type":"string","enum":["file_search_call"],"description":"The type of the file search tool call. Always `file_search_call`.\n","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"status":{"type":"string","description":"The status of the file search tool call. One of `in_progress`,\n`searching`, `incomplete` or `failed`,\n","enum":["in_progress","searching","completed","incomplete","failed"],"isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.1.status","typeLabel":"enum\u003cstring>"},"queries":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.1.queries.items.[INDEX]","typeLabel":"string"},"description":"The queries used to search for files.\n","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.1.queries","typeLabel":"string[]"},"results":{"type":"any","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.1.results","typeLabel":"any"}},"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.1","typeLabel":"File search tool call · object"},{"type":"object","title":"Function tool call","description":"A tool call to run a function. See the\n[function calling guide](https://developers.openai.com/api/docs/guides/function-calling) for more information.\n","required":["type","call_id","name","arguments"],"properties":{"type":{"type":"string","const":"function_call","description":"The type of the function tool call. Always `function_call`.\n","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.2.type","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the function tool call generated by the model.\n","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.2.call_id","typeLabel":"string"},"name":{"type":"string","description":"The name of the function to run.\n","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.2.name","typeLabel":"string"},"arguments":{"type":"string","description":"A JSON string of the arguments to pass to the function.\n","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.2.arguments","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the function tool call.\n","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.2.id","typeLabel":"string"},"caller":{"type":"any","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.2.caller","typeLabel":"any"},"namespace":{"type":"string","description":"The namespace of the function to run.\n","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.2.namespace","typeLabel":"string"},"status":{"type":"string","description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.2.status","typeLabel":"enum\u003cstring>"},"async":{"type":"boolean","description":"Whether the function tool call runs asynchronously.\n","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.2.async","typeLabel":"boolean"}},"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.2","typeLabel":"Function tool call · object"},{"type":"object","title":"Function tool call output","description":"The output of a function tool call.\n","required":["id","status","type","output"],"properties":{"id":{"type":"string","description":"The unique ID of the function call tool output.\n","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.3.id","typeLabel":"string"},"type":{"type":"string","const":"function_call_output","description":"The type of the function tool call output. Always `function_call_output`.\n","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.3.type","typeLabel":"string"},"output":{"type":"any","description":"The output from the function call generated by your code.\nCan be a string or an list of output content.\n","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.3.output","typeLabel":"any"},"status":{"type":"string","description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.3.status","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","description":"The unique ID of the function tool call generated by the model.\n","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.3.call_id","typeLabel":"string"},"name":{"type":"string","description":"The name of the tool that produced the output.\n","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.3.name","typeLabel":"string"},"namespace":{"type":"string","description":"The namespace of the tool that produced the output.\n","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.3.namespace","typeLabel":"string"},"caller":{"type":"any","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.3.caller","typeLabel":"any"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.\n","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.3.created_by","typeLabel":"string"}},"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.3","typeLabel":"Function tool call output · object"},{"type":"object","title":"Web search tool call","description":"The results of a web search tool call. See the\n[web search guide](https://developers.openai.com/api/docs/guides/tools-web-search) for more information.\n","required":["id","type","status"],"properties":{"id":{"type":"string","description":"The unique ID of the web search tool call.\n","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.4.id","typeLabel":"string"},"type":{"type":"string","const":"web_search_call","description":"The type of the web search tool call. Always `web_search_call`.\n","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.4.type","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","searching","completed","failed","incomplete"],"description":"The status of the web search tool call.\n","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.4.status","typeLabel":"enum\u003cstring>"},"action":{"type":"any","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.4.action","typeLabel":"any"}},"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.4","typeLabel":"Web search tool call · object"},{"type":"object","title":"Computer tool call","description":"A tool call to a computer use tool. See the\n[computer use guide](https://developers.openai.com/api/docs/guides/tools-computer-use) for more information.\n","required":["type","id","call_id","pending_safety_checks","status"],"properties":{"type":{"type":"string","description":"The type of the computer call. Always `computer_call`.","enum":["computer_call"],"default":"computer_call","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.5.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the computer call.","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.5.id","typeLabel":"string"},"call_id":{"type":"string","description":"An identifier used when responding to the tool call with output.\n","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.5.call_id","typeLabel":"string"},"pending_safety_checks":{"type":"array","items":{"properties":{"id":{"type":"string","description":"The ID of the pending safety check.","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.5.pending_safety_checks.items.[INDEX].id","typeLabel":"string"},"code":{"type":"any","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.5.pending_safety_checks.items.[INDEX].code","typeLabel":"any"},"message":{"type":"any","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.5.pending_safety_checks.items.[INDEX].message","typeLabel":"any"}},"type":"object","required":["id"],"description":"A pending safety check for the computer call.","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.5.pending_safety_checks.items.[INDEX]","typeLabel":"object"},"description":"The pending safety checks for the computer call.\n","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.5.pending_safety_checks","typeLabel":"object[]"},"status":{"type":"string","description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.5.status","typeLabel":"enum\u003cstring>"},"action":{"type":"any","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.5.action","typeLabel":"any"},"actions":{"title":"Computer Action List","type":"array","description":"Flattened batched actions for `computer_use`. Each action includes an\n`type` discriminator and action-specific fields.\n","items":{"type":"any","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.5.actions.items.[INDEX]","typeLabel":"any"},"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.5.actions","typeLabel":"any[]"}},"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.5","typeLabel":"Computer tool call · object"},{"type":"object","title":"Computer tool call output","description":"The output of a computer tool call.\n","required":["id","status","type","call_id","output"],"properties":{"type":{"type":"string","description":"The type of the computer tool call output. Always `computer_call_output`.\n","const":"computer_call_output","default":"computer_call_output","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.6.type","typeLabel":"string"},"id":{"type":"string","description":"The ID of the computer tool call output.\n","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.6.id","typeLabel":"string"},"call_id":{"type":"string","description":"The ID of the computer tool call that produced the output.\n","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.6.call_id","typeLabel":"string"},"output":{"type":"object","description":"A computer screenshot image used with the computer use tool.\n","properties":{"type":{"type":"string","const":"computer_screenshot","default":"computer_screenshot","description":"Specifies the event type. For a computer screenshot, this property is \nalways set to `computer_screenshot`.\n","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.6.output.type","typeLabel":"string"},"image_url":{"type":"string","format":"uri","description":"The URL of the screenshot image.","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.6.output.image_url","typeLabel":"string\u003curi>"},"file_id":{"type":"string","description":"The identifier of an uploaded file that contains the screenshot.","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.6.output.file_id","typeLabel":"string"}},"required":["type"],"isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.6.output","typeLabel":"object"},"status":{"type":"string","description":"The status of the message input. One of `in_progress`, `completed`, or\n`incomplete`. Populated when input items are returned via API.\n","enum":["completed","incomplete"],"isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.6.status","typeLabel":"enum\u003cstring>"},"acknowledged_safety_checks":{"type":"array","description":"The safety checks reported by the API that have been acknowledged by the\ndeveloper.\n","items":{"properties":{"id":{"type":"string","description":"The ID of the pending safety check.","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.6.acknowledged_safety_checks.items.[INDEX].id","typeLabel":"string"},"code":{"type":"any","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.6.acknowledged_safety_checks.items.[INDEX].code","typeLabel":"any"},"message":{"type":"any","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.6.acknowledged_safety_checks.items.[INDEX].message","typeLabel":"any"}},"type":"object","required":["id"],"description":"A pending safety check for the computer call.","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.6.acknowledged_safety_checks.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.6.acknowledged_safety_checks","typeLabel":"object[]"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.\n","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.6.created_by","typeLabel":"string"}},"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.6","typeLabel":"Computer tool call output · object"},{"type":"object","title":"Reasoning","description":"A description of the chain of thought used by a reasoning model while generating\na response. Be sure to include these items in your `input` to the Responses API\nfor subsequent turns of a conversation if you are manually\n[managing context](https://developers.openai.com/api/docs/guides/conversation-state).\n","required":["id","summary","type"],"properties":{"type":{"type":"string","description":"The type of the object. Always `reasoning`.\n","enum":["reasoning"],"isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.7.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique identifier of the reasoning content.\n","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.7.id","typeLabel":"string"},"summary":{"type":"array","description":"Reasoning summary content.\n","items":{"properties":{"type":{"type":"string","enum":["summary_text"],"description":"The type of the object. Always `summary_text`.","default":"summary_text","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.7.summary.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"A summary of the reasoning output from the model so far.","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.7.summary.items.[INDEX].text","typeLabel":"string"}},"type":"object","required":["type","text"],"title":"Summary text","description":"A summary text from the model.","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.7.summary.items.[INDEX]","typeLabel":"Summary text · object"},"isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.7.summary","typeLabel":"Summary text · object[]"},"encrypted_content":{"type":"any","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.7.encrypted_content","typeLabel":"any"},"content":{"type":"array","description":"Reasoning text content.\n","items":{"properties":{"type":{"type":"string","enum":["reasoning_text"],"description":"The type of the reasoning text. Always `reasoning_text`.","default":"reasoning_text","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.7.content.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"The reasoning text from the model.","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.7.content.items.[INDEX].text","typeLabel":"string"}},"type":"object","required":["type","text"],"title":"Reasoning text","description":"Reasoning text from the model.","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.7.content.items.[INDEX]","typeLabel":"Reasoning text · object"},"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.7.content","typeLabel":"Reasoning text · object[]"},"status":{"type":"string","description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.7.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.7","typeLabel":"Reasoning · object"},{"type":"object","required":["type","id","call_id","code","fingerprint"],"properties":{"type":{"type":"string","enum":["program"],"description":"The type of the item. Always `program`.","default":"program","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.8.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the program item.","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.8.id","typeLabel":"string"},"call_id":{"type":"string","description":"The stable call ID of the program item.","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.8.call_id","typeLabel":"string"},"code":{"type":"string","description":"The JavaScript source executed by programmatic tool calling.","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.8.code","typeLabel":"string"},"fingerprint":{"type":"string","description":"Opaque program replay fingerprint that must be round-tripped.","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.8.fingerprint","typeLabel":"string"}},"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.8","typeLabel":"object"},{"type":"object","required":["type","id","call_id","result","status"],"properties":{"type":{"type":"string","enum":["program_output"],"description":"The type of the item. Always `program_output`.","default":"program_output","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.9.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the program output item.","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.9.id","typeLabel":"string"},"call_id":{"type":"string","description":"The call ID of the program item.","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.9.call_id","typeLabel":"string"},"result":{"type":"string","description":"The result produced by the program item.","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.9.result","typeLabel":"string"},"status":{"type":"string","enum":["completed","incomplete"],"description":"The terminal status of the program output item.","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.9.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.9","typeLabel":"object"},{"type":"object","required":["type","id","call_id","execution","arguments","status"],"properties":{"type":{"type":"string","enum":["tool_search_call"],"description":"The type of the item. Always `tool_search_call`.","default":"tool_search_call","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.10.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the tool search call item.","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.10.id","typeLabel":"string"},"call_id":{"type":"any","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.10.call_id","typeLabel":"any"},"execution":{"type":"string","enum":["server","client"],"description":"Whether tool search was executed by the server or by the client.","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.10.execution","typeLabel":"enum\u003cstring>"},"arguments":{"description":"Arguments used for the tool search call.","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.10.arguments","typeLabel":"any"},"status":{"type":"string","enum":["in_progress","completed","incomplete"],"description":"The status of the tool search call item that was recorded.","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.10.status","typeLabel":"enum\u003cstring>"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.10.created_by","typeLabel":"string"}},"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.10","typeLabel":"object"},{"type":"object","required":["type","id","call_id","execution","tools","status"],"properties":{"type":{"type":"string","enum":["tool_search_output"],"description":"The type of the item. Always `tool_search_output`.","default":"tool_search_output","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.11.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the tool search output item.","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.11.id","typeLabel":"string"},"call_id":{"type":"any","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.11.call_id","typeLabel":"any"},"execution":{"type":"string","enum":["server","client"],"description":"Whether tool search was executed by the server or by the client.","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.11.execution","typeLabel":"enum\u003cstring>"},"tools":{"items":{"type":"any","description":"A tool that can be used to generate a response.\n","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.11.tools.items.[INDEX]","typeLabel":"any"},"type":"array","description":"The loaded tool definitions returned by tool search.","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.11.tools","typeLabel":"any[]"},"status":{"type":"string","enum":["in_progress","completed","incomplete"],"description":"The status of the tool search output item that was recorded.","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.11.status","typeLabel":"enum\u003cstring>"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.11.created_by","typeLabel":"string"}},"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.11","typeLabel":"object"},{"type":"object","required":["type","id","role","tools"],"properties":{"type":{"type":"string","enum":["additional_tools"],"description":"The type of the item. Always `additional_tools`.","default":"additional_tools","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.12.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the additional tools item.","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.12.id","typeLabel":"string"},"role":{"type":"string","enum":["unknown","user","assistant","system","critic","discriminator","developer","tool"],"description":"The role that provided the additional tools.","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.12.role","typeLabel":"enum\u003cstring>"},"tools":{"items":{"type":"any","description":"A tool that can be used to generate a response.\n","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.12.tools.items.[INDEX]","typeLabel":"any"},"type":"array","description":"The additional tool definitions made available at this item.","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.12.tools","typeLabel":"any[]"}},"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.12","typeLabel":"object"},{"type":"object","title":"Compaction item","description":"A compaction item generated by the [`v1/responses/compact` API](https://developers.openai.com/api/reference/resources/responses/methods/compact).","required":["type","id","encrypted_content"],"properties":{"type":{"type":"string","enum":["compaction"],"description":"The type of the item. Always `compaction`.","default":"compaction","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.13.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the compaction item.","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.13.id","typeLabel":"string"},"encrypted_content":{"type":"string","description":"The encrypted content that was produced by compaction.","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.13.encrypted_content","typeLabel":"string"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.13.created_by","typeLabel":"string"}},"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.13","typeLabel":"Compaction item · object"},{"type":"object","title":"Image generation call","description":"An image generation request made by the model.","required":["type","id","status","result"],"properties":{"type":{"type":"string","enum":["image_generation_call"],"description":"The type of the image generation call. Always `image_generation_call`.","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.14.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the image generation call.","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.14.id","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","completed","generating","failed"],"description":"The status of the image generation call.","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.14.status","typeLabel":"enum\u003cstring>"},"result":{"type":"any","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.14.result","typeLabel":"any"},"error":{"properties":{"code":{"type":"any","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.14.error.code","typeLabel":"any"},"type":{"type":"string","description":"The error type.","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.14.error.type","typeLabel":"string"},"message":{"type":"string","description":"A description of the error.","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.14.error.message","typeLabel":"string"},"param":{"type":"any","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.14.error.param","typeLabel":"any"},"moderation_details":{"properties":{"moderation_stage":{"type":"string","enum":["input","output","unknown"],"description":"The stage where moderation blocked the image generation call.","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.14.error.moderation_details.moderation_stage","typeLabel":"enum\u003cstring>"},"categories":{"items":{"type":"string","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.14.error.moderation_details.categories.items.[INDEX]","typeLabel":"string"},"type":"array","description":"Public moderation categories. New category values may be added over time.","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.14.error.moderation_details.categories","typeLabel":"string[]"}},"type":"object","required":["moderation_stage","categories"],"description":"Public details for a `moderation_blocked` error, when available.","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.14.error.moderation_details","typeLabel":"object"}},"type":"object","required":["code","type","message","param"],"description":"Details of a moderation failure, when available.","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.14.error","typeLabel":"object"},"size":{"type":"any","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.14.size","typeLabel":"any"},"quality":{"type":"any","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.14.quality","typeLabel":"any"},"action":{"type":"any","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.14.action","typeLabel":"any"},"background":{"type":"any","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.14.background","typeLabel":"any"},"output_format":{"type":"any","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.14.output_format","typeLabel":"any"},"svg_usage":{"properties":{"model":{"type":"string","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.14.svg_usage.model","typeLabel":"string"},"input_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.14.svg_usage.input_tokens","typeLabel":"integer"},"output_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.14.svg_usage.output_tokens","typeLabel":"integer"},"total_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.14.svg_usage.total_tokens","typeLabel":"integer"},"reasoning_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.14.svg_usage.reasoning_tokens","typeLabel":"integer"}},"type":"object","required":["model","input_tokens","output_tokens","total_tokens","reasoning_tokens"],"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.14.svg_usage","typeLabel":"object"},"revised_prompt":{"type":"any","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.14.revised_prompt","typeLabel":"any"}},"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.14","typeLabel":"Image generation call · object"},{"type":"object","title":"Code interpreter tool call","description":"A tool call to run code.\n","required":["type","id","status","container_id","code","outputs"],"properties":{"type":{"type":"string","enum":["code_interpreter_call"],"default":"code_interpreter_call","description":"The type of the code interpreter tool call. Always `code_interpreter_call`.\n","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.15.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the code interpreter tool call.\n","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.15.id","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","completed","incomplete","interpreting","failed"],"description":"The status of the code interpreter tool call. Valid values are `in_progress`, `completed`, `incomplete`, `interpreting`, and `failed`.\n","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.15.status","typeLabel":"enum\u003cstring>"},"container_id":{"type":"string","description":"The ID of the container used to run the code.\n","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.15.container_id","typeLabel":"string"},"code":{"type":"any","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.15.code","typeLabel":"any"},"outputs":{"type":"any","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.15.outputs","typeLabel":"any"}},"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.15","typeLabel":"Code interpreter tool call · object"},{"type":"object","title":"Local shell call","description":"A tool call to run a command on the local shell.\n","required":["type","id","call_id","action","status"],"properties":{"type":{"type":"string","enum":["local_shell_call"],"description":"The type of the local shell call. Always `local_shell_call`.\n","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.16.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the local shell call.\n","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.16.id","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the local shell tool call generated by the model.\n","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.16.call_id","typeLabel":"string"},"action":{"properties":{"type":{"type":"string","enum":["exec"],"description":"The type of the local shell action. Always `exec`.","default":"exec","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.16.action.type","typeLabel":"enum\u003cstring>"},"command":{"items":{"type":"string","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.16.action.command.items.[INDEX]","typeLabel":"string"},"type":"array","description":"The command to run.","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.16.action.command","typeLabel":"string[]"},"env":{"additionalProperties":{"type":"string","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.16.action.env.additionalProperties","typeLabel":"string"},"type":"object","description":"Environment variables to set for the command.","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.16.action.env","typeLabel":"object"},"timeout_ms":{"type":"any","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.16.action.timeout_ms","typeLabel":"any"},"working_directory":{"type":"any","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.16.action.working_directory","typeLabel":"any"},"user":{"type":"any","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.16.action.user","typeLabel":"any"}},"type":"object","required":["type","command","env"],"title":"Local shell exec action","description":"Execute a shell command on the server.","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.16.action","typeLabel":"Local shell exec action · object"},"status":{"type":"string","enum":["in_progress","completed","incomplete"],"description":"The status of the local shell call.\n","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.16.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.16","typeLabel":"Local shell call · object"},{"type":"object","title":"Local shell call output","description":"The output of a local shell tool call.\n","required":["id","type","call_id","output"],"properties":{"type":{"type":"string","enum":["local_shell_call_output"],"description":"The type of the local shell tool call output. Always `local_shell_call_output`.\n","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.17.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the local shell tool call generated by the model.\n","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.17.id","typeLabel":"string"},"output":{"type":"string","description":"A JSON string of the output of the local shell tool call.\n","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.17.output","typeLabel":"string"},"status":{"type":"any","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.17.status","typeLabel":"any"}},"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.17","typeLabel":"Local shell call output · object"},{"type":"object","title":"Shell tool call","description":"A tool call that executes one or more shell commands in a managed environment.","required":["type","id","call_id","action","status","environment"],"properties":{"type":{"type":"string","enum":["shell_call"],"description":"The type of the item. Always `shell_call`.","default":"shell_call","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.18.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the shell tool call. Populated when this item is returned via API.","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.18.id","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the shell tool call generated by the model.","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.18.call_id","typeLabel":"string"},"action":{"properties":{"commands":{"items":{"type":"string","description":"A list of commands to run.","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.18.action.commands.items.[INDEX]","typeLabel":"string"},"type":"array","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.18.action.commands","typeLabel":"string[]"},"timeout_ms":{"type":"any","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.18.action.timeout_ms","typeLabel":"any"},"max_output_length":{"type":"any","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.18.action.max_output_length","typeLabel":"any"}},"type":"object","required":["commands","timeout_ms","max_output_length"],"title":"Shell exec action","description":"The shell commands and limits that describe how to run the tool call.","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.18.action","typeLabel":"Shell exec action · object"},"status":{"type":"string","enum":["in_progress","completed","incomplete"],"description":"The status of the shell call. One of `in_progress`, `completed`, or `incomplete`.","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.18.status","typeLabel":"enum\u003cstring>"},"environment":{"type":"any","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.18.environment","typeLabel":"any"},"caller":{"type":"any","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.18.caller","typeLabel":"any"},"created_by":{"type":"string","description":"The ID of the entity that created this tool call.","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.18.created_by","typeLabel":"string"}},"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.18","typeLabel":"Shell tool call · object"},{"type":"object","title":"Shell call output","description":"The output of a shell tool call that was emitted.","required":["type","id","call_id","status","output","max_output_length"],"properties":{"type":{"type":"string","enum":["shell_call_output"],"description":"The type of the shell call output. Always `shell_call_output`.","default":"shell_call_output","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.19.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the shell call output. Populated when this item is returned via API.","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.19.id","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the shell tool call generated by the model.","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.19.call_id","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","completed","incomplete"],"description":"The status of the shell call output. One of `in_progress`, `completed`, or `incomplete`.","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.19.status","typeLabel":"enum\u003cstring>"},"output":{"items":{"properties":{"stdout":{"type":"string","description":"The standard output that was captured.","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.19.output.items.[INDEX].stdout","typeLabel":"string"},"stderr":{"type":"string","description":"The standard error output that was captured.","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.19.output.items.[INDEX].stderr","typeLabel":"string"},"outcome":{"type":"any","title":"Shell call outcome","description":"Represents either an exit outcome (with an exit code) or a timeout outcome for a shell call output chunk.","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.19.output.items.[INDEX].outcome","typeLabel":"any"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.19.output.items.[INDEX].created_by","typeLabel":"string"}},"type":"object","required":["stdout","stderr","outcome"],"title":"Shell call output content","description":"The content of a shell tool call output that was emitted.","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.19.output.items.[INDEX]","typeLabel":"Shell call output content · object"},"type":"array","description":"An array of shell call output contents","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.19.output","typeLabel":"Shell call output content · object[]"},"max_output_length":{"type":"any","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.19.max_output_length","typeLabel":"any"},"caller":{"type":"any","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.19.caller","typeLabel":"any"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.19.created_by","typeLabel":"string"}},"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.19","typeLabel":"Shell call output · object"},{"type":"object","title":"Apply patch tool call","description":"A tool call that applies file diffs by creating, deleting, or updating files.","required":["type","id","call_id","status","operation"],"properties":{"type":{"type":"string","enum":["apply_patch_call"],"description":"The type of the item. Always `apply_patch_call`.","default":"apply_patch_call","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.20.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the apply patch tool call. Populated when this item is returned via API.","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.20.id","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the apply patch tool call generated by the model.","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.20.call_id","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","completed"],"description":"The status of the apply patch tool call. One of `in_progress` or `completed`.","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.20.status","typeLabel":"enum\u003cstring>"},"operation":{"type":"any","title":"Apply patch operation","description":"One of the create_file, delete_file, or update_file operations applied via apply_patch.","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.20.operation","typeLabel":"any"},"caller":{"type":"any","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.20.caller","typeLabel":"any"},"created_by":{"type":"string","description":"The ID of the entity that created this tool call.","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.20.created_by","typeLabel":"string"}},"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.20","typeLabel":"Apply patch tool call · object"},{"type":"object","title":"Apply patch tool call output","description":"The output emitted by an apply patch tool call.","required":["type","id","call_id","status"],"properties":{"type":{"type":"string","enum":["apply_patch_call_output"],"description":"The type of the item. Always `apply_patch_call_output`.","default":"apply_patch_call_output","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.21.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the apply patch tool call output. Populated when this item is returned via API.","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.21.id","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the apply patch tool call generated by the model.","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.21.call_id","typeLabel":"string"},"status":{"type":"string","enum":["completed","failed"],"description":"The status of the apply patch tool call output. One of `completed` or `failed`.","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.21.status","typeLabel":"enum\u003cstring>"},"caller":{"type":"any","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.21.caller","typeLabel":"any"},"output":{"type":"any","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.21.output","typeLabel":"any"},"created_by":{"type":"string","description":"The ID of the entity that created this tool call output.","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.21.created_by","typeLabel":"string"}},"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.21","typeLabel":"Apply patch tool call output · object"},{"type":"object","title":"MCP tool call","description":"An invocation of a tool on an MCP server.\n","required":["type","id","server_label","name","arguments"],"properties":{"type":{"type":"string","const":"mcp_call","description":"The type of the item. Always `mcp_call`.\n","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.22.type","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the tool call.\n","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.22.id","typeLabel":"string"},"server_label":{"type":"string","description":"The label of the MCP server running the tool.\n","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.22.server_label","typeLabel":"string"},"name":{"type":"string","description":"The name of the tool that was run.\n","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.22.name","typeLabel":"string"},"arguments":{"type":"string","description":"A JSON string of the arguments passed to the tool.\n","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.22.arguments","typeLabel":"string"},"output":{"type":"any","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.22.output","typeLabel":"any"},"error":{"type":"any","description":"The error from the tool call, if any.","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.22.error","typeLabel":"any"},"status":{"type":"string","enum":["in_progress","completed","incomplete","calling","failed"],"description":"The status of the tool call. One of `in_progress`, `completed`, `incomplete`, `calling`, or `failed`.\n","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.22.status","typeLabel":"enum\u003cstring>"},"approval_request_id":{"type":"any","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.22.approval_request_id","typeLabel":"any"}},"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.22","typeLabel":"MCP tool call · object"},{"type":"object","title":"MCP list tools","description":"A list of tools available on an MCP server.\n","required":["type","id","server_label","tools"],"properties":{"type":{"type":"string","const":"mcp_list_tools","description":"The type of the item. Always `mcp_list_tools`.\n","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.23.type","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the list.\n","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.23.id","typeLabel":"string"},"server_label":{"type":"string","description":"The label of the MCP server.\n","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.23.server_label","typeLabel":"string"},"tools":{"type":"array","items":{"type":"object","title":"MCP list tools tool","description":"A tool available on an MCP server.\n","properties":{"name":{"type":"string","description":"The name of the tool.\n","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.23.tools.items.[INDEX].name","typeLabel":"string"},"input_schema":{"type":"object","description":"The JSON schema describing the tool's input.\n","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.23.tools.items.[INDEX].input_schema","typeLabel":"object"},"description":{"type":"any","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.23.tools.items.[INDEX].description","typeLabel":"any"},"annotations":{"type":"any","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.23.tools.items.[INDEX].annotations","typeLabel":"any"}},"required":["name","input_schema"],"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.23.tools.items.[INDEX]","typeLabel":"MCP list tools tool · object"},"description":"The tools available on the server.\n","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.23.tools","typeLabel":"MCP list tools tool · object[]"},"error":{"type":"any","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.23.error","typeLabel":"any"}},"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.23","typeLabel":"MCP list tools · object"},{"type":"object","title":"MCP approval request","description":"A request for human approval of a tool invocation.\n","required":["type","id","server_label","name","arguments"],"properties":{"type":{"type":"string","const":"mcp_approval_request","description":"The type of the item. Always `mcp_approval_request`.\n","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.24.type","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the approval request.\n","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.24.id","typeLabel":"string"},"server_label":{"type":"string","description":"The label of the MCP server making the request.\n","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.24.server_label","typeLabel":"string"},"name":{"type":"string","description":"The name of the tool to run.\n","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.24.name","typeLabel":"string"},"arguments":{"type":"string","description":"A JSON string of arguments for the tool.\n","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.24.arguments","typeLabel":"string"}},"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.24","typeLabel":"MCP approval request · object"},{"type":"object","title":"MCP approval response","description":"A response to an MCP approval request.\n","required":["type","id","request_id","approve","approval_request_id"],"properties":{"type":{"type":"string","const":"mcp_approval_response","description":"The type of the item. Always `mcp_approval_response`.\n","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.25.type","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the approval response\n","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.25.id","typeLabel":"string"},"approval_request_id":{"type":"string","description":"The ID of the approval request being answered.\n","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.25.approval_request_id","typeLabel":"string"},"approve":{"type":"boolean","description":"Whether the request was approved.\n","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.25.approve","typeLabel":"boolean"},"reason":{"type":"any","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.25.reason","typeLabel":"any"}},"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.25","typeLabel":"MCP approval response · object"},{"type":"object","title":"Custom tool call","description":"A call to a custom tool created by the model.\n","required":["type","call_id","name","input"],"properties":{"type":{"type":"string","enum":["custom_tool_call"],"description":"The type of the custom tool call. Always `custom_tool_call`.\n","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.26.type","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","description":"An identifier used to map this custom tool call to a tool call output.\n","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.26.call_id","typeLabel":"string"},"name":{"type":"string","description":"The name of the custom tool being called.\n","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.26.name","typeLabel":"string"},"input":{"type":"string","description":"The input for the custom tool call generated by the model.\n","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.26.input","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the custom tool call in the OpenAI platform.\n","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.26.id","typeLabel":"string"},"caller":{"type":"any","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.26.caller","typeLabel":"any"},"namespace":{"type":"string","description":"The namespace of the custom tool being called.\n","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.26.namespace","typeLabel":"string"},"async":{"type":"boolean","description":"Whether the custom tool call runs asynchronously.\n","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.26.async","typeLabel":"boolean"}},"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.26","typeLabel":"Custom tool call · object"},{"type":"object","title":"ResponseCustomToolCallOutputItem","description":"The output of a custom tool call from your code, being sent back to the model.\n","required":["id","status","type","call_id","output"],"properties":{"type":{"type":"string","enum":["custom_tool_call_output"],"description":"The type of the custom tool call output. Always `custom_tool_call_output`.\n","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.27.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the custom tool call output item.\n","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.27.id","typeLabel":"string"},"call_id":{"type":"string","description":"The call ID, used to map this custom tool call output to a custom tool call.\n","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.27.call_id","typeLabel":"string"},"output":{"type":"any","description":"The output from the custom tool call generated by your code.\nCan be a string or an list of output content.\n","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.27.output","typeLabel":"any"},"status":{"type":"string","enum":["in_progress","completed","incomplete"],"description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","isRequired":true,"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.27.status","typeLabel":"enum\u003cstring>"},"caller":{"type":"any","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.27.caller","typeLabel":"any"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.\n","uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.27.created_by","typeLabel":"string"}},"uniqueKey":"oneOf.26.response.output.items.[INDEX].oneOf.27","typeLabel":"ResponseCustomToolCallOutputItem · object"}],"uniqueKey":"oneOf.26.response.output.items.[INDEX]","typeLabel":"Output message · object · File search tool call · object · Function tool call · object · Function tool call output · object · Web search tool call · object · Computer tool call · object · Computer tool call output · object · Reasoning · object · object · object · object · object · object · Compaction item · object · Image generation call · object · Code interpreter tool call · object · Local shell call · object · Local shell call output · object · Shell tool call · object · Shell call output · object · Apply patch tool call · object · Apply patch tool call output · object · MCP tool call · object · MCP list tools · object · MCP approval request · object · MCP approval response · object · Custom tool call · object · ResponseCustomToolCallOutputItem · object"},"isRequired":true,"uniqueKey":"oneOf.26.response.output","typeLabel":"Output message · object · File search tool call · object · Function tool call · object · Function tool call output · object · Web search tool call · object · Computer tool call · object · Computer tool call output · object · Reasoning · object · object · object · object · object · object · Compaction item · object · Image generation call · object · Code interpreter tool call · object · Local shell call · object · Local shell call output · object · Shell tool call · object · Shell call output · object · Apply patch tool call · object · Apply patch tool call output · object · MCP tool call · object · MCP list tools · object · MCP approval request · object · MCP approval response · object · Custom tool call · object · ResponseCustomToolCallOutputItem · object[]"},"instructions":{"oneOf":[{"type":"string","description":"A system (or developer) message inserted into the model's context.\n\nWhen using along with `previous_response_id`, the instructions from a previous\nresponse will not be carried over to the next response. This makes it simple\nto swap out system (or developer) messages in new responses.\n","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.0","typeLabel":"string"},{"type":"array","items":{"oneOf":[{"type":"object","title":"Input message","description":"A message input to the model with a role indicating instruction following\nhierarchy. Instructions given with the `developer` or `system` role take\nprecedence over instructions given with the `user` role. Messages with the\n`assistant` role are presumed to have been generated by the model in previous\ninteractions.\n","required":["role","content"],"properties":{"role":{"type":"string","description":"The role of the message input. One of `user`, `assistant`, `system`, or\n`developer`.\n","enum":["user","assistant","system","developer"],"isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.0.role","typeLabel":"enum\u003cstring>"},"content":{"type":"any","description":"Text, image, or audio input to the model, used to generate a response.\nCan also contain previous assistant responses.\n","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.0.content","typeLabel":"any"},"phase":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.0.phase","typeLabel":"any"},"type":{"type":"string","description":"The type of the message input. Always `message`.\n","enum":["message"],"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.0","typeLabel":"Input message · object"},{"type":"object","title":"Input message","description":"A message input to the model with a role indicating instruction following\nhierarchy. Instructions given with the `developer` or `system` role take\nprecedence over instructions given with the `user` role.\n","required":["role","content"],"properties":{"role":{"type":"string","description":"The role of the message input. One of `user`, `system`, or `developer`.\n","enum":["user","system","developer"],"isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.1.role","typeLabel":"enum\u003cstring>"},"content":{"type":"array","title":"Input item content list","description":"A list of one or many input items to the model, containing different content \ntypes.\n","items":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.1.content.items.[INDEX]","typeLabel":"any"},"isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.1.content","typeLabel":"any[]"},"type":{"type":"string","description":"The type of the message input. Always set to `message`.\n","const":"message","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.1.type","typeLabel":"string"},"status":{"type":"string","description":"The status of item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.1.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.1","typeLabel":"Input message · object"},{"type":"object","title":"Output message","description":"An output message from the model.\n","required":["id","type","role","content","status"],"properties":{"id":{"type":"string","description":"The unique ID of the output message.\n","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.2.id","typeLabel":"string"},"type":{"type":"string","description":"The type of the output message. Always `message`.\n","const":"message","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.2.type","typeLabel":"string"},"role":{"type":"string","description":"The role of the output message. Always `assistant`.\n","const":"assistant","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.2.role","typeLabel":"string"},"content":{"type":"array","description":"The content of the output message.\n","items":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.2.content.items.[INDEX]","typeLabel":"any"},"isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.2.content","typeLabel":"any[]"},"status":{"type":"string","description":"The status of the message input. One of `in_progress`, `completed`, or\n`incomplete`. Populated when input items are returned via API.\n","enum":["in_progress","completed","incomplete"],"isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.2.status","typeLabel":"enum\u003cstring>"},"phase":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.2.phase","typeLabel":"any"}},"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.2","typeLabel":"Output message · object"},{"type":"object","title":"File search tool call","description":"The results of a file search tool call. See the\n[file search guide](https://developers.openai.com/api/docs/guides/tools-file-search) for more information.\n","required":["id","type","status","queries"],"properties":{"id":{"type":"string","description":"The unique ID of the file search tool call.\n","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.3.id","typeLabel":"string"},"type":{"type":"string","enum":["file_search_call"],"description":"The type of the file search tool call. Always `file_search_call`.\n","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"status":{"type":"string","description":"The status of the file search tool call. One of `in_progress`,\n`searching`, `incomplete` or `failed`,\n","enum":["in_progress","searching","completed","incomplete","failed"],"isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.3.status","typeLabel":"enum\u003cstring>"},"queries":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.3.queries.items.[INDEX]","typeLabel":"string"},"description":"The queries used to search for files.\n","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.3.queries","typeLabel":"string[]"},"results":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.3.results","typeLabel":"any"}},"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.3","typeLabel":"File search tool call · object"},{"type":"object","title":"Computer tool call","description":"A tool call to a computer use tool. See the\n[computer use guide](https://developers.openai.com/api/docs/guides/tools-computer-use) for more information.\n","required":["type","id","call_id","pending_safety_checks","status"],"properties":{"type":{"type":"string","description":"The type of the computer call. Always `computer_call`.","enum":["computer_call"],"default":"computer_call","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.4.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the computer call.","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.4.id","typeLabel":"string"},"call_id":{"type":"string","description":"An identifier used when responding to the tool call with output.\n","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.4.call_id","typeLabel":"string"},"pending_safety_checks":{"type":"array","items":{"properties":{"id":{"type":"string","description":"The ID of the pending safety check.","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.4.pending_safety_checks.items.[INDEX].id","typeLabel":"string"},"code":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.4.pending_safety_checks.items.[INDEX].code","typeLabel":"any"},"message":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.4.pending_safety_checks.items.[INDEX].message","typeLabel":"any"}},"type":"object","required":["id"],"description":"A pending safety check for the computer call.","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.4.pending_safety_checks.items.[INDEX]","typeLabel":"object"},"description":"The pending safety checks for the computer call.\n","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.4.pending_safety_checks","typeLabel":"object[]"},"status":{"type":"string","description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.4.status","typeLabel":"enum\u003cstring>"},"action":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.4.action","typeLabel":"any"},"actions":{"title":"Computer Action List","type":"array","description":"Flattened batched actions for `computer_use`. Each action includes an\n`type` discriminator and action-specific fields.\n","items":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.4.actions.items.[INDEX]","typeLabel":"any"},"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.4.actions","typeLabel":"any[]"}},"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.4","typeLabel":"Computer tool call · object"},{"type":"object","title":"Computer tool call output","description":"The output of a computer tool call.","required":["call_id","type","output"],"properties":{"call_id":{"type":"string","maxLength":64,"minLength":1,"description":"The ID of the computer tool call that produced the output.","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.5.call_id","typeLabel":"string"},"type":{"type":"string","enum":["computer_call_output"],"description":"The type of the computer tool call output. Always `computer_call_output`.","default":"computer_call_output","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.5.type","typeLabel":"enum\u003cstring>"},"output":{"type":"object","description":"A computer screenshot image used with the computer use tool.\n","properties":{"type":{"type":"string","const":"computer_screenshot","default":"computer_screenshot","description":"Specifies the event type. For a computer screenshot, this property is \nalways set to `computer_screenshot`.\n","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.5.output.type","typeLabel":"string"},"image_url":{"type":"string","format":"uri","description":"The URL of the screenshot image.","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.5.output.image_url","typeLabel":"string\u003curi>"},"file_id":{"type":"string","description":"The identifier of an uploaded file that contains the screenshot.","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.5.output.file_id","typeLabel":"string"}},"required":["type"],"isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.5.output","typeLabel":"object"},"id":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.5.id","typeLabel":"any"},"acknowledged_safety_checks":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.5.acknowledged_safety_checks","typeLabel":"any"},"status":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.5.status","typeLabel":"any"}},"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.5","typeLabel":"Computer tool call output · object"},{"type":"object","title":"Web search tool call","description":"The results of a web search tool call. See the\n[web search guide](https://developers.openai.com/api/docs/guides/tools-web-search) for more information.\n","required":["id","type","status"],"properties":{"id":{"type":"string","description":"The unique ID of the web search tool call.\n","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.6.id","typeLabel":"string"},"type":{"type":"string","const":"web_search_call","description":"The type of the web search tool call. Always `web_search_call`.\n","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.6.type","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","searching","completed","failed","incomplete"],"description":"The status of the web search tool call.\n","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.6.status","typeLabel":"enum\u003cstring>"},"action":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.6.action","typeLabel":"any"}},"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.6","typeLabel":"Web search tool call · object"},{"type":"object","title":"Function tool call","description":"A tool call to run a function. See the\n[function calling guide](https://developers.openai.com/api/docs/guides/function-calling) for more information.\n","required":["type","call_id","name","arguments"],"properties":{"type":{"type":"string","const":"function_call","description":"The type of the function tool call. Always `function_call`.\n","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.7.type","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the function tool call generated by the model.\n","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.7.call_id","typeLabel":"string"},"name":{"type":"string","description":"The name of the function to run.\n","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.7.name","typeLabel":"string"},"arguments":{"type":"string","description":"A JSON string of the arguments to pass to the function.\n","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.7.arguments","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the function tool call.\n","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.7.id","typeLabel":"string"},"caller":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.7.caller","typeLabel":"any"},"namespace":{"type":"string","description":"The namespace of the function to run.\n","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.7.namespace","typeLabel":"string"},"status":{"type":"string","description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.7.status","typeLabel":"enum\u003cstring>"},"async":{"type":"boolean","description":"Whether the function tool call runs asynchronously.\n","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.7.async","typeLabel":"boolean"}},"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.7","typeLabel":"Function tool call · object"},{"type":"object","title":"Function tool call output","description":"The output of a function tool call.","required":["type","output"],"properties":{"type":{"type":"string","enum":["function_call_output"],"description":"The type of the function tool call output. Always `function_call_output`.","default":"function_call_output","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.8.type","typeLabel":"enum\u003cstring>"},"output":{"type":"any","description":"Text, image, or file output of the function tool call.","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.8.output","typeLabel":"any"},"id":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.8.id","typeLabel":"any"},"call_id":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.8.call_id","typeLabel":"any"},"name":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.8.name","typeLabel":"any"},"namespace":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.8.namespace","typeLabel":"any"},"caller":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.8.caller","typeLabel":"any"},"status":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.8.status","typeLabel":"any"}},"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.8","typeLabel":"Function tool call output · object"},{"type":"object","title":"Item","description":"An item representing part of the context for the response to be\ngenerated by the model. Can contain text, images, and audio inputs,\nas well as previous assistant responses and tool call outputs.\n","required":["type","arguments"],"properties":{"type":{"type":"string","enum":["tool_search_call"],"description":"The item type. Always `tool_search_call`.","default":"tool_search_call","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.9.type","typeLabel":"enum\u003cstring>"},"arguments":{"properties":{},"type":"object","required":[],"description":"The arguments supplied to the tool search call.","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.9.arguments","typeLabel":"object"},"id":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.9.id","typeLabel":"any"},"call_id":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.9.call_id","typeLabel":"any"},"execution":{"type":"string","enum":["server","client"],"description":"Whether tool search was executed by the server or by the client.","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.9.execution","typeLabel":"enum\u003cstring>"},"status":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.9.status","typeLabel":"any"}},"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.9","typeLabel":"Item · object"},{"type":"object","title":"Item","description":"An item representing part of the context for the response to be\ngenerated by the model. Can contain text, images, and audio inputs,\nas well as previous assistant responses and tool call outputs.\n","required":["type","tools"],"properties":{"type":{"type":"string","enum":["tool_search_output"],"description":"The item type. Always `tool_search_output`.","default":"tool_search_output","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.10.type","typeLabel":"enum\u003cstring>"},"tools":{"items":{"type":"any","description":"A tool definition returned by a tool search output.\n","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.10.tools.items.[INDEX]","typeLabel":"any"},"type":"array","description":"The loaded tool definitions returned by the tool search output.","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.10.tools","typeLabel":"any[]"},"id":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.10.id","typeLabel":"any"},"call_id":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.10.call_id","typeLabel":"any"},"execution":{"type":"string","enum":["server","client"],"description":"Whether tool search was executed by the server or by the client.","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.10.execution","typeLabel":"enum\u003cstring>"},"status":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.10.status","typeLabel":"any"}},"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.10","typeLabel":"Item · object"},{"type":"object","title":"Item","description":"An item representing part of the context for the response to be\ngenerated by the model. Can contain text, images, and audio inputs,\nas well as previous assistant responses and tool call outputs.\n","required":["type","role","tools"],"properties":{"type":{"type":"string","enum":["additional_tools"],"description":"The item type. Always `additional_tools`.","default":"additional_tools","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.11.type","typeLabel":"enum\u003cstring>"},"role":{"type":"string","enum":["developer"],"description":"The role that provided the additional tools. Only `developer` is supported.","default":"developer","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.11.role","typeLabel":"enum\u003cstring>"},"tools":{"items":{"type":"any","description":"A tool that can be used to generate a response.\n","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.11.tools.items.[INDEX]","typeLabel":"any"},"type":"array","description":"A list of additional tools made available at this item.","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.11.tools","typeLabel":"any[]"},"id":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.11.id","typeLabel":"any"}},"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.11","typeLabel":"Item · object"},{"type":"object","title":"Item","description":"An update to the conversation's response configuration. Supply reasoning,\ntext, or both. Each setting stays in effect until a later update replaces it.\n","required":["type"],"properties":{"type":{"type":"string","const":"configuration_update","description":"The item type. Always `configuration_update`.","default":"configuration_update","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.12.type","typeLabel":"string"},"id":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.12.id","typeLabel":"any"},"reasoning":{"type":"object","description":"Updates to reasoning configuration. Only effort is supported.","properties":{"effort":{"type":"any","description":"The reasoning effort to use for subsequent responses until another\nconfiguration update replaces it.\n","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.12.reasoning.effort","typeLabel":"any"}},"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.12.reasoning","typeLabel":"object"},"text":{"type":"object","description":"The text output configuration for subsequent responses.","properties":{"format":{"type":"any","description":"Use a JSON schema for structured output or text to return to plain text.","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.12.text.format","typeLabel":"any"}},"required":["format"],"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.12.text","typeLabel":"object"}},"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.12","typeLabel":"Item · object"},{"type":"object","title":"Reasoning","description":"A description of the chain of thought used by a reasoning model while generating\na response. Be sure to include these items in your `input` to the Responses API\nfor subsequent turns of a conversation if you are manually\n[managing context](https://developers.openai.com/api/docs/guides/conversation-state).\n","required":["id","summary","type"],"properties":{"type":{"type":"string","description":"The type of the object. Always `reasoning`.\n","enum":["reasoning"],"isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.13.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique identifier of the reasoning content.\n","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.13.id","typeLabel":"string"},"summary":{"type":"array","description":"Reasoning summary content.\n","items":{"properties":{"type":{"type":"string","enum":["summary_text"],"description":"The type of the object. Always `summary_text`.","default":"summary_text","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.13.summary.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"A summary of the reasoning output from the model so far.","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.13.summary.items.[INDEX].text","typeLabel":"string"}},"type":"object","required":["type","text"],"title":"Summary text","description":"A summary text from the model.","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.13.summary.items.[INDEX]","typeLabel":"Summary text · object"},"isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.13.summary","typeLabel":"Summary text · object[]"},"encrypted_content":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.13.encrypted_content","typeLabel":"any"},"content":{"type":"array","description":"Reasoning text content.\n","items":{"properties":{"type":{"type":"string","enum":["reasoning_text"],"description":"The type of the reasoning text. Always `reasoning_text`.","default":"reasoning_text","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.13.content.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"The reasoning text from the model.","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.13.content.items.[INDEX].text","typeLabel":"string"}},"type":"object","required":["type","text"],"title":"Reasoning text","description":"Reasoning text from the model.","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.13.content.items.[INDEX]","typeLabel":"Reasoning text · object"},"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.13.content","typeLabel":"Reasoning text · object[]"},"status":{"type":"string","description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.13.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.13","typeLabel":"Reasoning · object"},{"type":"object","title":"Compaction item","description":"A compaction item generated by the [`v1/responses/compact` API](https://developers.openai.com/api/reference/resources/responses/methods/compact).","required":["type","encrypted_content"],"properties":{"type":{"type":"string","enum":["compaction"],"description":"The type of the item. Always `compaction`.","default":"compaction","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.14.type","typeLabel":"enum\u003cstring>"},"encrypted_content":{"type":"string","maxLength":104857600,"description":"The encrypted content of the compaction summary.","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.14.encrypted_content","typeLabel":"string"},"id":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.14.id","typeLabel":"any"}},"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.14","typeLabel":"Compaction item · object"},{"type":"object","title":"Image generation call","description":"An image generation request made by the model.","required":["type","id","status","result"],"properties":{"type":{"type":"string","enum":["image_generation_call"],"description":"The type of the image generation call. Always `image_generation_call`.","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.15.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the image generation call.","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.15.id","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","completed","generating","failed"],"description":"The status of the image generation call.","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.15.status","typeLabel":"enum\u003cstring>"},"result":{"type":"any","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.15.result","typeLabel":"any"},"error":{"properties":{"code":{"type":"any","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.15.error.code","typeLabel":"any"},"type":{"type":"string","description":"The error type.","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.15.error.type","typeLabel":"string"},"message":{"type":"string","description":"A description of the error.","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.15.error.message","typeLabel":"string"},"param":{"type":"any","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.15.error.param","typeLabel":"any"},"moderation_details":{"properties":{"moderation_stage":{"type":"string","enum":["input","output","unknown"],"description":"The stage where moderation blocked the image generation call.","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.15.error.moderation_details.moderation_stage","typeLabel":"enum\u003cstring>"},"categories":{"items":{"type":"string","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.15.error.moderation_details.categories.items.[INDEX]","typeLabel":"string"},"type":"array","description":"Public moderation categories. New category values may be added over time.","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.15.error.moderation_details.categories","typeLabel":"string[]"}},"type":"object","required":["moderation_stage","categories"],"description":"Public details for a `moderation_blocked` error, when available.","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.15.error.moderation_details","typeLabel":"object"}},"type":"object","required":["code","type","message","param"],"description":"Details of a moderation failure, when available.","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.15.error","typeLabel":"object"},"size":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.15.size","typeLabel":"any"},"quality":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.15.quality","typeLabel":"any"},"action":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.15.action","typeLabel":"any"},"background":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.15.background","typeLabel":"any"},"output_format":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.15.output_format","typeLabel":"any"},"svg_usage":{"properties":{"model":{"type":"string","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.15.svg_usage.model","typeLabel":"string"},"input_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.15.svg_usage.input_tokens","typeLabel":"integer"},"output_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.15.svg_usage.output_tokens","typeLabel":"integer"},"total_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.15.svg_usage.total_tokens","typeLabel":"integer"},"reasoning_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.15.svg_usage.reasoning_tokens","typeLabel":"integer"}},"type":"object","required":["model","input_tokens","output_tokens","total_tokens","reasoning_tokens"],"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.15.svg_usage","typeLabel":"object"},"revised_prompt":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.15.revised_prompt","typeLabel":"any"}},"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.15","typeLabel":"Image generation call · object"},{"type":"object","title":"Code interpreter tool call","description":"A tool call to run code.\n","required":["type","id","status","container_id","code","outputs"],"properties":{"type":{"type":"string","enum":["code_interpreter_call"],"default":"code_interpreter_call","description":"The type of the code interpreter tool call. Always `code_interpreter_call`.\n","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.16.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the code interpreter tool call.\n","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.16.id","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","completed","incomplete","interpreting","failed"],"description":"The status of the code interpreter tool call. Valid values are `in_progress`, `completed`, `incomplete`, `interpreting`, and `failed`.\n","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.16.status","typeLabel":"enum\u003cstring>"},"container_id":{"type":"string","description":"The ID of the container used to run the code.\n","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.16.container_id","typeLabel":"string"},"code":{"type":"any","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.16.code","typeLabel":"any"},"outputs":{"type":"any","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.16.outputs","typeLabel":"any"}},"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.16","typeLabel":"Code interpreter tool call · object"},{"type":"object","title":"Local shell call","description":"A tool call to run a command on the local shell.\n","required":["type","id","call_id","action","status"],"properties":{"type":{"type":"string","enum":["local_shell_call"],"description":"The type of the local shell call. Always `local_shell_call`.\n","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.17.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the local shell call.\n","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.17.id","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the local shell tool call generated by the model.\n","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.17.call_id","typeLabel":"string"},"action":{"properties":{"type":{"type":"string","enum":["exec"],"description":"The type of the local shell action. Always `exec`.","default":"exec","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.17.action.type","typeLabel":"enum\u003cstring>"},"command":{"items":{"type":"string","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.17.action.command.items.[INDEX]","typeLabel":"string"},"type":"array","description":"The command to run.","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.17.action.command","typeLabel":"string[]"},"env":{"additionalProperties":{"type":"string","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.17.action.env.additionalProperties","typeLabel":"string"},"type":"object","description":"Environment variables to set for the command.","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.17.action.env","typeLabel":"object"},"timeout_ms":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.17.action.timeout_ms","typeLabel":"any"},"working_directory":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.17.action.working_directory","typeLabel":"any"},"user":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.17.action.user","typeLabel":"any"}},"type":"object","required":["type","command","env"],"title":"Local shell exec action","description":"Execute a shell command on the server.","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.17.action","typeLabel":"Local shell exec action · object"},"status":{"type":"string","enum":["in_progress","completed","incomplete"],"description":"The status of the local shell call.\n","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.17.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.17","typeLabel":"Local shell call · object"},{"type":"object","title":"Local shell call output","description":"The output of a local shell tool call.\n","required":["id","type","call_id","output"],"properties":{"type":{"type":"string","enum":["local_shell_call_output"],"description":"The type of the local shell tool call output. Always `local_shell_call_output`.\n","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.18.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the local shell tool call generated by the model.\n","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.18.id","typeLabel":"string"},"output":{"type":"string","description":"A JSON string of the output of the local shell tool call.\n","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.18.output","typeLabel":"string"},"status":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.18.status","typeLabel":"any"}},"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.18","typeLabel":"Local shell call output · object"},{"type":"object","title":"Shell tool call","description":"A tool representing a request to execute one or more shell commands.","required":["call_id","type","action"],"properties":{"call_id":{"type":"string","maxLength":64,"minLength":1,"description":"The unique ID of the shell tool call generated by the model.","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.19.call_id","typeLabel":"string"},"type":{"type":"string","enum":["shell_call"],"description":"The type of the item. Always `shell_call`.","default":"shell_call","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.19.type","typeLabel":"enum\u003cstring>"},"action":{"properties":{"commands":{"items":{"type":"string","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.19.action.commands.items.[INDEX]","typeLabel":"string"},"type":"array","description":"Ordered shell commands for the execution environment to run.","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.19.action.commands","typeLabel":"string[]"},"timeout_ms":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.19.action.timeout_ms","typeLabel":"any"},"max_output_length":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.19.action.max_output_length","typeLabel":"any"}},"type":"object","required":["commands"],"title":"Shell action","description":"The shell commands and limits that describe how to run the tool call.","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.19.action","typeLabel":"Shell action · object"},"id":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.19.id","typeLabel":"any"},"caller":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.19.caller","typeLabel":"any"},"status":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.19.status","typeLabel":"any"},"environment":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.19.environment","typeLabel":"any"}},"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.19","typeLabel":"Shell tool call · object"},{"type":"object","title":"Shell tool call output","description":"The streamed output items emitted by a shell tool call.","required":["call_id","type","output"],"properties":{"call_id":{"type":"string","maxLength":64,"minLength":1,"description":"The unique ID of the shell tool call generated by the model.","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.20.call_id","typeLabel":"string"},"type":{"type":"string","enum":["shell_call_output"],"description":"The type of the item. Always `shell_call_output`.","default":"shell_call_output","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.20.type","typeLabel":"enum\u003cstring>"},"output":{"items":{"properties":{"stdout":{"type":"string","maxLength":10485760,"description":"Captured stdout output for the shell call.","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.20.output.items.[INDEX].stdout","typeLabel":"string"},"stderr":{"type":"string","maxLength":10485760,"description":"Captured stderr output for the shell call.","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.20.output.items.[INDEX].stderr","typeLabel":"string"},"outcome":{"type":"any","title":"Shell call outcome","description":"The exit or timeout outcome associated with this shell call.","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.20.output.items.[INDEX].outcome","typeLabel":"any"}},"type":"object","required":["stdout","stderr","outcome"],"title":"Shell output content","description":"Captured stdout and stderr for a portion of a shell tool call output.","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.20.output.items.[INDEX]","typeLabel":"Shell output content · object"},"type":"array","description":"Captured chunks of stdout and stderr output, along with their associated outcomes.","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.20.output","typeLabel":"Shell output content · object[]"},"id":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.20.id","typeLabel":"any"},"caller":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.20.caller","typeLabel":"any"},"status":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.20.status","typeLabel":"any"},"max_output_length":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.20.max_output_length","typeLabel":"any"}},"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.20","typeLabel":"Shell tool call output · object"},{"type":"object","title":"Apply patch tool call","description":"A tool call representing a request to create, delete, or update files using diff patches.","required":["type","call_id","status","operation"],"properties":{"type":{"type":"string","enum":["apply_patch_call"],"description":"The type of the item. Always `apply_patch_call`.","default":"apply_patch_call","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.21.type","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","maxLength":64,"minLength":1,"description":"The unique ID of the apply patch tool call generated by the model.","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.21.call_id","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","completed"],"title":"Apply patch call status","description":"The status of the apply patch tool call. One of `in_progress` or `completed`.","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.21.status","typeLabel":"enum\u003cstring>"},"operation":{"type":"any","title":"Apply patch operation","description":"The specific create, delete, or update instruction for the apply_patch tool call.","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.21.operation","typeLabel":"any"},"id":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.21.id","typeLabel":"any"},"caller":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.21.caller","typeLabel":"any"}},"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.21","typeLabel":"Apply patch tool call · object"},{"type":"object","title":"Apply patch tool call output","description":"The streamed output emitted by an apply patch tool call.","required":["type","call_id","status"],"properties":{"type":{"type":"string","enum":["apply_patch_call_output"],"description":"The type of the item. Always `apply_patch_call_output`.","default":"apply_patch_call_output","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.22.type","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","maxLength":64,"minLength":1,"description":"The unique ID of the apply patch tool call generated by the model.","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.22.call_id","typeLabel":"string"},"status":{"type":"string","enum":["completed","failed"],"title":"Apply patch call output status","description":"The status of the apply patch tool call output. One of `completed` or `failed`.","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.22.status","typeLabel":"enum\u003cstring>"},"id":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.22.id","typeLabel":"any"},"caller":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.22.caller","typeLabel":"any"},"output":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.22.output","typeLabel":"any"}},"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.22","typeLabel":"Apply patch tool call output · object"},{"type":"object","title":"MCP list tools","description":"A list of tools available on an MCP server.\n","required":["type","id","server_label","tools"],"properties":{"type":{"type":"string","const":"mcp_list_tools","description":"The type of the item. Always `mcp_list_tools`.\n","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.23.type","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the list.\n","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.23.id","typeLabel":"string"},"server_label":{"type":"string","description":"The label of the MCP server.\n","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.23.server_label","typeLabel":"string"},"tools":{"type":"array","items":{"type":"object","title":"MCP list tools tool","description":"A tool available on an MCP server.\n","properties":{"name":{"type":"string","description":"The name of the tool.\n","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.23.tools.items.[INDEX].name","typeLabel":"string"},"input_schema":{"type":"object","description":"The JSON schema describing the tool's input.\n","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.23.tools.items.[INDEX].input_schema","typeLabel":"object"},"description":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.23.tools.items.[INDEX].description","typeLabel":"any"},"annotations":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.23.tools.items.[INDEX].annotations","typeLabel":"any"}},"required":["name","input_schema"],"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.23.tools.items.[INDEX]","typeLabel":"MCP list tools tool · object"},"description":"The tools available on the server.\n","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.23.tools","typeLabel":"MCP list tools tool · object[]"},"error":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.23.error","typeLabel":"any"}},"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.23","typeLabel":"MCP list tools · object"},{"type":"object","title":"MCP approval request","description":"A request for human approval of a tool invocation.\n","required":["type","id","server_label","name","arguments"],"properties":{"type":{"type":"string","const":"mcp_approval_request","description":"The type of the item. Always `mcp_approval_request`.\n","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.24.type","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the approval request.\n","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.24.id","typeLabel":"string"},"server_label":{"type":"string","description":"The label of the MCP server making the request.\n","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.24.server_label","typeLabel":"string"},"name":{"type":"string","description":"The name of the tool to run.\n","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.24.name","typeLabel":"string"},"arguments":{"type":"string","description":"A JSON string of arguments for the tool.\n","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.24.arguments","typeLabel":"string"}},"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.24","typeLabel":"MCP approval request · object"},{"type":"object","title":"MCP approval response","description":"A response to an MCP approval request.\n","required":["type","request_id","approve","approval_request_id"],"properties":{"type":{"type":"string","const":"mcp_approval_response","description":"The type of the item. Always `mcp_approval_response`.\n","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.25.type","typeLabel":"string"},"approval_request_id":{"type":"string","description":"The ID of the approval request being answered.\n","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.25.approval_request_id","typeLabel":"string"},"approve":{"type":"boolean","description":"Whether the request was approved.\n","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.25.approve","typeLabel":"boolean"},"id":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.25.id","typeLabel":"any"},"reason":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.25.reason","typeLabel":"any"}},"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.25","typeLabel":"MCP approval response · object"},{"type":"object","title":"MCP tool call","description":"An invocation of a tool on an MCP server.\n","required":["type","id","server_label","name","arguments"],"properties":{"type":{"type":"string","const":"mcp_call","description":"The type of the item. Always `mcp_call`.\n","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.26.type","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the tool call.\n","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.26.id","typeLabel":"string"},"server_label":{"type":"string","description":"The label of the MCP server running the tool.\n","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.26.server_label","typeLabel":"string"},"name":{"type":"string","description":"The name of the tool that was run.\n","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.26.name","typeLabel":"string"},"arguments":{"type":"string","description":"A JSON string of the arguments passed to the tool.\n","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.26.arguments","typeLabel":"string"},"output":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.26.output","typeLabel":"any"},"error":{"type":"any","description":"The error from the tool call, if any.","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.26.error","typeLabel":"any"},"status":{"type":"string","enum":["in_progress","completed","incomplete","calling","failed"],"description":"The status of the tool call. One of `in_progress`, `completed`, `incomplete`, `calling`, or `failed`.\n","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.26.status","typeLabel":"enum\u003cstring>"},"approval_request_id":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.26.approval_request_id","typeLabel":"any"}},"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.26","typeLabel":"MCP tool call · object"},{"type":"object","title":"Custom tool call output","description":"The output of a custom tool call from your code, being sent back to the model.\n","required":["type","call_id","output"],"properties":{"type":{"type":"string","enum":["custom_tool_call_output"],"description":"The type of the custom tool call output. Always `custom_tool_call_output`.\n","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.27.type","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","description":"The call ID, used to map this custom tool call output to a custom tool call.\n","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.27.call_id","typeLabel":"string"},"output":{"type":"any","description":"The output from the custom tool call generated by your code.\nCan be a string or an list of output content.\n","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.27.output","typeLabel":"any"},"id":{"type":"string","description":"The unique ID of the custom tool call output in the OpenAI platform.\n","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.27.id","typeLabel":"string"},"caller":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.27.caller","typeLabel":"any"}},"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.27","typeLabel":"Custom tool call output · object"},{"type":"object","title":"Custom tool call","description":"A call to a custom tool created by the model.\n","required":["type","call_id","name","input"],"properties":{"type":{"type":"string","enum":["custom_tool_call"],"description":"The type of the custom tool call. Always `custom_tool_call`.\n","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.28.type","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","description":"An identifier used to map this custom tool call to a tool call output.\n","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.28.call_id","typeLabel":"string"},"name":{"type":"string","description":"The name of the custom tool being called.\n","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.28.name","typeLabel":"string"},"input":{"type":"string","description":"The input for the custom tool call generated by the model.\n","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.28.input","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the custom tool call in the OpenAI platform.\n","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.28.id","typeLabel":"string"},"caller":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.28.caller","typeLabel":"any"},"namespace":{"type":"string","description":"The namespace of the custom tool being called.\n","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.28.namespace","typeLabel":"string"},"async":{"type":"boolean","description":"Whether the custom tool call runs asynchronously.\n","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.28.async","typeLabel":"boolean"}},"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.28","typeLabel":"Custom tool call · object"},{"type":"object","title":"Compaction trigger","description":"Compacts the current context. Must be the final input item.","required":["type"],"properties":{"type":{"type":"string","enum":["compaction_trigger"],"description":"The type of the item. Always `compaction_trigger`.","default":"compaction_trigger","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.29.type","typeLabel":"enum\u003cstring>"},"id":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.29.id","typeLabel":"any"}},"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.29","typeLabel":"Compaction trigger · object"},{"type":"object","title":"Item reference","description":"An internal identifier for an item to reference.","required":["id"],"properties":{"id":{"type":"string","description":"The ID of the item to reference.","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.30.id","typeLabel":"string"},"type":{"type":"any","uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.30.type","typeLabel":"any"}},"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.30","typeLabel":"Item reference · object"},{"type":"object","required":["id","type","call_id","code","fingerprint"],"properties":{"id":{"type":"string","description":"The unique ID of this program item.","example":"cm_123","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.31.id","typeLabel":"string"},"type":{"type":"string","enum":["program"],"description":"The item type. Always `program`.","default":"program","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.31.type","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","maxLength":64,"minLength":1,"description":"The stable call ID of the program item.","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.31.call_id","typeLabel":"string"},"code":{"type":"string","maxLength":10485760,"description":"The JavaScript source executed by programmatic tool calling.","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.31.code","typeLabel":"string"},"fingerprint":{"type":"string","maxLength":10485760,"description":"Opaque program replay fingerprint that must be round-tripped.","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.31.fingerprint","typeLabel":"string"}},"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.31","typeLabel":"object"},{"type":"object","required":["id","type","call_id","result","status"],"properties":{"id":{"type":"string","description":"The unique ID of this program output item.","example":"cmo_123","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.32.id","typeLabel":"string"},"type":{"type":"string","enum":["program_output"],"description":"The item type. Always `program_output`.","default":"program_output","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.32.type","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","maxLength":64,"minLength":1,"description":"The call ID of the program item.","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.32.call_id","typeLabel":"string"},"result":{"type":"string","maxLength":10485760,"description":"The result produced by the program item.","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.32.result","typeLabel":"string"},"status":{"type":"string","enum":["completed","incomplete"],"description":"The terminal status of the program output.","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.32.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX].oneOf.32","typeLabel":"object"}],"uniqueKey":"oneOf.26.response.instructions.oneOf.1.items.[INDEX]","typeLabel":"Input message · object · Input message · object · Output message · object · File search tool call · object · Computer tool call · object · Computer tool call output · object · Web search tool call · object · Function tool call · object · Function tool call output · object · Item · object · Item · object · Item · object · Item · object · Reasoning · object · Compaction item · object · Image generation call · object · Code interpreter tool call · object · Local shell call · object · Local shell call output · object · Shell tool call · object · Shell tool call output · object · Apply patch tool call · object · Apply patch tool call output · object · MCP list tools · object · MCP approval request · object · MCP approval response · object · MCP tool call · object · Custom tool call output · object · Custom tool call · object · Compaction trigger · object · Item reference · object · object · object"},"title":"Input item list","description":"A system (or developer) message inserted into the model's context.\n\nWhen using along with `previous_response_id`, the instructions from a previous\nresponse will not be carried over to the next response. This makes it simple\nto swap out system (or developer) messages in new responses.\n","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.1","typeLabel":"Input message · object · Input message · object · Output message · object · File search tool call · object · Computer tool call · object · Computer tool call output · object · Web search tool call · object · Function tool call · object · Function tool call output · object · Item · object · Item · object · Item · object · Item · object · Reasoning · object · Compaction item · object · Image generation call · object · Code interpreter tool call · object · Local shell call · object · Local shell call output · object · Shell tool call · object · Shell tool call output · object · Apply patch tool call · object · Apply patch tool call output · object · MCP list tools · object · MCP approval request · object · MCP approval response · object · MCP tool call · object · Custom tool call output · object · Custom tool call · object · Compaction trigger · object · Item reference · object · object · object[]"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.26.response.instructions.oneOf.2","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.26.response.instructions","typeLabel":"string | Input message · object · Input message · object · Output message · object · File search tool call · object · Computer tool call · object · Computer tool call output · object · Web search tool call · object · Function tool call · object · Function tool call output · object · Item · object · Item · object · Item · object · Item · object · Reasoning · object · Compaction item · object · Image generation call · object · Code interpreter tool call · object · Local shell call · object · Local shell call output · object · Shell tool call · object · Shell tool call output · object · Apply patch tool call · object · Apply patch tool call output · object · MCP list tools · object · MCP approval request · object · MCP approval response · object · MCP tool call · object · Custom tool call output · object · Custom tool call · object · Compaction trigger · object · Item reference · object · object · object[] | null"},"parallel_tool_calls":{"type":"boolean","description":"Whether to allow the model to run tool calls in parallel.\n","default":true,"isRequired":true,"uniqueKey":"oneOf.26.response.parallel_tool_calls","typeLabel":"boolean"},"top_logprobs":{"oneOf":[{"type":"integer","description":"An integer between 0 and 20 specifying the maximum number of most likely\ntokens to return at each token position, each with an associated log\nprobability. In some cases, the number of returned tokens may be fewer than\nrequested.\n","maximum":20,"minimum":0,"uniqueKey":"oneOf.26.response.top_logprobs.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"oneOf.26.response.top_logprobs.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.26.response.top_logprobs","typeLabel":"integer | null"},"user":{"oneOf":[{"type":"string","example":"user-1234","deprecated":true,"description":"This field is being replaced by `safety_identifier` and `prompt_cache_key`. Use `prompt_cache_key` instead to maintain caching optimizations.\nA stable identifier for your end-users.\nUsed to boost cache hit rates by better bucketing similar requests and to help OpenAI detect and prevent abuse. [Learn more](https://developers.openai.com/api/docs/guides/safety-best-practices#implement-safety-identifiers).\n","uniqueKey":"oneOf.26.response.user.oneOf.0","typeLabel":"string"},{"type":"null","example":"user-1234","deprecated":true,"description":"This field is being replaced by `safety_identifier` and `prompt_cache_key`. Use `prompt_cache_key` instead to maintain caching optimizations.\nA stable identifier for your end-users.\nUsed to boost cache hit rates by better bucketing similar requests and to help OpenAI detect and prevent abuse. [Learn more](https://developers.openai.com/api/docs/guides/safety-best-practices#implement-safety-identifiers).\n","uniqueKey":"oneOf.26.response.user.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.26.response.user","typeLabel":"string | null"},"safety_identifier":{"oneOf":[{"type":"string","description":"A stable identifier used to help detect users of your application that may be violating OpenAI's usage policies.\nThe IDs should be a string that uniquely identifies each user, with a maximum length of 128 characters. We recommend hashing their username or email address, in order to avoid sending us any identifying information. [Learn more](https://developers.openai.com/api/docs/guides/safety-best-practices#implement-safety-identifiers).\n","maxLength":128,"example":"safety-identifier-1234","uniqueKey":"oneOf.26.response.safety_identifier.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.26.response.safety_identifier.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.26.response.safety_identifier","typeLabel":"string | null"},"prompt_cache_key":{"oneOf":[{"type":"string","description":"Used by OpenAI to cache responses for similar requests to optimize your cache hit rates. Replaces the `user` field. [Learn more](https://developers.openai.com/api/docs/guides/prompt-caching).\n","example":"prompt-cache-key-1234","uniqueKey":"oneOf.26.response.prompt_cache_key.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.26.response.prompt_cache_key.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.26.response.prompt_cache_key","typeLabel":"string | null"},"prompt_cache_retention":{"oneOf":[{"type":"string","description":"Deprecated. Use `prompt_cache_options.ttl` instead.\n\nThe retention policy for the prompt cache. Set to `24h` to enable extended prompt caching, which keeps cached prefixes active for longer, up to a maximum of 24 hours. [Learn more](https://developers.openai.com/api/docs/guides/prompt-caching#prompt-cache-retention).\nThis field expresses a maximum retention policy, while\n`prompt_cache_options.ttl` expresses a minimum cache lifetime. The two\nfields are independent and do not interact.\nFor `gpt-5.5`, `gpt-5.5-pro`, and future models, only `24h` is supported.\n\nFor older models that support both `in_memory` and `24h`, the default depends on your organization's data retention policy:\n - Organizations without ZDR enabled default to `24h`.\n - Organizations with ZDR enabled default to `in_memory` when `prompt_cache_retention` is not specified.\n","enum":["in_memory","24h"],"deprecated":true,"uniqueKey":"oneOf.26.response.prompt_cache_retention.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","deprecated":true,"uniqueKey":"oneOf.26.response.prompt_cache_retention.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.26.response.prompt_cache_retention","typeLabel":"enum\u003cstring> | null"},"previous_response_id":{"oneOf":[{"type":"string","description":"The unique ID of the previous response to the model. Use this to\ncreate multi-turn conversations. Learn more about\n[conversation state](https://developers.openai.com/api/docs/guides/conversation-state). Cannot be used in conjunction with `conversation`.\n","uniqueKey":"oneOf.26.response.previous_response_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.26.response.previous_response_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.26.response.previous_response_id","typeLabel":"string | null"},"background":{"oneOf":[{"type":"boolean","description":"Whether to run the model response in the background.\n[Learn more](https://developers.openai.com/api/docs/guides/background).\n","default":false,"uniqueKey":"oneOf.26.response.background.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"oneOf.26.response.background.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.26.response.background","typeLabel":"boolean | null"},"max_tool_calls":{"oneOf":[{"type":"integer","description":"The maximum number of total calls to built-in tools that can be processed in a response. This maximum number applies across all built-in tool calls, not per individual tool. Any further attempts to call a tool by the model will be ignored.\n","uniqueKey":"oneOf.26.response.max_tool_calls.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"oneOf.26.response.max_tool_calls.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.26.response.max_tool_calls","typeLabel":"integer | null"},"text":{"type":"object","description":"Configuration options for a text response from the model. Can be plain\ntext or structured JSON data. Learn more:\n- [Text inputs and outputs](https://developers.openai.com/api/docs/guides/text)\n- [Structured Outputs](https://developers.openai.com/api/docs/guides/structured-outputs)\n","properties":{"format":{"oneOf":[{"type":"object","title":"Text","description":"An object specifying the format that the model must output.\n\nConfiguring `{ \"type\": \"json_schema\" }` enables Structured Outputs,\nwhich ensures the model will match your supplied JSON schema. Learn more in the\n[Structured Outputs guide](https://developers.openai.com/api/docs/guides/structured-outputs).\n\nThe default format is `{ \"type\": \"text\" }` with no additional options.\n\n**Not recommended for gpt-4o and newer models:**\n\nSetting to `{ \"type\": \"json_object\" }` enables the older JSON mode, which\nensures the message the model generates is valid JSON. Using `json_schema`\nis preferred for models that support it.\n","required":["type"],"properties":{"type":{"type":"string","description":"The type of response format being defined. Always `text`.","const":"text","isRequired":true,"uniqueKey":"oneOf.26.response.text.format.oneOf.0.type","typeLabel":"string"}},"uniqueKey":"oneOf.26.response.text.format.oneOf.0","typeLabel":"Text · object"},{"type":"object","title":"JSON schema","description":"An object specifying the format that the model must output.\n\nConfiguring `{ \"type\": \"json_schema\" }` enables Structured Outputs,\nwhich ensures the model will match your supplied JSON schema. Learn more in the\n[Structured Outputs guide](https://developers.openai.com/api/docs/guides/structured-outputs).\n\nThe default format is `{ \"type\": \"text\" }` with no additional options.\n\n**Not recommended for gpt-4o and newer models:**\n\nSetting to `{ \"type\": \"json_object\" }` enables the older JSON mode, which\nensures the message the model generates is valid JSON. Using `json_schema`\nis preferred for models that support it.\n","required":["type","schema","name"],"properties":{"type":{"type":"string","description":"The type of response format being defined. Always `json_schema`.","enum":["json_schema"],"isRequired":true,"uniqueKey":"oneOf.26.response.text.format.oneOf.1.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"The name of the response format. Must be a-z, A-Z, 0-9, or contain\nunderscores and dashes, with a maximum length of 64.\n","isRequired":true,"uniqueKey":"oneOf.26.response.text.format.oneOf.1.name","typeLabel":"string"},"schema":{"type":"object","title":"JSON schema","description":"The schema for the response format, described as a JSON Schema object.\nLearn how to build JSON schemas [here](https://json-schema.org/).\n","additionalProperties":true,"isRequired":true,"uniqueKey":"oneOf.26.response.text.format.oneOf.1.schema","typeLabel":"JSON schema · object"},"description":{"type":"string","description":"A description of what the response format is for, used by the model to\ndetermine how to respond in the format.\n","uniqueKey":"oneOf.26.response.text.format.oneOf.1.description","typeLabel":"string"},"strict":{"oneOf":[{"type":"boolean","description":"Whether to enable strict schema adherence when generating the output.\nIf set to true, the model will always follow the exact schema defined\nin the `schema` field. Only a subset of JSON Schema is supported when\n`strict` is `true`. To learn more, read the [Structured Outputs\nguide](https://developers.openai.com/api/docs/guides/structured-outputs).\n","default":false,"uniqueKey":"oneOf.26.response.text.format.oneOf.1.strict.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"oneOf.26.response.text.format.oneOf.1.strict.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.26.response.text.format.oneOf.1.strict","typeLabel":"boolean | null"}},"uniqueKey":"oneOf.26.response.text.format.oneOf.1","typeLabel":"JSON schema · object"},{"type":"object","title":"JSON object","description":"An object specifying the format that the model must output.\n\nConfiguring `{ \"type\": \"json_schema\" }` enables Structured Outputs,\nwhich ensures the model will match your supplied JSON schema. Learn more in the\n[Structured Outputs guide](https://developers.openai.com/api/docs/guides/structured-outputs).\n\nThe default format is `{ \"type\": \"text\" }` with no additional options.\n\n**Not recommended for gpt-4o and newer models:**\n\nSetting to `{ \"type\": \"json_object\" }` enables the older JSON mode, which\nensures the message the model generates is valid JSON. Using `json_schema`\nis preferred for models that support it.\n","required":["type"],"properties":{"type":{"type":"string","description":"The type of response format being defined. Always `json_object`.","const":"json_object","isRequired":true,"uniqueKey":"oneOf.26.response.text.format.oneOf.2.type","typeLabel":"string"}},"uniqueKey":"oneOf.26.response.text.format.oneOf.2","typeLabel":"JSON object · object"}],"uniqueKey":"oneOf.26.response.text.format","typeLabel":"Text · object | JSON schema · object | JSON object · object"},"verbosity":{"oneOf":[{"type":"string","description":"Constrains the verbosity of the model's response. Lower values will result in\nmore concise responses, while higher values will result in more verbose responses.\nCurrently supported values are `low`, `medium`, and `high`. The default is\n`medium`.\n","default":"medium","enum":["low","medium","high"],"uniqueKey":"oneOf.26.response.text.verbosity.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"oneOf.26.response.text.verbosity.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.26.response.text.verbosity","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"oneOf.26.response.text","typeLabel":"object"},"prompt":{"oneOf":[{"type":"object","description":"Reference to a prompt template and its variables.\n[Learn more](https://developers.openai.com/api/docs/guides/text?api-mode=responses#version-prompts-in-code).\n","required":["id"],"properties":{"id":{"type":"string","description":"The unique identifier of the prompt template to use.","isRequired":true,"uniqueKey":"oneOf.26.response.prompt.oneOf.0.id","typeLabel":"string"},"version":{"oneOf":[{"type":"string","description":"Optional version of the prompt template.","uniqueKey":"oneOf.26.response.prompt.oneOf.0.version.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.26.response.prompt.oneOf.0.version.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.26.response.prompt.oneOf.0.version","typeLabel":"string | null"},"variables":{"oneOf":[{"type":"object","title":"Prompt Variables","description":"Optional map of values to substitute in for variables in your\nprompt. The substitution values can either be strings, or other\nResponse input types like images or files.\n","additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"oneOf.26.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"object","title":"Input text","description":"A text input to the model.","required":["type","text"],"properties":{"type":{"type":"string","enum":["input_text"],"description":"The type of the input item. Always `input_text`.","default":"input_text","isRequired":true,"uniqueKey":"oneOf.26.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.1.type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"The text input to the model.","isRequired":true,"uniqueKey":"oneOf.26.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.1.text","typeLabel":"string"},"prompt_cache_breakpoint":{"properties":{"mode":{"type":"string","enum":["explicit"],"description":"The breakpoint mode. Always `explicit`.","default":"explicit","isRequired":true,"uniqueKey":"oneOf.26.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.1.prompt_cache_breakpoint.mode","typeLabel":"enum\u003cstring>"},"ttl":{"type":"string","enum":["30m","12h"],"description":"The minimum lifetime of this cache breakpoint. Defaults to the request TTL.","uniqueKey":"oneOf.26.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.1.prompt_cache_breakpoint.ttl","typeLabel":"enum\u003cstring>"}},"type":"object","required":["mode"],"title":"Prompt cache breakpoint","description":"Marks the exact end of a reusable prompt prefix. When `ttl` is omitted, the breakpoint inherits the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block.","uniqueKey":"oneOf.26.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.1.prompt_cache_breakpoint","typeLabel":"Prompt cache breakpoint · object"}},"uniqueKey":"oneOf.26.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.1","typeLabel":"Input text · object"},{"type":"object","title":"Input image","description":"An image input to the model. Learn about [image inputs](https://developers.openai.com/api/docs/guides/images-vision).","required":["type","detail"],"properties":{"type":{"type":"string","enum":["input_image"],"description":"The type of the input item. Always `input_image`.","default":"input_image","isRequired":true,"uniqueKey":"oneOf.26.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2.type","typeLabel":"enum\u003cstring>"},"detail":{"type":"string","enum":["low","high","auto","original"],"description":"The detail level of the image to be sent to the model. One of `high`, `low`, `auto`, or `original`. Defaults to `auto`.","isRequired":true,"uniqueKey":"oneOf.26.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2.detail","typeLabel":"enum\u003cstring>"},"image_url":{"type":"any","uniqueKey":"oneOf.26.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2.image_url","typeLabel":"any"},"file_id":{"type":"any","uniqueKey":"oneOf.26.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2.file_id","typeLabel":"any"},"prompt_cache_breakpoint":{"properties":{"mode":{"type":"string","enum":["explicit"],"description":"The breakpoint mode. Always `explicit`.","default":"explicit","isRequired":true,"uniqueKey":"oneOf.26.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2.prompt_cache_breakpoint.mode","typeLabel":"enum\u003cstring>"},"ttl":{"type":"string","enum":["30m","12h"],"description":"The minimum lifetime of this cache breakpoint. Defaults to the request TTL.","uniqueKey":"oneOf.26.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2.prompt_cache_breakpoint.ttl","typeLabel":"enum\u003cstring>"}},"type":"object","required":["mode"],"title":"Prompt cache breakpoint","description":"Marks the exact end of a reusable prompt prefix. When `ttl` is omitted, the breakpoint inherits the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block.","uniqueKey":"oneOf.26.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2.prompt_cache_breakpoint","typeLabel":"Prompt cache breakpoint · object"}},"uniqueKey":"oneOf.26.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2","typeLabel":"Input image · object"},{"type":"object","title":"Input file","description":"A file input to the model.","required":["type"],"properties":{"type":{"type":"string","enum":["input_file"],"description":"The type of the input item. Always `input_file`.","default":"input_file","isRequired":true,"uniqueKey":"oneOf.26.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.type","typeLabel":"enum\u003cstring>"},"file_id":{"type":"any","uniqueKey":"oneOf.26.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.file_id","typeLabel":"any"},"filename":{"type":"string","description":"The name of the file to be sent to the model.","uniqueKey":"oneOf.26.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.filename","typeLabel":"string"},"file_data":{"type":"string","description":"The content of the file to be sent to the model.\n","uniqueKey":"oneOf.26.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.file_data","typeLabel":"string"},"prompt_cache_breakpoint":{"properties":{"mode":{"type":"string","enum":["explicit"],"description":"The breakpoint mode. Always `explicit`.","default":"explicit","isRequired":true,"uniqueKey":"oneOf.26.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.prompt_cache_breakpoint.mode","typeLabel":"enum\u003cstring>"},"ttl":{"type":"string","enum":["30m","12h"],"description":"The minimum lifetime of this cache breakpoint. Defaults to the request TTL.","uniqueKey":"oneOf.26.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.prompt_cache_breakpoint.ttl","typeLabel":"enum\u003cstring>"}},"type":"object","required":["mode"],"title":"Prompt cache breakpoint","description":"Marks the exact end of a reusable prompt prefix. When `ttl` is omitted, the breakpoint inherits the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block.","uniqueKey":"oneOf.26.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.prompt_cache_breakpoint","typeLabel":"Prompt cache breakpoint · object"},"file_url":{"type":"string","format":"uri","description":"The URL of the file to be sent to the model.","uniqueKey":"oneOf.26.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.file_url","typeLabel":"string\u003curi>"},"detail":{"type":"string","enum":["auto","low","high"],"description":"The detail level of the file to be sent to the model. Use `auto` to let the system select the detail level; for GPT-5.6 and later models, `auto` uses high-quality rendering, which may increase input token usage. Use `low` for lower-cost rendering, or `high` to render the file at higher quality. Defaults to `auto`.","uniqueKey":"oneOf.26.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.detail","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.26.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3","typeLabel":"Input file · object"}],"uniqueKey":"oneOf.26.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties","typeLabel":"string | Input text · object | Input image · object | Input file · object"},"uniqueKey":"oneOf.26.response.prompt.oneOf.0.variables.oneOf.0","typeLabel":"Prompt Variables · object"},{"type":"null","uniqueKey":"oneOf.26.response.prompt.oneOf.0.variables.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.26.response.prompt.oneOf.0.variables","typeLabel":"Prompt Variables · object | null"}},"uniqueKey":"oneOf.26.response.prompt.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"oneOf.26.response.prompt.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.26.response.prompt","typeLabel":"object | null"},"image":{"properties":{"context_compression":{"type":"string","enum":["enabled","disabled"],"description":"Effective image context optimization policy.","isRequired":true,"uniqueKey":"oneOf.26.response.image.context_compression","typeLabel":"enum\u003cstring>"}},"type":"object","required":["context_compression"],"uniqueKey":"oneOf.26.response.image","typeLabel":"object"},"service_tier":{"oneOf":[{"type":"string","description":"Specifies the processing type used for serving the request.\n - If set to 'auto', then the request will be processed with the service tier configured in the Project settings. Unless otherwise configured, the Project will use 'default'.\n - If set to 'default', then the request will be processed with the standard pricing and performance for the selected model.\n - If set to '[flex](https://developers.openai.com/api/docs/guides/flex-processing)', then the request will be processed with the Flex Processing service tier.\n - To opt-in to [Fast mode](https://developers.openai.com/api/docs/guides/fast-mode) at the request level, include the `service_tier=fast` or `service_tier=priority` parameter for Responses or Chat Completions. The response will show `service_tier=priority` regardless of if you specify `service_tier=fast` or `priority` in your request.\n - If set to 'ultrafast', then the request will be processed with the access-controlled Ultrafast Processing service tier. This tier is currently available for `gpt-5.6-sol`; a response served through it will show `service_tier=ultrafast`.\n - When not set, the default behavior is 'auto'.\n\n When the `service_tier` parameter is set, the response body will include the `service_tier` value based on the processing mode actually used to serve the request. This response value may be different from the value set in the parameter.\n","default":"auto","enum":["auto","default","flex","scale","priority","fast","ultrafast"],"uniqueKey":"oneOf.26.response.service_tier.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"oneOf.26.response.service_tier.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.26.response.service_tier","typeLabel":"enum\u003cstring> | null"},"truncation":{"oneOf":[{"type":"string","description":"The truncation strategy to use for the model response.\n- `auto`: If the input to this Response exceeds\n the model's context window size, the model will truncate the\n response to fit the context window by dropping items from the beginning of the conversation.\n On some models, trimming can begin earlier because the API subtracts the model's\n maximum output allowance from its input limit, even if you set a lower `max_output_tokens`.\n- `disabled` (default): If the input size will exceed the context window\n size for a model, the request will fail with a 400 error.\n","default":"disabled","enum":["auto","disabled"],"uniqueKey":"oneOf.26.response.truncation.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"oneOf.26.response.truncation.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.26.response.truncation","typeLabel":"enum\u003cstring> | null"},"status":{"type":"string","description":"The status of the response generation. One of `completed`, `failed`,\n`in_progress`, `cancelled`, `queued`, or `incomplete`.\n","enum":["completed","failed","in_progress","cancelled","queued","incomplete"],"uniqueKey":"oneOf.26.response.status","typeLabel":"enum\u003cstring>"},"completed_at":{"oneOf":[{"type":"number","description":"Unix timestamp (in seconds) of when this Response was completed.\nOnly present when the status is `completed`.\n","format":"unixtime","uniqueKey":"oneOf.26.response.completed_at.oneOf.0","typeLabel":"number\u003cunixtime>"},{"type":"null","uniqueKey":"oneOf.26.response.completed_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.26.response.completed_at","typeLabel":"number\u003cunixtime> | null"},"input_transformations":{"type":"array","description":"Reasoning inputs withheld from the model, in input order.","items":{"properties":{"type":{"type":"string","enum":["reasoning"],"default":"reasoning","isRequired":true,"uniqueKey":"oneOf.26.response.input_transformations.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The original reasoning item ID.","isRequired":true,"uniqueKey":"oneOf.26.response.input_transformations.items.[INDEX].id","typeLabel":"string"},"action":{"type":"string","enum":["removed"],"default":"removed","isRequired":true,"uniqueKey":"oneOf.26.response.input_transformations.items.[INDEX].action","typeLabel":"enum\u003cstring>"},"reason":{"type":"string","enum":["organization_mismatch","end_user_mismatch","model_mismatch","prefix_mismatch","turn_boundary"],"isRequired":true,"uniqueKey":"oneOf.26.response.input_transformations.items.[INDEX].reason","typeLabel":"enum\u003cstring>"}},"type":"object","required":["type","id","action","reason"],"uniqueKey":"oneOf.26.response.input_transformations.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.26.response.input_transformations","typeLabel":"object[]"},"reasoning":{"oneOf":[{"type":"object","title":"Reasoning","description":"Configuration options for\n[reasoning models](https://developers.openai.com/api/docs/guides/reasoning).\n","properties":{"mode":{"oneOf":[{"type":"string","description":"Controls the reasoning execution mode for the request.\n\nWhen returned on a response, this is the effective execution mode.\n","uniqueKey":"oneOf.26.response.reasoning.oneOf.0.mode.oneOf.0","typeLabel":"string"},{"type":"string","description":"Controls the reasoning execution mode for the request.\n\nWhen returned on a response, this is the effective execution mode.\n","enum":["standard","pro"],"uniqueKey":"oneOf.26.response.reasoning.oneOf.0.mode.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"oneOf.26.response.reasoning.oneOf.0.mode","typeLabel":"string | enum\u003cstring>"},"effort":{"oneOf":[{"type":"string","description":"Constrains effort on reasoning for reasoning models. Currently supported\nvalues are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`.\nReducing reasoning effort can result in faster responses and fewer tokens\nused on reasoning in a response. Not all reasoning models support every\nvalue. See the\n[reasoning guide](https://developers.openai.com/api/docs/guides/reasoning)\nfor model-specific support.\n","default":"medium","enum":["none","minimal","low","medium","high","xhigh","max"],"uniqueKey":"oneOf.26.response.reasoning.oneOf.0.effort.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"oneOf.26.response.reasoning.oneOf.0.effort.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.26.response.reasoning.oneOf.0.effort","typeLabel":"enum\u003cstring> | null"},"summary":{"oneOf":[{"type":"string","description":"A summary of the reasoning performed by the model. This can be\nuseful for debugging and understanding the model's reasoning process.\nOne of `auto`, `concise`, or `detailed`.\n\n`concise` is supported for `computer-use-preview` models and all reasoning models after `gpt-5`.\n","enum":["auto","concise","detailed"],"uniqueKey":"oneOf.26.response.reasoning.oneOf.0.summary.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"oneOf.26.response.reasoning.oneOf.0.summary.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.26.response.reasoning.oneOf.0.summary","typeLabel":"enum\u003cstring> | null"},"context":{"oneOf":[{"type":"string","description":"Controls which reasoning items are rendered back to the model on later turns.\nIf omitted or set to `auto`, the model determines the context mode. The\n`gpt-5.6` model family defaults to `all_turns`; earlier models default to\n`current_turn`.\n\nWhen returned on a response, this is the effective reasoning context mode\nused for the response.\n","enum":["auto","current_turn","all_turns"],"uniqueKey":"oneOf.26.response.reasoning.oneOf.0.context.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"oneOf.26.response.reasoning.oneOf.0.context.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.26.response.reasoning.oneOf.0.context","typeLabel":"enum\u003cstring> | null"},"generate_summary":{"oneOf":[{"type":"string","description":"**Deprecated:** use `summary` instead.\n\nA summary of the reasoning performed by the model. This can be\nuseful for debugging and understanding the model's reasoning process.\nOne of `auto`, `concise`, or `detailed`.\n","enum":["auto","concise","detailed"],"deprecated":true,"uniqueKey":"oneOf.26.response.reasoning.oneOf.0.generate_summary.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"oneOf.26.response.reasoning.oneOf.0.generate_summary.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.26.response.reasoning.oneOf.0.generate_summary","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"oneOf.26.response.reasoning.oneOf.0","typeLabel":"Reasoning · object"},{"type":"null","uniqueKey":"oneOf.26.response.reasoning.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.26.response.reasoning","typeLabel":"Reasoning · object | null"},"output_text":{"oneOf":[{"type":"string","description":"SDK-only convenience property that contains the aggregated text output\nfrom all `output_text` items in the `output` array, if any are present.\nSupported in the Python and JavaScript SDKs.\n","uniqueKey":"oneOf.26.response.output_text.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.26.response.output_text.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.26.response.output_text","typeLabel":"string | null"},"usage":{"oneOf":[{"type":"object","description":"Represents token usage details including input tokens, output tokens,\na breakdown of output tokens, and the total tokens used.\n","required":["input_tokens","input_tokens_details","output_tokens","output_tokens_details","total_tokens"],"properties":{"input_tokens":{"type":"integer","description":"The number of input tokens.","isRequired":true,"uniqueKey":"oneOf.26.response.usage.oneOf.0.input_tokens","typeLabel":"integer"},"input_tokens_details":{"type":"object","description":"A detailed breakdown of the input tokens.","properties":{"cached_tokens":{"type":"integer","description":"The number of tokens that were retrieved from the cache.\n[More on prompt caching](https://developers.openai.com/api/docs/guides/prompt-caching).\n","isRequired":true,"uniqueKey":"oneOf.26.response.usage.oneOf.0.input_tokens_details.cached_tokens","typeLabel":"integer"},"cache_write_tokens":{"type":"integer","description":"The number of input tokens that were written to the cache.","isRequired":true,"uniqueKey":"oneOf.26.response.usage.oneOf.0.input_tokens_details.cache_write_tokens","typeLabel":"integer"},"cache_write_tokens_details":{"properties":{"ttl_30m_tokens":{"type":"integer","description":"The number of input tokens written with 30-minute retention.","isRequired":true,"uniqueKey":"oneOf.26.response.usage.oneOf.0.input_tokens_details.cache_write_tokens_details.ttl_30m_tokens","typeLabel":"integer"},"ttl_12h_tokens":{"type":"integer","description":"The number of input tokens written with 12-hour retention.","isRequired":true,"uniqueKey":"oneOf.26.response.usage.oneOf.0.input_tokens_details.cache_write_tokens_details.ttl_12h_tokens","typeLabel":"integer"}},"type":"object","required":["ttl_30m_tokens","ttl_12h_tokens"],"uniqueKey":"oneOf.26.response.usage.oneOf.0.input_tokens_details.cache_write_tokens_details","typeLabel":"object"}},"required":["cached_tokens","cache_write_tokens"],"isRequired":true,"uniqueKey":"oneOf.26.response.usage.oneOf.0.input_tokens_details","typeLabel":"object"},"output_tokens":{"type":"integer","description":"The number of output tokens.","isRequired":true,"uniqueKey":"oneOf.26.response.usage.oneOf.0.output_tokens","typeLabel":"integer"},"output_tokens_details":{"type":"object","description":"A detailed breakdown of the output tokens.","properties":{"reasoning_tokens":{"type":"integer","description":"The number of reasoning tokens.","isRequired":true,"uniqueKey":"oneOf.26.response.usage.oneOf.0.output_tokens_details.reasoning_tokens","typeLabel":"integer"}},"required":["reasoning_tokens"],"isRequired":true,"uniqueKey":"oneOf.26.response.usage.oneOf.0.output_tokens_details","typeLabel":"object"},"total_tokens":{"type":"integer","description":"The total number of tokens used.","isRequired":true,"uniqueKey":"oneOf.26.response.usage.oneOf.0.total_tokens","typeLabel":"integer"}},"uniqueKey":"oneOf.26.response.usage.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"oneOf.26.response.usage.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.26.response.usage","typeLabel":"object | null"},"tool_usage":{"properties":{"image_gen":{"properties":{"input_tokens":{"type":"integer","description":"The number of tokens (images and text) in the input prompt.","isRequired":true,"uniqueKey":"oneOf.26.response.tool_usage.image_gen.input_tokens","typeLabel":"integer"},"total_tokens":{"type":"integer","description":"The total number of tokens (images and text) used for the image generation.","isRequired":true,"uniqueKey":"oneOf.26.response.tool_usage.image_gen.total_tokens","typeLabel":"integer"},"output_tokens":{"type":"integer","description":"The number of output tokens generated by the model.","isRequired":true,"uniqueKey":"oneOf.26.response.tool_usage.image_gen.output_tokens","typeLabel":"integer"},"input_tokens_details":{"properties":{"text_tokens":{"type":"integer","description":"The number of text tokens in the input prompt.","isRequired":true,"uniqueKey":"oneOf.26.response.tool_usage.image_gen.input_tokens_details.text_tokens","typeLabel":"integer"},"image_tokens":{"type":"integer","description":"The number of image tokens in the input prompt.","isRequired":true,"uniqueKey":"oneOf.26.response.tool_usage.image_gen.input_tokens_details.image_tokens","typeLabel":"integer"}},"type":"object","required":["text_tokens","image_tokens"],"title":"Input usage details","description":"The input tokens detailed information for the image generation.","isRequired":true,"uniqueKey":"oneOf.26.response.tool_usage.image_gen.input_tokens_details","typeLabel":"Input usage details · object"},"output_tokens_details":{"properties":{"image_tokens":{"type":"integer","description":"The number of image output tokens generated by the model.","isRequired":true,"uniqueKey":"oneOf.26.response.tool_usage.image_gen.output_tokens_details.image_tokens","typeLabel":"integer"},"text_tokens":{"type":"integer","description":"The number of text output tokens generated by the model.","isRequired":true,"uniqueKey":"oneOf.26.response.tool_usage.image_gen.output_tokens_details.text_tokens","typeLabel":"integer"}},"type":"object","required":["image_tokens","text_tokens"],"title":"Image generation output token details","description":"The output token details for the image generation.","uniqueKey":"oneOf.26.response.tool_usage.image_gen.output_tokens_details","typeLabel":"Image generation output token details · object"},"cached_tokens":{"type":"integer","uniqueKey":"oneOf.26.response.tool_usage.image_gen.cached_tokens","typeLabel":"integer"},"cached_tokens_details":{"properties":{"cached_text_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.26.response.tool_usage.image_gen.cached_tokens_details.cached_text_tokens","typeLabel":"integer"},"cached_image_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.26.response.tool_usage.image_gen.cached_tokens_details.cached_image_tokens","typeLabel":"integer"}},"type":"object","required":["cached_text_tokens","cached_image_tokens"],"uniqueKey":"oneOf.26.response.tool_usage.image_gen.cached_tokens_details","typeLabel":"object"}},"type":"object","required":["input_tokens","total_tokens","output_tokens","input_tokens_details"],"title":"Image generation tool usage","description":"Aggregated usage statistics for image generation tool calls.","isRequired":true,"uniqueKey":"oneOf.26.response.tool_usage.image_gen","typeLabel":"Image generation tool usage · object"},"web_search":{"properties":{"num_requests":{"type":"integer","description":"The number of billable web search requests issued.","isRequired":true,"uniqueKey":"oneOf.26.response.tool_usage.web_search.num_requests","typeLabel":"integer"}},"type":"object","required":["num_requests"],"title":"Web search usage","description":"Aggregated billable usage statistics for web search tool calls.","isRequired":true,"uniqueKey":"oneOf.26.response.tool_usage.web_search","typeLabel":"Web search usage · object"}},"type":"object","required":["image_gen","web_search"],"title":"Response tool usage","description":"Usage reported by hosted tools, separate from base model `usage`. The field\ncan be omitted when tool usage is unavailable. When present, tool families\nwith no recorded usage have zero counts.\n\n`image_gen` sums available token counts across image generation calls.\nCalls with missing or incomplete usage records may be skipped. Output\ntoken details and cached input counts can be omitted. An omitted cache\ncount means cache usage is unknown.\n\n`web_search.num_requests` counts billable searches. Discounted searches\nand actions such as opening a page are excluded. Use billing records to\nreconcile final charges.\n","uniqueKey":"oneOf.26.response.tool_usage","typeLabel":"Response tool usage · object"},"prompt_cache_options":{"properties":{"ttl":{"type":"string","enum":["30m","12h"],"description":"The minimum lifetime applied to each cache breakpoint.","isRequired":true,"uniqueKey":"oneOf.26.response.prompt_cache_options.ttl","typeLabel":"enum\u003cstring>"},"mode":{"type":"string","enum":["implicit","explicit"],"description":"Whether implicit prompt-cache breakpoints were enabled.","isRequired":true,"uniqueKey":"oneOf.26.response.prompt_cache_options.mode","typeLabel":"enum\u003cstring>"},"comparison_response_id":{"oneOf":[{"type":"string","description":"The response ID supplied as the prompt cache diagnostics comparison.","uniqueKey":"oneOf.26.response.prompt_cache_options.comparison_response_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.26.response.prompt_cache_options.comparison_response_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.26.response.prompt_cache_options.comparison_response_id","typeLabel":"string | null"}},"type":"object","required":["ttl","mode"],"title":"Prompt cache options","description":"The prompt-caching options that were applied to the response. Supported for `gpt-5.6` and later models.","uniqueKey":"oneOf.26.response.prompt_cache_options","typeLabel":"Prompt cache options · object"},"prompt_cache_diagnostics":{"oneOf":[{"type":"object","description":"Prompt cache diagnostics requested for this response.","required":["type","reason","cache_missed_tokens"],"properties":{"type":{"type":"string","enum":["cache_miss"],"default":"cache_miss","isRequired":true,"uniqueKey":"oneOf.26.response.prompt_cache_diagnostics.oneOf.0.type","typeLabel":"enum\u003cstring>"},"reason":{"type":"string","enum":["model_changed","prompt_cache_key_changed","tools_changed","text_format_changed","reasoning_effort_changed","verbosity_changed","context_compacted","input_changed","service_tier_changed"],"description":"The reason prompt cache reuse did not occur.","isRequired":true,"uniqueKey":"oneOf.26.response.prompt_cache_diagnostics.oneOf.0.reason","typeLabel":"enum\u003cstring>"},"cache_missed_tokens":{"type":"integer","description":"The estimated number of input tokens affected after the first detected divergence.","isRequired":true,"uniqueKey":"oneOf.26.response.prompt_cache_diagnostics.oneOf.0.cache_missed_tokens","typeLabel":"integer"},"comparison_reusable_tokens":{"type":"integer","description":"The raw token count of the reusable prefix in the compared response.","uniqueKey":"oneOf.26.response.prompt_cache_diagnostics.oneOf.0.comparison_reusable_tokens","typeLabel":"integer"}},"uniqueKey":"oneOf.26.response.prompt_cache_diagnostics.oneOf.0","typeLabel":"object"},{"type":"object","description":"Prompt cache diagnostics requested for this response.","required":["type"],"properties":{"type":{"type":"string","enum":["cache_hit"],"default":"cache_hit","isRequired":true,"uniqueKey":"oneOf.26.response.prompt_cache_diagnostics.oneOf.1.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.26.response.prompt_cache_diagnostics.oneOf.1","typeLabel":"object"},{"type":"object","description":"Prompt cache diagnostics requested for this response.","required":["type"],"properties":{"type":{"type":"string","enum":["comparison_response_not_found"],"default":"comparison_response_not_found","isRequired":true,"uniqueKey":"oneOf.26.response.prompt_cache_diagnostics.oneOf.2.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.26.response.prompt_cache_diagnostics.oneOf.2","typeLabel":"object"},{"type":"object","description":"Prompt cache diagnostics requested for this response.","required":["type"],"properties":{"type":{"type":"string","enum":["unavailable"],"default":"unavailable","isRequired":true,"uniqueKey":"oneOf.26.response.prompt_cache_diagnostics.oneOf.3.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.26.response.prompt_cache_diagnostics.oneOf.3","typeLabel":"object"}],"uniqueKey":"oneOf.26.response.prompt_cache_diagnostics","typeLabel":"object"},"moderation":{"oneOf":[{"type":"object","title":"Moderation","description":"Moderation results for the response input and output, if moderated completions were requested.\n","required":["input","output"],"properties":{"input":{"oneOf":[{"type":"object","title":"Moderation result","description":"Moderation for the response input.","required":["type","model","flagged","categories","category_scores","category_applied_input_types"],"properties":{"type":{"type":"string","enum":["moderation_result"],"description":"The object type, which was always `moderation_result` for successful moderation results.","default":"moderation_result","isRequired":true,"uniqueKey":"oneOf.26.response.moderation.oneOf.0.input.oneOf.0.type","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"The moderation model that produced this result.","isRequired":true,"uniqueKey":"oneOf.26.response.moderation.oneOf.0.input.oneOf.0.model","typeLabel":"string"},"flagged":{"type":"boolean","description":"A boolean indicating whether the content was flagged by any category.","isRequired":true,"uniqueKey":"oneOf.26.response.moderation.oneOf.0.input.oneOf.0.flagged","typeLabel":"boolean"},"categories":{"additionalProperties":{"type":"boolean","uniqueKey":"oneOf.26.response.moderation.oneOf.0.input.oneOf.0.categories.additionalProperties","typeLabel":"boolean"},"type":"object","description":"A dictionary of moderation categories to booleans, True if the input is flagged under this category.","isRequired":true,"uniqueKey":"oneOf.26.response.moderation.oneOf.0.input.oneOf.0.categories","typeLabel":"object"},"category_scores":{"additionalProperties":{"type":"number","uniqueKey":"oneOf.26.response.moderation.oneOf.0.input.oneOf.0.category_scores.additionalProperties","typeLabel":"number"},"type":"object","description":"A dictionary of moderation categories to scores.","isRequired":true,"uniqueKey":"oneOf.26.response.moderation.oneOf.0.input.oneOf.0.category_scores","typeLabel":"object"},"category_applied_input_types":{"additionalProperties":{"items":{"type":"string","enum":["text","image"],"uniqueKey":"oneOf.26.response.moderation.oneOf.0.input.oneOf.0.category_applied_input_types.additionalProperties.items.[INDEX]","typeLabel":"enum\u003cstring>"},"type":"array","uniqueKey":"oneOf.26.response.moderation.oneOf.0.input.oneOf.0.category_applied_input_types.additionalProperties","typeLabel":"enum\u003cstring>[]"},"type":"object","description":"Which modalities of input are reflected by the score for each category.","isRequired":true,"uniqueKey":"oneOf.26.response.moderation.oneOf.0.input.oneOf.0.category_applied_input_types","typeLabel":"object"}},"isRequired":true,"uniqueKey":"oneOf.26.response.moderation.oneOf.0.input.oneOf.0","typeLabel":"Moderation result · object"},{"type":"object","title":"Moderation error","description":"Moderation for the response input.","required":["type","code","message"],"properties":{"type":{"type":"string","enum":["error"],"description":"The object type, which was always `error` for moderation failures.","default":"error","isRequired":true,"uniqueKey":"oneOf.26.response.moderation.oneOf.0.input.oneOf.1.type","typeLabel":"enum\u003cstring>"},"code":{"type":"string","description":"The error code.","isRequired":true,"uniqueKey":"oneOf.26.response.moderation.oneOf.0.input.oneOf.1.code","typeLabel":"string"},"message":{"type":"string","description":"The error message.","isRequired":true,"uniqueKey":"oneOf.26.response.moderation.oneOf.0.input.oneOf.1.message","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.26.response.moderation.oneOf.0.input.oneOf.1","typeLabel":"Moderation error · object"}],"isRequired":true,"uniqueKey":"oneOf.26.response.moderation.oneOf.0.input","typeLabel":"Moderation result · object | Moderation error · object"},"output":{"oneOf":[{"type":"object","title":"Moderation result","description":"Moderation for the response output.","required":["type","model","flagged","categories","category_scores","category_applied_input_types"],"properties":{"type":{"type":"string","enum":["moderation_result"],"description":"The object type, which was always `moderation_result` for successful moderation results.","default":"moderation_result","isRequired":true,"uniqueKey":"oneOf.26.response.moderation.oneOf.0.output.oneOf.0.type","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"The moderation model that produced this result.","isRequired":true,"uniqueKey":"oneOf.26.response.moderation.oneOf.0.output.oneOf.0.model","typeLabel":"string"},"flagged":{"type":"boolean","description":"A boolean indicating whether the content was flagged by any category.","isRequired":true,"uniqueKey":"oneOf.26.response.moderation.oneOf.0.output.oneOf.0.flagged","typeLabel":"boolean"},"categories":{"additionalProperties":{"type":"boolean","uniqueKey":"oneOf.26.response.moderation.oneOf.0.output.oneOf.0.categories.additionalProperties","typeLabel":"boolean"},"type":"object","description":"A dictionary of moderation categories to booleans, True if the input is flagged under this category.","isRequired":true,"uniqueKey":"oneOf.26.response.moderation.oneOf.0.output.oneOf.0.categories","typeLabel":"object"},"category_scores":{"additionalProperties":{"type":"number","uniqueKey":"oneOf.26.response.moderation.oneOf.0.output.oneOf.0.category_scores.additionalProperties","typeLabel":"number"},"type":"object","description":"A dictionary of moderation categories to scores.","isRequired":true,"uniqueKey":"oneOf.26.response.moderation.oneOf.0.output.oneOf.0.category_scores","typeLabel":"object"},"category_applied_input_types":{"additionalProperties":{"items":{"type":"string","enum":["text","image"],"uniqueKey":"oneOf.26.response.moderation.oneOf.0.output.oneOf.0.category_applied_input_types.additionalProperties.items.[INDEX]","typeLabel":"enum\u003cstring>"},"type":"array","uniqueKey":"oneOf.26.response.moderation.oneOf.0.output.oneOf.0.category_applied_input_types.additionalProperties","typeLabel":"enum\u003cstring>[]"},"type":"object","description":"Which modalities of input are reflected by the score for each category.","isRequired":true,"uniqueKey":"oneOf.26.response.moderation.oneOf.0.output.oneOf.0.category_applied_input_types","typeLabel":"object"}},"isRequired":true,"uniqueKey":"oneOf.26.response.moderation.oneOf.0.output.oneOf.0","typeLabel":"Moderation result · object"},{"type":"object","title":"Moderation error","description":"Moderation for the response output.","required":["type","code","message"],"properties":{"type":{"type":"string","enum":["error"],"description":"The object type, which was always `error` for moderation failures.","default":"error","isRequired":true,"uniqueKey":"oneOf.26.response.moderation.oneOf.0.output.oneOf.1.type","typeLabel":"enum\u003cstring>"},"code":{"type":"string","description":"The error code.","isRequired":true,"uniqueKey":"oneOf.26.response.moderation.oneOf.0.output.oneOf.1.code","typeLabel":"string"},"message":{"type":"string","description":"The error message.","isRequired":true,"uniqueKey":"oneOf.26.response.moderation.oneOf.0.output.oneOf.1.message","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.26.response.moderation.oneOf.0.output.oneOf.1","typeLabel":"Moderation error · object"}],"isRequired":true,"uniqueKey":"oneOf.26.response.moderation.oneOf.0.output","typeLabel":"Moderation result · object | Moderation error · object"}},"uniqueKey":"oneOf.26.response.moderation.oneOf.0","typeLabel":"Moderation · object"},{"type":"null","uniqueKey":"oneOf.26.response.moderation.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.26.response.moderation","typeLabel":"Moderation · object | null"},"conversation":{"oneOf":[{"type":"object","title":"Conversation","description":"The conversation that this response belonged to. Input items and output items from this response were automatically added to this conversation.","default":null,"required":["id"],"properties":{"id":{"type":"string","description":"The unique ID of the conversation that this response was associated with.","isRequired":true,"uniqueKey":"oneOf.26.response.conversation.oneOf.0.id","typeLabel":"string"}},"uniqueKey":"oneOf.26.response.conversation.oneOf.0","typeLabel":"Conversation · object"},{"type":"null","uniqueKey":"oneOf.26.response.conversation.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.26.response.conversation","typeLabel":"Conversation · object | null"},"max_output_tokens":{"oneOf":[{"type":"integer","description":"An upper bound for the number of tokens that can be generated for a response, including visible output tokens and [reasoning tokens](https://developers.openai.com/api/docs/guides/reasoning).\n","uniqueKey":"oneOf.26.response.max_output_tokens.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"oneOf.26.response.max_output_tokens.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.26.response.max_output_tokens","typeLabel":"integer | null"}},"isRequired":true,"uniqueKey":"oneOf.26.response","typeLabel":"The response object · object"}},"uniqueKey":"oneOf.26","typeLabel":"object"},{"type":"object","description":"Event emitted while a response is streamed.","required":["type","response","sequence_number"],"properties":{"type":{"type":"string","description":"The type of the event. Always `response.incomplete`.\n","const":"response.incomplete","isRequired":true,"uniqueKey":"oneOf.27.type","typeLabel":"string"},"response":{"type":"object","title":"The response object","description":"The response that was incomplete.\n","required":["access_programs","id","object","created_at","error","incomplete_details","instructions","model","tools","output","parallel_tool_calls","metadata","tool_choice","temperature","top_p"],"example":{"id":"resp_67ccd3a9da748190baa7f1570fe91ac604becb25c45c1d41","object":"response","access_programs":null,"created_at":1741476777,"status":"completed","completed_at":1741476778,"error":null,"incomplete_details":null,"instructions":null,"max_output_tokens":null,"model":"gpt-6.2-astra","output":[{"type":"message","id":"msg_67ccd3acc8d48190a77525dc6de64b4104becb25c45c1d41","status":"completed","role":"assistant","content":[{"type":"output_text","text":"The image depicts a scenic landscape with a wooden boardwalk or pathway leading through lush, green grass under a blue sky with some clouds. The setting suggests a peaceful natural area, possibly a park or nature reserve. There are trees and shrubs in the background.","annotations":[],"logprobs":[]}]}],"parallel_tool_calls":true,"previous_response_id":null,"reasoning":{"effort":null,"summary":null,"context":null},"temperature":1,"text":{"format":{"type":"text"}},"tool_choice":"auto","tools":[],"top_p":1,"truncation":"disabled","usage":{"input_tokens":328,"input_tokens_details":{"cached_tokens":0,"cache_write_tokens":0},"output_tokens":52,"output_tokens_details":{"reasoning_tokens":0},"total_tokens":380},"tool_usage":{"image_gen":{"input_tokens":0,"input_tokens_details":{"text_tokens":0,"image_tokens":0},"output_tokens":0,"output_tokens_details":{"text_tokens":0,"image_tokens":0},"total_tokens":0},"web_search":{"num_requests":0}},"user":null,"metadata":{}},"properties":{"metadata":{"oneOf":[{"type":"object","description":"Set of 16 key-value pairs that can be attached to an object. This can be\nuseful for storing additional information about the object in a structured\nformat, and querying for objects via API or the dashboard.\n\nKeys are strings with a maximum length of 64 characters. Values are strings\nwith a maximum length of 512 characters.\n","additionalProperties":{"type":"string","uniqueKey":"oneOf.27.response.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"isRequired":true,"uniqueKey":"oneOf.27.response.metadata.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.27.response.metadata.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.27.response.metadata","typeLabel":"object | null"},"temperature":{"oneOf":[{"type":"number","description":"What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.\nWe generally recommend altering this or `top_p` but not both.\n","default":1,"maximum":2,"minimum":0,"example":1,"isRequired":true,"uniqueKey":"oneOf.27.response.temperature.oneOf.0","typeLabel":"number"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.27.response.temperature.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.27.response.temperature","typeLabel":"number | null"},"top_p":{"oneOf":[{"type":"number","description":"An alternative to sampling with temperature, called nucleus sampling,\nwhere the model considers the results of the tokens with top_p probability\nmass. So 0.1 means only the tokens comprising the top 10% probability mass\nare considered.\n\nWe generally recommend altering this or `temperature` but not both.\n","default":1,"maximum":1,"minimum":0,"example":1,"isRequired":true,"uniqueKey":"oneOf.27.response.top_p.oneOf.0","typeLabel":"number"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.27.response.top_p.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.27.response.top_p","typeLabel":"number | null"},"model":{"type":"string","description":"ID of the model to use, for example `gpt-6.2-sol`. See [Models](/en/llm/openai-responses) for the available models.","example":"gpt-6.2-sol","isRequired":true,"uniqueKey":"oneOf.27.response.model","typeLabel":"string"},"tools":{"type":"array","description":"An array of tools the model may call while generating a response. You\ncan specify which tool to use by setting the `tool_choice` parameter.\n\nWe support the following categories of tools:\n- **Built-in tools**: Tools that are provided by OpenAI that extend the\n model's capabilities, like [web search](https://developers.openai.com/api/docs/guides/tools-web-search)\n or [file search](https://developers.openai.com/api/docs/guides/tools-file-search). Learn more about\n [built-in tools](https://developers.openai.com/api/docs/guides/tools).\n- **MCP Tools**: Integrations with third-party systems via custom MCP servers\n or predefined connectors such as Google Drive and SharePoint. Learn more about\n [MCP Tools](https://developers.openai.com/api/docs/guides/tools-connectors-mcp).\n- **Function calls (custom tools)**: Functions that are defined by you,\n enabling the model to call your own code with strongly typed arguments\n and outputs. Learn more about\n [function calling](https://developers.openai.com/api/docs/guides/function-calling). You can also use\n custom tools to call your own code.\n","items":{"oneOf":[{"type":"object","title":"Function","description":"A tool that can be used to generate a response.\n","required":["type","name","strict","parameters"],"properties":{"type":{"type":"string","enum":["function"],"description":"The type of the function tool. Always `function`.","default":"function","isRequired":true,"uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"The name of the function to call.","isRequired":true,"uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.0.name","typeLabel":"string"},"parameters":{"type":"any","isRequired":true,"uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.0.parameters","typeLabel":"any"},"strict":{"type":"any","isRequired":true,"uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.0.strict","typeLabel":"any"},"async":{"type":"boolean","uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.0.async","typeLabel":"boolean"},"description":{"type":"any","uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.0.description","typeLabel":"any"},"output_schema":{"type":"any","uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.0.output_schema","typeLabel":"any"},"defer_loading":{"type":"boolean","description":"Whether this function is deferred and loaded via tool search.","uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.0.defer_loading","typeLabel":"boolean"},"allowed_callers":{"type":"any","uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.0.allowed_callers","typeLabel":"any"}},"uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.0","typeLabel":"Function · object"},{"type":"object","title":"File search","description":"A tool that can be used to generate a response.\n","required":["type","vector_store_ids"],"properties":{"type":{"type":"string","enum":["file_search"],"description":"The type of the file search tool. Always `file_search`.","default":"file_search","isRequired":true,"uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"vector_store_ids":{"items":{"type":"string","uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.1.vector_store_ids.items.[INDEX]","typeLabel":"string"},"type":"array","description":"The IDs of the vector stores to search.","isRequired":true,"uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.1.vector_store_ids","typeLabel":"string[]"},"max_num_results":{"type":"integer","description":"The maximum number of results to return. This number should be between 1 and 50 inclusive.","uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.1.max_num_results","typeLabel":"integer"},"ranking_options":{"properties":{"ranker":{"type":"string","enum":["auto","default-2024-11-15"],"description":"The ranker to use for the file search.","uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.1.ranking_options.ranker","typeLabel":"enum\u003cstring>"},"score_threshold":{"type":"number","description":"The score threshold for the file search, a number between 0 and 1. Numbers closer to 1 will attempt to return only the most relevant results, but may return fewer results.","uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.1.ranking_options.score_threshold","typeLabel":"number"},"hybrid_search":{"properties":{"embedding_weight":{"type":"number","description":"The weight of the embedding in the reciprocal ranking fusion.","isRequired":true,"uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.1.ranking_options.hybrid_search.embedding_weight","typeLabel":"number"},"text_weight":{"type":"number","description":"The weight of the text in the reciprocal ranking fusion.","isRequired":true,"uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.1.ranking_options.hybrid_search.text_weight","typeLabel":"number"}},"type":"object","required":["embedding_weight","text_weight"],"description":"Weights that control how reciprocal rank fusion balances semantic embedding matches versus sparse keyword matches when hybrid search is enabled.","uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.1.ranking_options.hybrid_search","typeLabel":"object"}},"type":"object","required":[],"description":"Ranking options for search.","uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.1.ranking_options","typeLabel":"object"},"filters":{"type":"any","uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.1.filters","typeLabel":"any"}},"uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.1","typeLabel":"File search · object"},{"type":"object","title":"Computer","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["computer"],"description":"The type of the computer tool. Always `computer`.","default":"computer","isRequired":true,"uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.2","typeLabel":"Computer · object"},{"type":"object","title":"Computer use preview","description":"A tool that can be used to generate a response.\n","required":["type","environment","display_width","display_height"],"properties":{"type":{"type":"string","enum":["computer_use_preview"],"description":"The type of the computer use tool. Always `computer_use_preview`.","default":"computer_use_preview","isRequired":true,"uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"environment":{"type":"string","enum":["windows","mac","linux","ubuntu","browser"],"description":"The type of computer environment to control.","isRequired":true,"uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.3.environment","typeLabel":"enum\u003cstring>"},"display_width":{"type":"integer","description":"The width of the computer display.","isRequired":true,"uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.3.display_width","typeLabel":"integer"},"display_height":{"type":"integer","description":"The height of the computer display.","isRequired":true,"uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.3.display_height","typeLabel":"integer"}},"uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.3","typeLabel":"Computer use preview · object"},{"type":"object","title":"Web search","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["web_search","web_search_2025_08_26"],"description":"The type of the web search tool. One of `web_search` or `web_search_2025_08_26`.","default":"web_search","isRequired":true,"uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.4.type","typeLabel":"enum\u003cstring>"},"external_web_access":{"type":"boolean","default":true,"description":"Allow live internet access for web search. Defaults to true when omitted. When false, the web search tool runs in offline/cache-only mode and will not fetch new external content.","uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.4.external_web_access","typeLabel":"boolean"},"filters":{"type":"any","uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.4.filters","typeLabel":"any"},"user_location":{"type":"any","description":"The approximate location of the user. If omitted or null, defaults to the\nUnited States. To avoid this fallback, pass `{\"type\": \"approximate\"}` without\nlocation fields. To localize results, provide the relevant location fields.\n","uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.4.user_location","typeLabel":"any"},"search_context_size":{"type":"string","enum":["low","medium","high"],"default":"medium","description":"High level guidance for the amount of context window space to use for the search. One of `low`, `medium`, or `high`. `medium` is the default.","uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.4.search_context_size","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.4","typeLabel":"Web search · object"},{"type":"object","title":"MCP tool","description":"A tool that can be used to generate a response.\n","required":["type","server_label"],"properties":{"type":{"type":"string","const":"mcp","description":"The type of the MCP tool. Always `mcp`.","isRequired":true,"uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.5.type","typeLabel":"string"},"server_label":{"type":"string","description":"A label for this MCP server, used to identify it in tool calls.\n","isRequired":true,"uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.5.server_label","typeLabel":"string"},"server_url":{"type":"string","format":"uri","description":"The URL for the MCP server. One of `server_url`, `connector_id`, or\n`tunnel_id` must be provided.\n","uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.5.server_url","typeLabel":"string\u003curi>"},"connector_id":{"type":"string","deprecated":true,"enum":["connector_dropbox","connector_gmail","connector_googlecalendar","connector_googledrive","connector_microsoftteams","connector_outlookcalendar","connector_outlookemail","connector_sharepoint"],"description":"Identifier for service connectors, like those available in ChatGPT. One of\n`server_url`, `connector_id`, or `tunnel_id` must be provided. Learn more\nabout service connectors [here](https://developers.openai.com/api/docs/guides/tools-connectors-mcp#connectors).\n\nThis field is deprecated for models released after September 1, 2026.\nUse `server_url` to connect to a remote MCP server, or `tunnel_id` to\nconnect through a Secure MCP Tunnel.\n\nCurrently supported `connector_id` values are:\n\n- Dropbox: `connector_dropbox`\n- Gmail: `connector_gmail`\n- Google Calendar: `connector_googlecalendar`\n- Google Drive: `connector_googledrive`\n- Microsoft Teams: `connector_microsoftteams`\n- Outlook Calendar: `connector_outlookcalendar`\n- Outlook Email: `connector_outlookemail`\n- SharePoint: `connector_sharepoint`\n","uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.5.connector_id","typeLabel":"enum\u003cstring>"},"tunnel_id":{"type":"string","pattern":"^tunnel_[a-z0-9]{32}$","description":"The Secure MCP Tunnel ID to use instead of a direct server URL. One of\n`server_url`, `connector_id`, or `tunnel_id` must be provided.\n","uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.5.tunnel_id","typeLabel":"string"},"authorization":{"type":"string","description":"An OAuth access token that can be used with a remote MCP server, either\nwith a custom MCP server URL or a service connector. Your application\nmust handle the OAuth authorization flow and provide the token here.\n","uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.5.authorization","typeLabel":"string"},"server_description":{"type":"string","description":"Optional description of the MCP server, used to provide more context.\n","uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.5.server_description","typeLabel":"string"},"headers":{"type":"any","uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.5.headers","typeLabel":"any"},"allowed_tools":{"type":"any","uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.5.allowed_tools","typeLabel":"any"},"allowed_callers":{"type":"any","uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.5.allowed_callers","typeLabel":"any"},"require_approval":{"type":"any","uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.5.require_approval","typeLabel":"any"},"defer_loading":{"type":"boolean","description":"Whether this MCP tool is deferred and discovered via tool search.\n","uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.5.defer_loading","typeLabel":"boolean"}},"uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.5","typeLabel":"MCP tool · object"},{"type":"object","title":"Code interpreter","description":"A tool that can be used to generate a response.\n","required":["type","container"],"properties":{"type":{"type":"string","enum":["code_interpreter"],"description":"The type of the code interpreter tool. Always `code_interpreter`.\n","isRequired":true,"uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.6.type","typeLabel":"enum\u003cstring>"},"container":{"type":"any","description":"The code interpreter container. Can be a container ID or an object that\nspecifies uploaded file IDs to make available to your code, along with an\noptional `memory_limit` setting.\n","isRequired":true,"uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.6.container","typeLabel":"any"},"allowed_callers":{"type":"any","uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.6.allowed_callers","typeLabel":"any"}},"uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.6","typeLabel":"Code interpreter · object"},{"type":"object","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["programmatic_tool_calling"],"description":"The type of the tool. Always `programmatic_tool_calling`.","default":"programmatic_tool_calling","isRequired":true,"uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.7.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.7","typeLabel":"object"},{"type":"object","title":"Image generation tool","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["image_generation"],"description":"The type of the image generation tool. Always `image_generation`.\n","isRequired":true,"uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.8.type","typeLabel":"enum\u003cstring>"},"model":{"type":"any","uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.8.model","typeLabel":"any"},"complexity":{"type":"string","enum":["low","medium","high"],"description":"Computation spent planning the image, independently of rendering quality.\nOverrides the outer response's `reasoning.effort` for image generation.\nWhen omitted, inherits a supported outer reasoning effort or uses the\nimage model's configured default.\nFor SVG output, controls the reference image, not the SVG author's\nreasoning.\n","uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.8.complexity","typeLabel":"enum\u003cstring>"},"quality":{"type":"string","enum":["low","medium","high","xhigh","max","auto"],"description":"The quality of the generated image. The GPT image models support `low`,\n`medium`, and `high`. `gpt-image-2.5-sunburst` and `gpt-image-2.5-flare`,\nincluding their `2026-09-08` snapshots, also support `xhigh` and `max`.\nDefault: `auto`.\n","default":"auto","uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.8.quality","typeLabel":"enum\u003cstring>"},"size":{"type":"any","description":"The size of the generated images. For `gpt-image-2`, `gpt-image-2-2026-04-21`, `gpt-image-2.5-sunburst`, `gpt-image-2.5-sunburst-2026-09-08`, `gpt-image-2.5-flare`, and `gpt-image-2.5-flare-2026-09-08`, arbitrary resolutions are supported as `WIDTHxHEIGHT` strings, for example `1536x864`. Width and height must both be divisible by 16 and the requested aspect ratio must be between 1:3 and 3:1. Resolutions above `2560x1440` are experimental, and the maximum supported resolution is `3840x2160`. The requested size must also satisfy the model's current pixel and edge limits. The standard sizes `1024x1024`, `1536x1024`, and `1024x1536` are supported by the GPT image models; `auto` is supported for models that allow automatic sizing.","default":"auto","uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.8.size","typeLabel":"any"},"output_format":{"type":"string","enum":["png","webp","jpeg","gif","svg"],"description":"The output format of the generated image. One of `png`, `webp`, `jpeg`,\n`gif`, or `svg`. Default: `png`. GIF and SVG output require a model\nthat supports the selected format. GIF output does not support\npartial image streaming (`partial_images` greater than `0`),\n`input_image_mask`, or custom `output_compression`.\nResponses lifecycle events can still be streamed for GIF output.\n","default":"png","uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.8.output_format","typeLabel":"enum\u003cstring>"},"frame_count":{"type":"integer","minimum":2,"maximum":16,"default":9,"description":"Number of GIF frames. Requires `output_format` to be `gif`. Default: 9.\n","uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.8.frame_count","typeLabel":"integer"},"frame_duration_ms":{"type":"integer","minimum":20,"maximum":2000,"default":200,"description":"Duration of each GIF frame in milliseconds, rounded to 10 ms.\nRequires `output_format` to be `gif`. Default: 200.\n","uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.8.frame_duration_ms","typeLabel":"integer"},"svg":{"properties":{"model":{"type":"string","minLength":1,"uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.8.svg.model","typeLabel":"string"},"reasoning":{"type":"any","uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.8.svg.reasoning","typeLabel":"any"}},"type":"object","required":[],"description":"SVG author model settings. Requires `output_format` to be `svg`.\nWhen SVG model selection is enabled, omitting this object uses the\nouter response model. Otherwise, the default SVG author is used and\nexplicit model overrides are unavailable.\n","uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.8.svg","typeLabel":"object"},"output_compression":{"type":"integer","minimum":0,"maximum":100,"description":"Compression level for the output image. Default: 100.\n","default":100,"uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.8.output_compression","typeLabel":"integer"},"moderation":{"type":"string","enum":["auto","low"],"description":"Moderation level for the generated image. Default: `auto`.\n","default":"auto","uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.8.moderation","typeLabel":"enum\u003cstring>"},"background":{"type":"string","enum":["transparent","opaque","auto"],"description":"Set the background of the generated image. One of `transparent`, `opaque`,\nor `auto`. `gpt-image-2.5-sunburst` and `gpt-image-2.5-flare`, including\ntheir `2026-09-08` snapshots, support `opaque` and `transparent`\nbackgrounds. Transparent backgrounds are available for supported GPT Image\nmodels. For `gpt-image-2` and `gpt-image-2-2026-04-21`, this support is in\npreview. When using `transparent`, set the output format to `png` or `webp`.\nDefault: `auto`.\n","default":"auto","uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.8.background","typeLabel":"enum\u003cstring>"},"input_fidelity":{"type":"any","uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.8.input_fidelity","typeLabel":"any"},"input_image_mask":{"type":"object","description":"Optional mask for inpainting. Contains `image_url`\n(string, optional) and `file_id` (string, optional).\n","properties":{"image_url":{"type":"string","description":"Base64-encoded mask image.\n","uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.8.input_image_mask.image_url","typeLabel":"string"},"file_id":{"type":"string","description":"File ID for the mask image.\n","uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.8.input_image_mask.file_id","typeLabel":"string"}},"required":[],"additionalProperties":false,"uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.8.input_image_mask","typeLabel":"object"},"partial_images":{"type":"integer","minimum":0,"maximum":3,"description":"Number of partial images to generate in streaming mode, from 0 (default value) to 3.\n","default":0,"uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.8.partial_images","typeLabel":"integer"},"action":{"type":"string","enum":["generate","edit","auto"],"description":"Whether to generate a new image or edit an existing image. Default: `auto`.\n","uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.8.action","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.8","typeLabel":"Image generation tool · object"},{"type":"object","title":"Local shell tool","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["local_shell"],"description":"The type of the local shell tool. Always `local_shell`.","default":"local_shell","isRequired":true,"uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.9.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.9","typeLabel":"Local shell tool · object"},{"type":"object","title":"Shell tool","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["shell"],"description":"The type of the shell tool. Always `shell`.","default":"shell","isRequired":true,"uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.10.type","typeLabel":"enum\u003cstring>"},"environment":{"type":"any","uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.10.environment","typeLabel":"any"},"allowed_callers":{"type":"any","uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.10.allowed_callers","typeLabel":"any"}},"uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.10","typeLabel":"Shell tool · object"},{"type":"object","title":"Custom tool","description":"A tool that can be used to generate a response.\n","required":["type","name"],"properties":{"type":{"type":"string","enum":["custom"],"description":"The type of the custom tool. Always `custom`.","default":"custom","isRequired":true,"uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.11.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"The name of the custom tool, used to identify it in tool calls.","isRequired":true,"uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.11.name","typeLabel":"string"},"async":{"type":"boolean","description":"Whether the tool response can be returned asynchronously versus immediately returned on next response creation.","uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.11.async","typeLabel":"boolean"},"description":{"type":"string","description":"Optional description of the custom tool, used to provide more context.","uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.11.description","typeLabel":"string"},"format":{"type":"any","description":"The input format for the custom tool. Default is unconstrained text.","uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.11.format","typeLabel":"any"},"defer_loading":{"type":"boolean","description":"Whether this tool should be deferred and discovered via tool search.","uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.11.defer_loading","typeLabel":"boolean"},"allowed_callers":{"type":"any","uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.11.allowed_callers","typeLabel":"any"}},"uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.11","typeLabel":"Custom tool · object"},{"type":"object","title":"Namespace","description":"A tool that can be used to generate a response.\n","required":["type","name","description","tools"],"properties":{"type":{"type":"string","enum":["namespace"],"description":"The type of the tool. Always `namespace`.","default":"namespace","isRequired":true,"uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.12.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","minLength":1,"description":"The namespace name used in tool calls (for example, `crm`).","isRequired":true,"uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.12.name","typeLabel":"string"},"description":{"type":"string","description":"A description of the namespace shown to the model.","isRequired":true,"uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.12.description","typeLabel":"string"},"tools":{"items":{"type":"any","description":"A function or custom tool that belongs to a namespace.","uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.12.tools.items.[INDEX]","typeLabel":"any"},"type":"array","minItems":1,"description":"The function/custom tools available inside this namespace.","isRequired":true,"uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.12.tools","typeLabel":"any[]"}},"uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.12","typeLabel":"Namespace · object"},{"type":"object","title":"Tool search tool","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["tool_search"],"description":"The type of the tool. Always `tool_search`.","default":"tool_search","isRequired":true,"uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.13.type","typeLabel":"enum\u003cstring>"},"execution":{"type":"string","enum":["server","client"],"description":"Whether tool search is executed by the server or by the client.","uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.13.execution","typeLabel":"enum\u003cstring>"},"description":{"type":"any","uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.13.description","typeLabel":"any"},"parameters":{"type":"any","uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.13.parameters","typeLabel":"any"}},"uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.13","typeLabel":"Tool search tool · object"},{"type":"object","title":"Web search preview","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["web_search_preview","web_search_preview_2025_03_11"],"description":"The type of the web search tool. One of `web_search_preview` or `web_search_preview_2025_03_11`.","default":"web_search_preview","isRequired":true,"uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.14.type","typeLabel":"enum\u003cstring>"},"user_location":{"type":"any","uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.14.user_location","typeLabel":"any"},"search_context_size":{"type":"string","enum":["low","medium","high"],"description":"High level guidance for the amount of context window space to use for the search. One of `low`, `medium`, or `high`. `medium` is the default.","uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.14.search_context_size","typeLabel":"enum\u003cstring>"},"search_content_types":{"items":{"type":"string","enum":["text","image"],"uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.14.search_content_types.items.[INDEX]","typeLabel":"enum\u003cstring>"},"type":"array","uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.14.search_content_types","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.14","typeLabel":"Web search preview · object"},{"type":"object","title":"Apply patch tool","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["apply_patch"],"description":"The type of the tool. Always `apply_patch`.","default":"apply_patch","isRequired":true,"uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.15.type","typeLabel":"enum\u003cstring>"},"allowed_callers":{"type":"any","uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.15.allowed_callers","typeLabel":"any"}},"uniqueKey":"oneOf.27.response.tools.items.[INDEX].oneOf.15","typeLabel":"Apply patch tool · object"}],"uniqueKey":"oneOf.27.response.tools.items.[INDEX]","typeLabel":"Function · object | File search · object | Computer · object | Computer use preview · object | Web search · object | MCP tool · object | Code interpreter · object | object | Image generation tool · object | Local shell tool · object | Shell tool · object | Custom tool · object | Namespace · object | Tool search tool · object | Web search preview · object | Apply patch tool · object"},"isRequired":true,"uniqueKey":"oneOf.27.response.tools","typeLabel":"(Function · object | File search · object | Computer · object | Computer use preview · object | Web search · object | MCP tool · object | Code interpreter · object | object | Image generation tool · object | Local shell tool · object | Shell tool · object | Custom tool · object | Namespace · object | Tool search tool · object | Web search preview · object | Apply patch tool · object)[]"},"tool_choice":{"oneOf":[{"type":"string","title":"Tool choice mode","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","enum":["none","auto","required"],"isRequired":true,"uniqueKey":"oneOf.27.response.tool_choice.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"object","title":"Allowed tools","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","required":["type","mode","tools"],"properties":{"type":{"type":"string","enum":["allowed_tools"],"description":"Allowed tool configuration type. Always `allowed_tools`.","isRequired":true,"uniqueKey":"oneOf.27.response.tool_choice.oneOf.1.type","typeLabel":"enum\u003cstring>"},"mode":{"type":"string","enum":["auto","required"],"description":"Constrains the tools available to the model to a pre-defined set.\n\n`auto` allows the model to pick from among the allowed tools and generate a\nmessage.\n\n`required` requires the model to call one or more of the allowed tools.\n","isRequired":true,"uniqueKey":"oneOf.27.response.tool_choice.oneOf.1.mode","typeLabel":"enum\u003cstring>"},"tools":{"type":"array","description":"A list of tool definitions that the model should be allowed to call.\n\nFor the Responses API, the list of tool definitions might look like:\n```json\n[\n { \"type\": \"function\", \"name\": \"get_weather\" },\n { \"type\": \"mcp\", \"server_label\": \"deepwiki\" },\n { \"type\": \"image_generation\" }\n]\n```\n","items":{"type":"object","description":"A tool definition that the model should be allowed to call.\n","additionalProperties":true,"uniqueKey":"oneOf.27.response.tool_choice.oneOf.1.tools.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"oneOf.27.response.tool_choice.oneOf.1.tools","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"oneOf.27.response.tool_choice.oneOf.1","typeLabel":"Allowed tools · object"},{"type":"object","title":"Hosted tool","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","required":["type"],"properties":{"type":{"type":"string","description":"The type of hosted tool the model should to use. Learn more about\n[built-in tools](https://developers.openai.com/api/docs/guides/tools).\n\nAllowed values are:\n- `file_search`\n- `web_search_preview`\n- `computer`\n- `computer_use_preview`\n- `computer_use`\n- `code_interpreter`\n- `image_generation`\n","enum":["file_search","web_search_preview","computer","computer_use_preview","computer_use","web_search_preview_2025_03_11","image_generation","code_interpreter"],"isRequired":true,"uniqueKey":"oneOf.27.response.tool_choice.oneOf.2.type","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.27.response.tool_choice.oneOf.2","typeLabel":"Hosted tool · object"},{"type":"object","title":"Function tool","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","required":["type","name"],"properties":{"type":{"type":"string","enum":["function"],"description":"For function calling, the type is always `function`.","isRequired":true,"uniqueKey":"oneOf.27.response.tool_choice.oneOf.3.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"The name of the function to call.","isRequired":true,"uniqueKey":"oneOf.27.response.tool_choice.oneOf.3.name","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.27.response.tool_choice.oneOf.3","typeLabel":"Function tool · object"},{"type":"object","title":"MCP tool","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","required":["type","server_label"],"properties":{"type":{"type":"string","enum":["mcp"],"description":"For MCP tools, the type is always `mcp`.","isRequired":true,"uniqueKey":"oneOf.27.response.tool_choice.oneOf.4.type","typeLabel":"enum\u003cstring>"},"server_label":{"type":"string","description":"The label of the MCP server to use.\n","isRequired":true,"uniqueKey":"oneOf.27.response.tool_choice.oneOf.4.server_label","typeLabel":"string"},"name":{"type":"any","uniqueKey":"oneOf.27.response.tool_choice.oneOf.4.name","typeLabel":"any"}},"isRequired":true,"uniqueKey":"oneOf.27.response.tool_choice.oneOf.4","typeLabel":"MCP tool · object"},{"type":"object","title":"Custom tool","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","required":["type","name"],"properties":{"type":{"type":"string","enum":["custom"],"description":"For custom tool calling, the type is always `custom`.","isRequired":true,"uniqueKey":"oneOf.27.response.tool_choice.oneOf.5.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"The name of the custom tool to call.","isRequired":true,"uniqueKey":"oneOf.27.response.tool_choice.oneOf.5.name","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.27.response.tool_choice.oneOf.5","typeLabel":"Custom tool · object"},{"type":"object","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","required":["type"],"properties":{"type":{"type":"string","enum":["programmatic_tool_calling"],"description":"The tool to call. Always `programmatic_tool_calling`.","default":"programmatic_tool_calling","isRequired":true,"uniqueKey":"oneOf.27.response.tool_choice.oneOf.6.type","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.27.response.tool_choice.oneOf.6","typeLabel":"object"},{"type":"object","title":"Specific apply patch tool choice","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","required":["type"],"properties":{"type":{"type":"string","enum":["apply_patch"],"description":"The tool to call. Always `apply_patch`.","default":"apply_patch","isRequired":true,"uniqueKey":"oneOf.27.response.tool_choice.oneOf.7.type","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.27.response.tool_choice.oneOf.7","typeLabel":"Specific apply patch tool choice · object"},{"type":"object","title":"Specific shell tool choice","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","required":["type"],"properties":{"type":{"type":"string","enum":["shell"],"description":"The tool to call. Always `shell`.","default":"shell","isRequired":true,"uniqueKey":"oneOf.27.response.tool_choice.oneOf.8.type","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.27.response.tool_choice.oneOf.8","typeLabel":"Specific shell tool choice · object"}],"isRequired":true,"uniqueKey":"oneOf.27.response.tool_choice","typeLabel":"enum\u003cstring> | Allowed tools · object | Hosted tool · object | Function tool · object | MCP tool · object | Custom tool · object | object | Specific apply patch tool choice · object | Specific shell tool choice · object"},"id":{"type":"string","description":"Unique identifier for this Response.\n","isRequired":true,"uniqueKey":"oneOf.27.response.id","typeLabel":"string"},"object":{"type":"string","description":"The object type of this resource - always set to `response`.\n","const":"response","isRequired":true,"uniqueKey":"oneOf.27.response.object","typeLabel":"string"},"access_programs":{"oneOf":[{"type":"object","required":["cyber"],"properties":{"cyber":{"type":"string","enum":["standard","daybreak_blue","daybreak_red"],"description":"The effective Cyber access program used for this response.","isRequired":true,"uniqueKey":"oneOf.27.response.access_programs.oneOf.0.cyber","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.27.response.access_programs.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.27.response.access_programs.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.27.response.access_programs","typeLabel":"object | null"},"created_at":{"type":"number","format":"unixtime","description":"Unix timestamp (in seconds) of when this Response was created.\n","isRequired":true,"uniqueKey":"oneOf.27.response.created_at","typeLabel":"number\u003cunixtime>"},"error":{"oneOf":[{"type":"object","description":"An error object returned when the model fails to generate a Response.\n","required":["code","message"],"properties":{"code":{"type":"string","description":"The error code for the response.\n","enum":["server_error","rate_limit_exceeded","invalid_prompt","data_residency_mismatch","bio_policy","misalignment_policy_violation","vector_store_timeout","invalid_image","invalid_image_format","invalid_base64_image","invalid_image_url","image_too_large","image_too_small","image_parse_error","image_content_policy_violation","invalid_image_mode","image_file_too_large","unsupported_image_media_type","empty_image_file","failed_to_download_image","image_file_not_found"],"isRequired":true,"uniqueKey":"oneOf.27.response.error.oneOf.0.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"A human-readable description of the error.\n","isRequired":true,"uniqueKey":"oneOf.27.response.error.oneOf.0.message","typeLabel":"string"},"type":{"oneOf":[{"type":"string","description":"The original error type, or null if it was not recorded.","uniqueKey":"oneOf.27.response.error.oneOf.0.type.oneOf.0","typeLabel":"string"},{"type":"null","description":"The original error type, or null if it was not recorded.","uniqueKey":"oneOf.27.response.error.oneOf.0.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.27.response.error.oneOf.0.type","typeLabel":"string | null"},"param":{"oneOf":[{"type":"string","description":"The request parameter associated with the error, or null if none was recorded.","uniqueKey":"oneOf.27.response.error.oneOf.0.param.oneOf.0","typeLabel":"string"},{"type":"null","description":"The request parameter associated with the error, or null if none was recorded.","uniqueKey":"oneOf.27.response.error.oneOf.0.param.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.27.response.error.oneOf.0.param","typeLabel":"string | null"},"misalignment":{"properties":{"review_target":{"oneOf":[{"type":"string","description":"An opaque target for explicitly continuing this review, or null when unavailable.","maxLength":96,"minLength":1,"pattern":"^[A-Za-z0-9._~:-]+$","uniqueKey":"oneOf.27.response.error.oneOf.0.misalignment.review_target.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.27.response.error.oneOf.0.misalignment.review_target.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.27.response.error.oneOf.0.misalignment.review_target","typeLabel":"string | null"},"error_type":{"oneOf":[{"type":"string","description":"An optional classification; clients must accept additional values.","uniqueKey":"oneOf.27.response.error.oneOf.0.misalignment.error_type.oneOf.0","typeLabel":"string"},{"type":"string","description":"An optional classification; clients must accept additional values.","enum":["potentially_unintended_data_transfer","potentially_unintended_data_access","potentially_unintended_destructive_activity","other"],"uniqueKey":"oneOf.27.response.error.oneOf.0.misalignment.error_type.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"oneOf.27.response.error.oneOf.0.misalignment.error_type","typeLabel":"string | enum\u003cstring>"},"detailed_explanation":{"type":"string","description":"The public explanation for this block.","uniqueKey":"oneOf.27.response.error.oneOf.0.misalignment.detailed_explanation","typeLabel":"string"},"steer":{"properties":{"message":{"type":"string","description":"The public continuation instruction.","isRequired":true,"uniqueKey":"oneOf.27.response.error.oneOf.0.misalignment.steer.message","typeLabel":"string"}},"type":"object","required":["message"],"description":"An optional public continuation instruction.","uniqueKey":"oneOf.27.response.error.oneOf.0.misalignment.steer","typeLabel":"object"}},"type":"object","required":[],"uniqueKey":"oneOf.27.response.error.oneOf.0.misalignment","typeLabel":"object"}},"isRequired":true,"uniqueKey":"oneOf.27.response.error.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.27.response.error.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.27.response.error","typeLabel":"object | null"},"incomplete_details":{"oneOf":[{"type":"object","description":"Details about why the response is incomplete.\n","properties":{"reason":{"type":"string","description":"The reason why the response is incomplete. `steered` means\nthe response stopped at a safe output boundary after a\nWebSocket `response.steer` event. The server can then create\na successor response automatically with the queued input.\n","enum":["max_output_tokens","max_messages","content_filter","steered"],"uniqueKey":"oneOf.27.response.incomplete_details.oneOf.0.reason","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.27.response.incomplete_details.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.27.response.incomplete_details.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.27.response.incomplete_details","typeLabel":"object | null"},"output":{"type":"array","description":"An array of content items generated by the model.\n\n- The length and order of items in the `output` array is dependent\n on the model's response.\n- Rather than accessing the first item in the `output` array and\n assuming it's an `assistant` message with the content generated by\n the model, you might consider using the `output_text` property where\n supported in SDKs.\n","items":{"oneOf":[{"type":"object","title":"Output message","description":"An output message from the model.\n","required":["id","type","role","content","status"],"properties":{"id":{"type":"string","description":"The unique ID of the output message.\n","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.0.id","typeLabel":"string"},"type":{"type":"string","description":"The type of the output message. Always `message`.\n","const":"message","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.0.type","typeLabel":"string"},"role":{"type":"string","description":"The role of the output message. Always `assistant`.\n","const":"assistant","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.0.role","typeLabel":"string"},"content":{"type":"array","description":"The content of the output message.\n","items":{"type":"any","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.0.content.items.[INDEX]","typeLabel":"any"},"isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.0.content","typeLabel":"any[]"},"status":{"type":"string","description":"The status of the message input. One of `in_progress`, `completed`, or\n`incomplete`. Populated when input items are returned via API.\n","enum":["in_progress","completed","incomplete"],"isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.0.status","typeLabel":"enum\u003cstring>"},"phase":{"type":"any","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.0.phase","typeLabel":"any"}},"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.0","typeLabel":"Output message · object"},{"type":"object","title":"File search tool call","description":"The results of a file search tool call. See the\n[file search guide](https://developers.openai.com/api/docs/guides/tools-file-search) for more information.\n","required":["id","type","status","queries"],"properties":{"id":{"type":"string","description":"The unique ID of the file search tool call.\n","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.1.id","typeLabel":"string"},"type":{"type":"string","enum":["file_search_call"],"description":"The type of the file search tool call. Always `file_search_call`.\n","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"status":{"type":"string","description":"The status of the file search tool call. One of `in_progress`,\n`searching`, `incomplete` or `failed`,\n","enum":["in_progress","searching","completed","incomplete","failed"],"isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.1.status","typeLabel":"enum\u003cstring>"},"queries":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.1.queries.items.[INDEX]","typeLabel":"string"},"description":"The queries used to search for files.\n","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.1.queries","typeLabel":"string[]"},"results":{"type":"any","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.1.results","typeLabel":"any"}},"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.1","typeLabel":"File search tool call · object"},{"type":"object","title":"Function tool call","description":"A tool call to run a function. See the\n[function calling guide](https://developers.openai.com/api/docs/guides/function-calling) for more information.\n","required":["type","call_id","name","arguments"],"properties":{"type":{"type":"string","const":"function_call","description":"The type of the function tool call. Always `function_call`.\n","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.2.type","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the function tool call generated by the model.\n","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.2.call_id","typeLabel":"string"},"name":{"type":"string","description":"The name of the function to run.\n","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.2.name","typeLabel":"string"},"arguments":{"type":"string","description":"A JSON string of the arguments to pass to the function.\n","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.2.arguments","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the function tool call.\n","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.2.id","typeLabel":"string"},"caller":{"type":"any","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.2.caller","typeLabel":"any"},"namespace":{"type":"string","description":"The namespace of the function to run.\n","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.2.namespace","typeLabel":"string"},"status":{"type":"string","description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.2.status","typeLabel":"enum\u003cstring>"},"async":{"type":"boolean","description":"Whether the function tool call runs asynchronously.\n","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.2.async","typeLabel":"boolean"}},"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.2","typeLabel":"Function tool call · object"},{"type":"object","title":"Function tool call output","description":"The output of a function tool call.\n","required":["id","status","type","output"],"properties":{"id":{"type":"string","description":"The unique ID of the function call tool output.\n","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.3.id","typeLabel":"string"},"type":{"type":"string","const":"function_call_output","description":"The type of the function tool call output. Always `function_call_output`.\n","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.3.type","typeLabel":"string"},"output":{"type":"any","description":"The output from the function call generated by your code.\nCan be a string or an list of output content.\n","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.3.output","typeLabel":"any"},"status":{"type":"string","description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.3.status","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","description":"The unique ID of the function tool call generated by the model.\n","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.3.call_id","typeLabel":"string"},"name":{"type":"string","description":"The name of the tool that produced the output.\n","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.3.name","typeLabel":"string"},"namespace":{"type":"string","description":"The namespace of the tool that produced the output.\n","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.3.namespace","typeLabel":"string"},"caller":{"type":"any","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.3.caller","typeLabel":"any"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.\n","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.3.created_by","typeLabel":"string"}},"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.3","typeLabel":"Function tool call output · object"},{"type":"object","title":"Web search tool call","description":"The results of a web search tool call. See the\n[web search guide](https://developers.openai.com/api/docs/guides/tools-web-search) for more information.\n","required":["id","type","status"],"properties":{"id":{"type":"string","description":"The unique ID of the web search tool call.\n","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.4.id","typeLabel":"string"},"type":{"type":"string","const":"web_search_call","description":"The type of the web search tool call. Always `web_search_call`.\n","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.4.type","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","searching","completed","failed","incomplete"],"description":"The status of the web search tool call.\n","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.4.status","typeLabel":"enum\u003cstring>"},"action":{"type":"any","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.4.action","typeLabel":"any"}},"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.4","typeLabel":"Web search tool call · object"},{"type":"object","title":"Computer tool call","description":"A tool call to a computer use tool. See the\n[computer use guide](https://developers.openai.com/api/docs/guides/tools-computer-use) for more information.\n","required":["type","id","call_id","pending_safety_checks","status"],"properties":{"type":{"type":"string","description":"The type of the computer call. Always `computer_call`.","enum":["computer_call"],"default":"computer_call","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.5.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the computer call.","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.5.id","typeLabel":"string"},"call_id":{"type":"string","description":"An identifier used when responding to the tool call with output.\n","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.5.call_id","typeLabel":"string"},"pending_safety_checks":{"type":"array","items":{"properties":{"id":{"type":"string","description":"The ID of the pending safety check.","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.5.pending_safety_checks.items.[INDEX].id","typeLabel":"string"},"code":{"type":"any","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.5.pending_safety_checks.items.[INDEX].code","typeLabel":"any"},"message":{"type":"any","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.5.pending_safety_checks.items.[INDEX].message","typeLabel":"any"}},"type":"object","required":["id"],"description":"A pending safety check for the computer call.","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.5.pending_safety_checks.items.[INDEX]","typeLabel":"object"},"description":"The pending safety checks for the computer call.\n","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.5.pending_safety_checks","typeLabel":"object[]"},"status":{"type":"string","description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.5.status","typeLabel":"enum\u003cstring>"},"action":{"type":"any","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.5.action","typeLabel":"any"},"actions":{"title":"Computer Action List","type":"array","description":"Flattened batched actions for `computer_use`. Each action includes an\n`type` discriminator and action-specific fields.\n","items":{"type":"any","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.5.actions.items.[INDEX]","typeLabel":"any"},"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.5.actions","typeLabel":"any[]"}},"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.5","typeLabel":"Computer tool call · object"},{"type":"object","title":"Computer tool call output","description":"The output of a computer tool call.\n","required":["id","status","type","call_id","output"],"properties":{"type":{"type":"string","description":"The type of the computer tool call output. Always `computer_call_output`.\n","const":"computer_call_output","default":"computer_call_output","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.6.type","typeLabel":"string"},"id":{"type":"string","description":"The ID of the computer tool call output.\n","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.6.id","typeLabel":"string"},"call_id":{"type":"string","description":"The ID of the computer tool call that produced the output.\n","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.6.call_id","typeLabel":"string"},"output":{"type":"object","description":"A computer screenshot image used with the computer use tool.\n","properties":{"type":{"type":"string","const":"computer_screenshot","default":"computer_screenshot","description":"Specifies the event type. For a computer screenshot, this property is \nalways set to `computer_screenshot`.\n","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.6.output.type","typeLabel":"string"},"image_url":{"type":"string","format":"uri","description":"The URL of the screenshot image.","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.6.output.image_url","typeLabel":"string\u003curi>"},"file_id":{"type":"string","description":"The identifier of an uploaded file that contains the screenshot.","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.6.output.file_id","typeLabel":"string"}},"required":["type"],"isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.6.output","typeLabel":"object"},"status":{"type":"string","description":"The status of the message input. One of `in_progress`, `completed`, or\n`incomplete`. Populated when input items are returned via API.\n","enum":["completed","incomplete"],"isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.6.status","typeLabel":"enum\u003cstring>"},"acknowledged_safety_checks":{"type":"array","description":"The safety checks reported by the API that have been acknowledged by the\ndeveloper.\n","items":{"properties":{"id":{"type":"string","description":"The ID of the pending safety check.","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.6.acknowledged_safety_checks.items.[INDEX].id","typeLabel":"string"},"code":{"type":"any","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.6.acknowledged_safety_checks.items.[INDEX].code","typeLabel":"any"},"message":{"type":"any","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.6.acknowledged_safety_checks.items.[INDEX].message","typeLabel":"any"}},"type":"object","required":["id"],"description":"A pending safety check for the computer call.","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.6.acknowledged_safety_checks.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.6.acknowledged_safety_checks","typeLabel":"object[]"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.\n","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.6.created_by","typeLabel":"string"}},"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.6","typeLabel":"Computer tool call output · object"},{"type":"object","title":"Reasoning","description":"A description of the chain of thought used by a reasoning model while generating\na response. Be sure to include these items in your `input` to the Responses API\nfor subsequent turns of a conversation if you are manually\n[managing context](https://developers.openai.com/api/docs/guides/conversation-state).\n","required":["id","summary","type"],"properties":{"type":{"type":"string","description":"The type of the object. Always `reasoning`.\n","enum":["reasoning"],"isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.7.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique identifier of the reasoning content.\n","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.7.id","typeLabel":"string"},"summary":{"type":"array","description":"Reasoning summary content.\n","items":{"properties":{"type":{"type":"string","enum":["summary_text"],"description":"The type of the object. Always `summary_text`.","default":"summary_text","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.7.summary.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"A summary of the reasoning output from the model so far.","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.7.summary.items.[INDEX].text","typeLabel":"string"}},"type":"object","required":["type","text"],"title":"Summary text","description":"A summary text from the model.","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.7.summary.items.[INDEX]","typeLabel":"Summary text · object"},"isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.7.summary","typeLabel":"Summary text · object[]"},"encrypted_content":{"type":"any","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.7.encrypted_content","typeLabel":"any"},"content":{"type":"array","description":"Reasoning text content.\n","items":{"properties":{"type":{"type":"string","enum":["reasoning_text"],"description":"The type of the reasoning text. Always `reasoning_text`.","default":"reasoning_text","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.7.content.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"The reasoning text from the model.","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.7.content.items.[INDEX].text","typeLabel":"string"}},"type":"object","required":["type","text"],"title":"Reasoning text","description":"Reasoning text from the model.","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.7.content.items.[INDEX]","typeLabel":"Reasoning text · object"},"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.7.content","typeLabel":"Reasoning text · object[]"},"status":{"type":"string","description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.7.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.7","typeLabel":"Reasoning · object"},{"type":"object","required":["type","id","call_id","code","fingerprint"],"properties":{"type":{"type":"string","enum":["program"],"description":"The type of the item. Always `program`.","default":"program","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.8.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the program item.","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.8.id","typeLabel":"string"},"call_id":{"type":"string","description":"The stable call ID of the program item.","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.8.call_id","typeLabel":"string"},"code":{"type":"string","description":"The JavaScript source executed by programmatic tool calling.","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.8.code","typeLabel":"string"},"fingerprint":{"type":"string","description":"Opaque program replay fingerprint that must be round-tripped.","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.8.fingerprint","typeLabel":"string"}},"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.8","typeLabel":"object"},{"type":"object","required":["type","id","call_id","result","status"],"properties":{"type":{"type":"string","enum":["program_output"],"description":"The type of the item. Always `program_output`.","default":"program_output","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.9.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the program output item.","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.9.id","typeLabel":"string"},"call_id":{"type":"string","description":"The call ID of the program item.","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.9.call_id","typeLabel":"string"},"result":{"type":"string","description":"The result produced by the program item.","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.9.result","typeLabel":"string"},"status":{"type":"string","enum":["completed","incomplete"],"description":"The terminal status of the program output item.","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.9.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.9","typeLabel":"object"},{"type":"object","required":["type","id","call_id","execution","arguments","status"],"properties":{"type":{"type":"string","enum":["tool_search_call"],"description":"The type of the item. Always `tool_search_call`.","default":"tool_search_call","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.10.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the tool search call item.","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.10.id","typeLabel":"string"},"call_id":{"type":"any","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.10.call_id","typeLabel":"any"},"execution":{"type":"string","enum":["server","client"],"description":"Whether tool search was executed by the server or by the client.","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.10.execution","typeLabel":"enum\u003cstring>"},"arguments":{"description":"Arguments used for the tool search call.","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.10.arguments","typeLabel":"any"},"status":{"type":"string","enum":["in_progress","completed","incomplete"],"description":"The status of the tool search call item that was recorded.","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.10.status","typeLabel":"enum\u003cstring>"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.10.created_by","typeLabel":"string"}},"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.10","typeLabel":"object"},{"type":"object","required":["type","id","call_id","execution","tools","status"],"properties":{"type":{"type":"string","enum":["tool_search_output"],"description":"The type of the item. Always `tool_search_output`.","default":"tool_search_output","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.11.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the tool search output item.","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.11.id","typeLabel":"string"},"call_id":{"type":"any","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.11.call_id","typeLabel":"any"},"execution":{"type":"string","enum":["server","client"],"description":"Whether tool search was executed by the server or by the client.","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.11.execution","typeLabel":"enum\u003cstring>"},"tools":{"items":{"type":"any","description":"A tool that can be used to generate a response.\n","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.11.tools.items.[INDEX]","typeLabel":"any"},"type":"array","description":"The loaded tool definitions returned by tool search.","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.11.tools","typeLabel":"any[]"},"status":{"type":"string","enum":["in_progress","completed","incomplete"],"description":"The status of the tool search output item that was recorded.","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.11.status","typeLabel":"enum\u003cstring>"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.11.created_by","typeLabel":"string"}},"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.11","typeLabel":"object"},{"type":"object","required":["type","id","role","tools"],"properties":{"type":{"type":"string","enum":["additional_tools"],"description":"The type of the item. Always `additional_tools`.","default":"additional_tools","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.12.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the additional tools item.","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.12.id","typeLabel":"string"},"role":{"type":"string","enum":["unknown","user","assistant","system","critic","discriminator","developer","tool"],"description":"The role that provided the additional tools.","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.12.role","typeLabel":"enum\u003cstring>"},"tools":{"items":{"type":"any","description":"A tool that can be used to generate a response.\n","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.12.tools.items.[INDEX]","typeLabel":"any"},"type":"array","description":"The additional tool definitions made available at this item.","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.12.tools","typeLabel":"any[]"}},"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.12","typeLabel":"object"},{"type":"object","title":"Compaction item","description":"A compaction item generated by the [`v1/responses/compact` API](https://developers.openai.com/api/reference/resources/responses/methods/compact).","required":["type","id","encrypted_content"],"properties":{"type":{"type":"string","enum":["compaction"],"description":"The type of the item. Always `compaction`.","default":"compaction","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.13.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the compaction item.","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.13.id","typeLabel":"string"},"encrypted_content":{"type":"string","description":"The encrypted content that was produced by compaction.","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.13.encrypted_content","typeLabel":"string"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.13.created_by","typeLabel":"string"}},"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.13","typeLabel":"Compaction item · object"},{"type":"object","title":"Image generation call","description":"An image generation request made by the model.","required":["type","id","status","result"],"properties":{"type":{"type":"string","enum":["image_generation_call"],"description":"The type of the image generation call. Always `image_generation_call`.","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.14.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the image generation call.","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.14.id","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","completed","generating","failed"],"description":"The status of the image generation call.","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.14.status","typeLabel":"enum\u003cstring>"},"result":{"type":"any","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.14.result","typeLabel":"any"},"error":{"properties":{"code":{"type":"any","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.14.error.code","typeLabel":"any"},"type":{"type":"string","description":"The error type.","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.14.error.type","typeLabel":"string"},"message":{"type":"string","description":"A description of the error.","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.14.error.message","typeLabel":"string"},"param":{"type":"any","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.14.error.param","typeLabel":"any"},"moderation_details":{"properties":{"moderation_stage":{"type":"string","enum":["input","output","unknown"],"description":"The stage where moderation blocked the image generation call.","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.14.error.moderation_details.moderation_stage","typeLabel":"enum\u003cstring>"},"categories":{"items":{"type":"string","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.14.error.moderation_details.categories.items.[INDEX]","typeLabel":"string"},"type":"array","description":"Public moderation categories. New category values may be added over time.","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.14.error.moderation_details.categories","typeLabel":"string[]"}},"type":"object","required":["moderation_stage","categories"],"description":"Public details for a `moderation_blocked` error, when available.","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.14.error.moderation_details","typeLabel":"object"}},"type":"object","required":["code","type","message","param"],"description":"Details of a moderation failure, when available.","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.14.error","typeLabel":"object"},"size":{"type":"any","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.14.size","typeLabel":"any"},"quality":{"type":"any","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.14.quality","typeLabel":"any"},"action":{"type":"any","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.14.action","typeLabel":"any"},"background":{"type":"any","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.14.background","typeLabel":"any"},"output_format":{"type":"any","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.14.output_format","typeLabel":"any"},"svg_usage":{"properties":{"model":{"type":"string","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.14.svg_usage.model","typeLabel":"string"},"input_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.14.svg_usage.input_tokens","typeLabel":"integer"},"output_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.14.svg_usage.output_tokens","typeLabel":"integer"},"total_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.14.svg_usage.total_tokens","typeLabel":"integer"},"reasoning_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.14.svg_usage.reasoning_tokens","typeLabel":"integer"}},"type":"object","required":["model","input_tokens","output_tokens","total_tokens","reasoning_tokens"],"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.14.svg_usage","typeLabel":"object"},"revised_prompt":{"type":"any","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.14.revised_prompt","typeLabel":"any"}},"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.14","typeLabel":"Image generation call · object"},{"type":"object","title":"Code interpreter tool call","description":"A tool call to run code.\n","required":["type","id","status","container_id","code","outputs"],"properties":{"type":{"type":"string","enum":["code_interpreter_call"],"default":"code_interpreter_call","description":"The type of the code interpreter tool call. Always `code_interpreter_call`.\n","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.15.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the code interpreter tool call.\n","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.15.id","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","completed","incomplete","interpreting","failed"],"description":"The status of the code interpreter tool call. Valid values are `in_progress`, `completed`, `incomplete`, `interpreting`, and `failed`.\n","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.15.status","typeLabel":"enum\u003cstring>"},"container_id":{"type":"string","description":"The ID of the container used to run the code.\n","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.15.container_id","typeLabel":"string"},"code":{"type":"any","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.15.code","typeLabel":"any"},"outputs":{"type":"any","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.15.outputs","typeLabel":"any"}},"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.15","typeLabel":"Code interpreter tool call · object"},{"type":"object","title":"Local shell call","description":"A tool call to run a command on the local shell.\n","required":["type","id","call_id","action","status"],"properties":{"type":{"type":"string","enum":["local_shell_call"],"description":"The type of the local shell call. Always `local_shell_call`.\n","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.16.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the local shell call.\n","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.16.id","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the local shell tool call generated by the model.\n","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.16.call_id","typeLabel":"string"},"action":{"properties":{"type":{"type":"string","enum":["exec"],"description":"The type of the local shell action. Always `exec`.","default":"exec","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.16.action.type","typeLabel":"enum\u003cstring>"},"command":{"items":{"type":"string","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.16.action.command.items.[INDEX]","typeLabel":"string"},"type":"array","description":"The command to run.","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.16.action.command","typeLabel":"string[]"},"env":{"additionalProperties":{"type":"string","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.16.action.env.additionalProperties","typeLabel":"string"},"type":"object","description":"Environment variables to set for the command.","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.16.action.env","typeLabel":"object"},"timeout_ms":{"type":"any","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.16.action.timeout_ms","typeLabel":"any"},"working_directory":{"type":"any","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.16.action.working_directory","typeLabel":"any"},"user":{"type":"any","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.16.action.user","typeLabel":"any"}},"type":"object","required":["type","command","env"],"title":"Local shell exec action","description":"Execute a shell command on the server.","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.16.action","typeLabel":"Local shell exec action · object"},"status":{"type":"string","enum":["in_progress","completed","incomplete"],"description":"The status of the local shell call.\n","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.16.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.16","typeLabel":"Local shell call · object"},{"type":"object","title":"Local shell call output","description":"The output of a local shell tool call.\n","required":["id","type","call_id","output"],"properties":{"type":{"type":"string","enum":["local_shell_call_output"],"description":"The type of the local shell tool call output. Always `local_shell_call_output`.\n","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.17.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the local shell tool call generated by the model.\n","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.17.id","typeLabel":"string"},"output":{"type":"string","description":"A JSON string of the output of the local shell tool call.\n","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.17.output","typeLabel":"string"},"status":{"type":"any","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.17.status","typeLabel":"any"}},"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.17","typeLabel":"Local shell call output · object"},{"type":"object","title":"Shell tool call","description":"A tool call that executes one or more shell commands in a managed environment.","required":["type","id","call_id","action","status","environment"],"properties":{"type":{"type":"string","enum":["shell_call"],"description":"The type of the item. Always `shell_call`.","default":"shell_call","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.18.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the shell tool call. Populated when this item is returned via API.","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.18.id","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the shell tool call generated by the model.","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.18.call_id","typeLabel":"string"},"action":{"properties":{"commands":{"items":{"type":"string","description":"A list of commands to run.","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.18.action.commands.items.[INDEX]","typeLabel":"string"},"type":"array","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.18.action.commands","typeLabel":"string[]"},"timeout_ms":{"type":"any","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.18.action.timeout_ms","typeLabel":"any"},"max_output_length":{"type":"any","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.18.action.max_output_length","typeLabel":"any"}},"type":"object","required":["commands","timeout_ms","max_output_length"],"title":"Shell exec action","description":"The shell commands and limits that describe how to run the tool call.","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.18.action","typeLabel":"Shell exec action · object"},"status":{"type":"string","enum":["in_progress","completed","incomplete"],"description":"The status of the shell call. One of `in_progress`, `completed`, or `incomplete`.","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.18.status","typeLabel":"enum\u003cstring>"},"environment":{"type":"any","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.18.environment","typeLabel":"any"},"caller":{"type":"any","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.18.caller","typeLabel":"any"},"created_by":{"type":"string","description":"The ID of the entity that created this tool call.","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.18.created_by","typeLabel":"string"}},"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.18","typeLabel":"Shell tool call · object"},{"type":"object","title":"Shell call output","description":"The output of a shell tool call that was emitted.","required":["type","id","call_id","status","output","max_output_length"],"properties":{"type":{"type":"string","enum":["shell_call_output"],"description":"The type of the shell call output. Always `shell_call_output`.","default":"shell_call_output","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.19.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the shell call output. Populated when this item is returned via API.","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.19.id","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the shell tool call generated by the model.","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.19.call_id","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","completed","incomplete"],"description":"The status of the shell call output. One of `in_progress`, `completed`, or `incomplete`.","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.19.status","typeLabel":"enum\u003cstring>"},"output":{"items":{"properties":{"stdout":{"type":"string","description":"The standard output that was captured.","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.19.output.items.[INDEX].stdout","typeLabel":"string"},"stderr":{"type":"string","description":"The standard error output that was captured.","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.19.output.items.[INDEX].stderr","typeLabel":"string"},"outcome":{"type":"any","title":"Shell call outcome","description":"Represents either an exit outcome (with an exit code) or a timeout outcome for a shell call output chunk.","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.19.output.items.[INDEX].outcome","typeLabel":"any"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.19.output.items.[INDEX].created_by","typeLabel":"string"}},"type":"object","required":["stdout","stderr","outcome"],"title":"Shell call output content","description":"The content of a shell tool call output that was emitted.","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.19.output.items.[INDEX]","typeLabel":"Shell call output content · object"},"type":"array","description":"An array of shell call output contents","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.19.output","typeLabel":"Shell call output content · object[]"},"max_output_length":{"type":"any","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.19.max_output_length","typeLabel":"any"},"caller":{"type":"any","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.19.caller","typeLabel":"any"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.19.created_by","typeLabel":"string"}},"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.19","typeLabel":"Shell call output · object"},{"type":"object","title":"Apply patch tool call","description":"A tool call that applies file diffs by creating, deleting, or updating files.","required":["type","id","call_id","status","operation"],"properties":{"type":{"type":"string","enum":["apply_patch_call"],"description":"The type of the item. Always `apply_patch_call`.","default":"apply_patch_call","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.20.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the apply patch tool call. Populated when this item is returned via API.","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.20.id","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the apply patch tool call generated by the model.","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.20.call_id","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","completed"],"description":"The status of the apply patch tool call. One of `in_progress` or `completed`.","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.20.status","typeLabel":"enum\u003cstring>"},"operation":{"type":"any","title":"Apply patch operation","description":"One of the create_file, delete_file, or update_file operations applied via apply_patch.","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.20.operation","typeLabel":"any"},"caller":{"type":"any","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.20.caller","typeLabel":"any"},"created_by":{"type":"string","description":"The ID of the entity that created this tool call.","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.20.created_by","typeLabel":"string"}},"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.20","typeLabel":"Apply patch tool call · object"},{"type":"object","title":"Apply patch tool call output","description":"The output emitted by an apply patch tool call.","required":["type","id","call_id","status"],"properties":{"type":{"type":"string","enum":["apply_patch_call_output"],"description":"The type of the item. Always `apply_patch_call_output`.","default":"apply_patch_call_output","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.21.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the apply patch tool call output. Populated when this item is returned via API.","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.21.id","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the apply patch tool call generated by the model.","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.21.call_id","typeLabel":"string"},"status":{"type":"string","enum":["completed","failed"],"description":"The status of the apply patch tool call output. One of `completed` or `failed`.","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.21.status","typeLabel":"enum\u003cstring>"},"caller":{"type":"any","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.21.caller","typeLabel":"any"},"output":{"type":"any","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.21.output","typeLabel":"any"},"created_by":{"type":"string","description":"The ID of the entity that created this tool call output.","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.21.created_by","typeLabel":"string"}},"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.21","typeLabel":"Apply patch tool call output · object"},{"type":"object","title":"MCP tool call","description":"An invocation of a tool on an MCP server.\n","required":["type","id","server_label","name","arguments"],"properties":{"type":{"type":"string","const":"mcp_call","description":"The type of the item. Always `mcp_call`.\n","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.22.type","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the tool call.\n","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.22.id","typeLabel":"string"},"server_label":{"type":"string","description":"The label of the MCP server running the tool.\n","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.22.server_label","typeLabel":"string"},"name":{"type":"string","description":"The name of the tool that was run.\n","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.22.name","typeLabel":"string"},"arguments":{"type":"string","description":"A JSON string of the arguments passed to the tool.\n","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.22.arguments","typeLabel":"string"},"output":{"type":"any","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.22.output","typeLabel":"any"},"error":{"type":"any","description":"The error from the tool call, if any.","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.22.error","typeLabel":"any"},"status":{"type":"string","enum":["in_progress","completed","incomplete","calling","failed"],"description":"The status of the tool call. One of `in_progress`, `completed`, `incomplete`, `calling`, or `failed`.\n","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.22.status","typeLabel":"enum\u003cstring>"},"approval_request_id":{"type":"any","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.22.approval_request_id","typeLabel":"any"}},"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.22","typeLabel":"MCP tool call · object"},{"type":"object","title":"MCP list tools","description":"A list of tools available on an MCP server.\n","required":["type","id","server_label","tools"],"properties":{"type":{"type":"string","const":"mcp_list_tools","description":"The type of the item. Always `mcp_list_tools`.\n","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.23.type","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the list.\n","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.23.id","typeLabel":"string"},"server_label":{"type":"string","description":"The label of the MCP server.\n","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.23.server_label","typeLabel":"string"},"tools":{"type":"array","items":{"type":"object","title":"MCP list tools tool","description":"A tool available on an MCP server.\n","properties":{"name":{"type":"string","description":"The name of the tool.\n","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.23.tools.items.[INDEX].name","typeLabel":"string"},"input_schema":{"type":"object","description":"The JSON schema describing the tool's input.\n","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.23.tools.items.[INDEX].input_schema","typeLabel":"object"},"description":{"type":"any","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.23.tools.items.[INDEX].description","typeLabel":"any"},"annotations":{"type":"any","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.23.tools.items.[INDEX].annotations","typeLabel":"any"}},"required":["name","input_schema"],"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.23.tools.items.[INDEX]","typeLabel":"MCP list tools tool · object"},"description":"The tools available on the server.\n","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.23.tools","typeLabel":"MCP list tools tool · object[]"},"error":{"type":"any","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.23.error","typeLabel":"any"}},"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.23","typeLabel":"MCP list tools · object"},{"type":"object","title":"MCP approval request","description":"A request for human approval of a tool invocation.\n","required":["type","id","server_label","name","arguments"],"properties":{"type":{"type":"string","const":"mcp_approval_request","description":"The type of the item. Always `mcp_approval_request`.\n","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.24.type","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the approval request.\n","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.24.id","typeLabel":"string"},"server_label":{"type":"string","description":"The label of the MCP server making the request.\n","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.24.server_label","typeLabel":"string"},"name":{"type":"string","description":"The name of the tool to run.\n","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.24.name","typeLabel":"string"},"arguments":{"type":"string","description":"A JSON string of arguments for the tool.\n","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.24.arguments","typeLabel":"string"}},"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.24","typeLabel":"MCP approval request · object"},{"type":"object","title":"MCP approval response","description":"A response to an MCP approval request.\n","required":["type","id","request_id","approve","approval_request_id"],"properties":{"type":{"type":"string","const":"mcp_approval_response","description":"The type of the item. Always `mcp_approval_response`.\n","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.25.type","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the approval response\n","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.25.id","typeLabel":"string"},"approval_request_id":{"type":"string","description":"The ID of the approval request being answered.\n","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.25.approval_request_id","typeLabel":"string"},"approve":{"type":"boolean","description":"Whether the request was approved.\n","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.25.approve","typeLabel":"boolean"},"reason":{"type":"any","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.25.reason","typeLabel":"any"}},"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.25","typeLabel":"MCP approval response · object"},{"type":"object","title":"Custom tool call","description":"A call to a custom tool created by the model.\n","required":["type","call_id","name","input"],"properties":{"type":{"type":"string","enum":["custom_tool_call"],"description":"The type of the custom tool call. Always `custom_tool_call`.\n","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.26.type","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","description":"An identifier used to map this custom tool call to a tool call output.\n","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.26.call_id","typeLabel":"string"},"name":{"type":"string","description":"The name of the custom tool being called.\n","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.26.name","typeLabel":"string"},"input":{"type":"string","description":"The input for the custom tool call generated by the model.\n","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.26.input","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the custom tool call in the OpenAI platform.\n","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.26.id","typeLabel":"string"},"caller":{"type":"any","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.26.caller","typeLabel":"any"},"namespace":{"type":"string","description":"The namespace of the custom tool being called.\n","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.26.namespace","typeLabel":"string"},"async":{"type":"boolean","description":"Whether the custom tool call runs asynchronously.\n","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.26.async","typeLabel":"boolean"}},"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.26","typeLabel":"Custom tool call · object"},{"type":"object","title":"ResponseCustomToolCallOutputItem","description":"The output of a custom tool call from your code, being sent back to the model.\n","required":["id","status","type","call_id","output"],"properties":{"type":{"type":"string","enum":["custom_tool_call_output"],"description":"The type of the custom tool call output. Always `custom_tool_call_output`.\n","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.27.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the custom tool call output item.\n","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.27.id","typeLabel":"string"},"call_id":{"type":"string","description":"The call ID, used to map this custom tool call output to a custom tool call.\n","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.27.call_id","typeLabel":"string"},"output":{"type":"any","description":"The output from the custom tool call generated by your code.\nCan be a string or an list of output content.\n","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.27.output","typeLabel":"any"},"status":{"type":"string","enum":["in_progress","completed","incomplete"],"description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","isRequired":true,"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.27.status","typeLabel":"enum\u003cstring>"},"caller":{"type":"any","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.27.caller","typeLabel":"any"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.\n","uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.27.created_by","typeLabel":"string"}},"uniqueKey":"oneOf.27.response.output.items.[INDEX].oneOf.27","typeLabel":"ResponseCustomToolCallOutputItem · object"}],"uniqueKey":"oneOf.27.response.output.items.[INDEX]","typeLabel":"Output message · object · File search tool call · object · Function tool call · object · Function tool call output · object · Web search tool call · object · Computer tool call · object · Computer tool call output · object · Reasoning · object · object · object · object · object · object · Compaction item · object · Image generation call · object · Code interpreter tool call · object · Local shell call · object · Local shell call output · object · Shell tool call · object · Shell call output · object · Apply patch tool call · object · Apply patch tool call output · object · MCP tool call · object · MCP list tools · object · MCP approval request · object · MCP approval response · object · Custom tool call · object · ResponseCustomToolCallOutputItem · object"},"isRequired":true,"uniqueKey":"oneOf.27.response.output","typeLabel":"Output message · object · File search tool call · object · Function tool call · object · Function tool call output · object · Web search tool call · object · Computer tool call · object · Computer tool call output · object · Reasoning · object · object · object · object · object · object · Compaction item · object · Image generation call · object · Code interpreter tool call · object · Local shell call · object · Local shell call output · object · Shell tool call · object · Shell call output · object · Apply patch tool call · object · Apply patch tool call output · object · MCP tool call · object · MCP list tools · object · MCP approval request · object · MCP approval response · object · Custom tool call · object · ResponseCustomToolCallOutputItem · object[]"},"instructions":{"oneOf":[{"type":"string","description":"A system (or developer) message inserted into the model's context.\n\nWhen using along with `previous_response_id`, the instructions from a previous\nresponse will not be carried over to the next response. This makes it simple\nto swap out system (or developer) messages in new responses.\n","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.0","typeLabel":"string"},{"type":"array","items":{"oneOf":[{"type":"object","title":"Input message","description":"A message input to the model with a role indicating instruction following\nhierarchy. Instructions given with the `developer` or `system` role take\nprecedence over instructions given with the `user` role. Messages with the\n`assistant` role are presumed to have been generated by the model in previous\ninteractions.\n","required":["role","content"],"properties":{"role":{"type":"string","description":"The role of the message input. One of `user`, `assistant`, `system`, or\n`developer`.\n","enum":["user","assistant","system","developer"],"isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.0.role","typeLabel":"enum\u003cstring>"},"content":{"type":"any","description":"Text, image, or audio input to the model, used to generate a response.\nCan also contain previous assistant responses.\n","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.0.content","typeLabel":"any"},"phase":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.0.phase","typeLabel":"any"},"type":{"type":"string","description":"The type of the message input. Always `message`.\n","enum":["message"],"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.0","typeLabel":"Input message · object"},{"type":"object","title":"Input message","description":"A message input to the model with a role indicating instruction following\nhierarchy. Instructions given with the `developer` or `system` role take\nprecedence over instructions given with the `user` role.\n","required":["role","content"],"properties":{"role":{"type":"string","description":"The role of the message input. One of `user`, `system`, or `developer`.\n","enum":["user","system","developer"],"isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.1.role","typeLabel":"enum\u003cstring>"},"content":{"type":"array","title":"Input item content list","description":"A list of one or many input items to the model, containing different content \ntypes.\n","items":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.1.content.items.[INDEX]","typeLabel":"any"},"isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.1.content","typeLabel":"any[]"},"type":{"type":"string","description":"The type of the message input. Always set to `message`.\n","const":"message","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.1.type","typeLabel":"string"},"status":{"type":"string","description":"The status of item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.1.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.1","typeLabel":"Input message · object"},{"type":"object","title":"Output message","description":"An output message from the model.\n","required":["id","type","role","content","status"],"properties":{"id":{"type":"string","description":"The unique ID of the output message.\n","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.2.id","typeLabel":"string"},"type":{"type":"string","description":"The type of the output message. Always `message`.\n","const":"message","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.2.type","typeLabel":"string"},"role":{"type":"string","description":"The role of the output message. Always `assistant`.\n","const":"assistant","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.2.role","typeLabel":"string"},"content":{"type":"array","description":"The content of the output message.\n","items":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.2.content.items.[INDEX]","typeLabel":"any"},"isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.2.content","typeLabel":"any[]"},"status":{"type":"string","description":"The status of the message input. One of `in_progress`, `completed`, or\n`incomplete`. Populated when input items are returned via API.\n","enum":["in_progress","completed","incomplete"],"isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.2.status","typeLabel":"enum\u003cstring>"},"phase":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.2.phase","typeLabel":"any"}},"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.2","typeLabel":"Output message · object"},{"type":"object","title":"File search tool call","description":"The results of a file search tool call. See the\n[file search guide](https://developers.openai.com/api/docs/guides/tools-file-search) for more information.\n","required":["id","type","status","queries"],"properties":{"id":{"type":"string","description":"The unique ID of the file search tool call.\n","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.3.id","typeLabel":"string"},"type":{"type":"string","enum":["file_search_call"],"description":"The type of the file search tool call. Always `file_search_call`.\n","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"status":{"type":"string","description":"The status of the file search tool call. One of `in_progress`,\n`searching`, `incomplete` or `failed`,\n","enum":["in_progress","searching","completed","incomplete","failed"],"isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.3.status","typeLabel":"enum\u003cstring>"},"queries":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.3.queries.items.[INDEX]","typeLabel":"string"},"description":"The queries used to search for files.\n","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.3.queries","typeLabel":"string[]"},"results":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.3.results","typeLabel":"any"}},"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.3","typeLabel":"File search tool call · object"},{"type":"object","title":"Computer tool call","description":"A tool call to a computer use tool. See the\n[computer use guide](https://developers.openai.com/api/docs/guides/tools-computer-use) for more information.\n","required":["type","id","call_id","pending_safety_checks","status"],"properties":{"type":{"type":"string","description":"The type of the computer call. Always `computer_call`.","enum":["computer_call"],"default":"computer_call","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.4.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the computer call.","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.4.id","typeLabel":"string"},"call_id":{"type":"string","description":"An identifier used when responding to the tool call with output.\n","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.4.call_id","typeLabel":"string"},"pending_safety_checks":{"type":"array","items":{"properties":{"id":{"type":"string","description":"The ID of the pending safety check.","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.4.pending_safety_checks.items.[INDEX].id","typeLabel":"string"},"code":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.4.pending_safety_checks.items.[INDEX].code","typeLabel":"any"},"message":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.4.pending_safety_checks.items.[INDEX].message","typeLabel":"any"}},"type":"object","required":["id"],"description":"A pending safety check for the computer call.","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.4.pending_safety_checks.items.[INDEX]","typeLabel":"object"},"description":"The pending safety checks for the computer call.\n","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.4.pending_safety_checks","typeLabel":"object[]"},"status":{"type":"string","description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.4.status","typeLabel":"enum\u003cstring>"},"action":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.4.action","typeLabel":"any"},"actions":{"title":"Computer Action List","type":"array","description":"Flattened batched actions for `computer_use`. Each action includes an\n`type` discriminator and action-specific fields.\n","items":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.4.actions.items.[INDEX]","typeLabel":"any"},"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.4.actions","typeLabel":"any[]"}},"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.4","typeLabel":"Computer tool call · object"},{"type":"object","title":"Computer tool call output","description":"The output of a computer tool call.","required":["call_id","type","output"],"properties":{"call_id":{"type":"string","maxLength":64,"minLength":1,"description":"The ID of the computer tool call that produced the output.","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.5.call_id","typeLabel":"string"},"type":{"type":"string","enum":["computer_call_output"],"description":"The type of the computer tool call output. Always `computer_call_output`.","default":"computer_call_output","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.5.type","typeLabel":"enum\u003cstring>"},"output":{"type":"object","description":"A computer screenshot image used with the computer use tool.\n","properties":{"type":{"type":"string","const":"computer_screenshot","default":"computer_screenshot","description":"Specifies the event type. For a computer screenshot, this property is \nalways set to `computer_screenshot`.\n","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.5.output.type","typeLabel":"string"},"image_url":{"type":"string","format":"uri","description":"The URL of the screenshot image.","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.5.output.image_url","typeLabel":"string\u003curi>"},"file_id":{"type":"string","description":"The identifier of an uploaded file that contains the screenshot.","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.5.output.file_id","typeLabel":"string"}},"required":["type"],"isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.5.output","typeLabel":"object"},"id":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.5.id","typeLabel":"any"},"acknowledged_safety_checks":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.5.acknowledged_safety_checks","typeLabel":"any"},"status":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.5.status","typeLabel":"any"}},"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.5","typeLabel":"Computer tool call output · object"},{"type":"object","title":"Web search tool call","description":"The results of a web search tool call. See the\n[web search guide](https://developers.openai.com/api/docs/guides/tools-web-search) for more information.\n","required":["id","type","status"],"properties":{"id":{"type":"string","description":"The unique ID of the web search tool call.\n","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.6.id","typeLabel":"string"},"type":{"type":"string","const":"web_search_call","description":"The type of the web search tool call. Always `web_search_call`.\n","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.6.type","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","searching","completed","failed","incomplete"],"description":"The status of the web search tool call.\n","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.6.status","typeLabel":"enum\u003cstring>"},"action":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.6.action","typeLabel":"any"}},"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.6","typeLabel":"Web search tool call · object"},{"type":"object","title":"Function tool call","description":"A tool call to run a function. See the\n[function calling guide](https://developers.openai.com/api/docs/guides/function-calling) for more information.\n","required":["type","call_id","name","arguments"],"properties":{"type":{"type":"string","const":"function_call","description":"The type of the function tool call. Always `function_call`.\n","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.7.type","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the function tool call generated by the model.\n","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.7.call_id","typeLabel":"string"},"name":{"type":"string","description":"The name of the function to run.\n","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.7.name","typeLabel":"string"},"arguments":{"type":"string","description":"A JSON string of the arguments to pass to the function.\n","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.7.arguments","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the function tool call.\n","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.7.id","typeLabel":"string"},"caller":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.7.caller","typeLabel":"any"},"namespace":{"type":"string","description":"The namespace of the function to run.\n","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.7.namespace","typeLabel":"string"},"status":{"type":"string","description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.7.status","typeLabel":"enum\u003cstring>"},"async":{"type":"boolean","description":"Whether the function tool call runs asynchronously.\n","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.7.async","typeLabel":"boolean"}},"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.7","typeLabel":"Function tool call · object"},{"type":"object","title":"Function tool call output","description":"The output of a function tool call.","required":["type","output"],"properties":{"type":{"type":"string","enum":["function_call_output"],"description":"The type of the function tool call output. Always `function_call_output`.","default":"function_call_output","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.8.type","typeLabel":"enum\u003cstring>"},"output":{"type":"any","description":"Text, image, or file output of the function tool call.","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.8.output","typeLabel":"any"},"id":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.8.id","typeLabel":"any"},"call_id":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.8.call_id","typeLabel":"any"},"name":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.8.name","typeLabel":"any"},"namespace":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.8.namespace","typeLabel":"any"},"caller":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.8.caller","typeLabel":"any"},"status":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.8.status","typeLabel":"any"}},"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.8","typeLabel":"Function tool call output · object"},{"type":"object","title":"Item","description":"An item representing part of the context for the response to be\ngenerated by the model. Can contain text, images, and audio inputs,\nas well as previous assistant responses and tool call outputs.\n","required":["type","arguments"],"properties":{"type":{"type":"string","enum":["tool_search_call"],"description":"The item type. Always `tool_search_call`.","default":"tool_search_call","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.9.type","typeLabel":"enum\u003cstring>"},"arguments":{"properties":{},"type":"object","required":[],"description":"The arguments supplied to the tool search call.","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.9.arguments","typeLabel":"object"},"id":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.9.id","typeLabel":"any"},"call_id":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.9.call_id","typeLabel":"any"},"execution":{"type":"string","enum":["server","client"],"description":"Whether tool search was executed by the server or by the client.","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.9.execution","typeLabel":"enum\u003cstring>"},"status":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.9.status","typeLabel":"any"}},"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.9","typeLabel":"Item · object"},{"type":"object","title":"Item","description":"An item representing part of the context for the response to be\ngenerated by the model. Can contain text, images, and audio inputs,\nas well as previous assistant responses and tool call outputs.\n","required":["type","tools"],"properties":{"type":{"type":"string","enum":["tool_search_output"],"description":"The item type. Always `tool_search_output`.","default":"tool_search_output","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.10.type","typeLabel":"enum\u003cstring>"},"tools":{"items":{"type":"any","description":"A tool definition returned by a tool search output.\n","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.10.tools.items.[INDEX]","typeLabel":"any"},"type":"array","description":"The loaded tool definitions returned by the tool search output.","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.10.tools","typeLabel":"any[]"},"id":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.10.id","typeLabel":"any"},"call_id":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.10.call_id","typeLabel":"any"},"execution":{"type":"string","enum":["server","client"],"description":"Whether tool search was executed by the server or by the client.","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.10.execution","typeLabel":"enum\u003cstring>"},"status":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.10.status","typeLabel":"any"}},"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.10","typeLabel":"Item · object"},{"type":"object","title":"Item","description":"An item representing part of the context for the response to be\ngenerated by the model. Can contain text, images, and audio inputs,\nas well as previous assistant responses and tool call outputs.\n","required":["type","role","tools"],"properties":{"type":{"type":"string","enum":["additional_tools"],"description":"The item type. Always `additional_tools`.","default":"additional_tools","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.11.type","typeLabel":"enum\u003cstring>"},"role":{"type":"string","enum":["developer"],"description":"The role that provided the additional tools. Only `developer` is supported.","default":"developer","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.11.role","typeLabel":"enum\u003cstring>"},"tools":{"items":{"type":"any","description":"A tool that can be used to generate a response.\n","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.11.tools.items.[INDEX]","typeLabel":"any"},"type":"array","description":"A list of additional tools made available at this item.","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.11.tools","typeLabel":"any[]"},"id":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.11.id","typeLabel":"any"}},"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.11","typeLabel":"Item · object"},{"type":"object","title":"Item","description":"An update to the conversation's response configuration. Supply reasoning,\ntext, or both. Each setting stays in effect until a later update replaces it.\n","required":["type"],"properties":{"type":{"type":"string","const":"configuration_update","description":"The item type. Always `configuration_update`.","default":"configuration_update","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.12.type","typeLabel":"string"},"id":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.12.id","typeLabel":"any"},"reasoning":{"type":"object","description":"Updates to reasoning configuration. Only effort is supported.","properties":{"effort":{"type":"any","description":"The reasoning effort to use for subsequent responses until another\nconfiguration update replaces it.\n","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.12.reasoning.effort","typeLabel":"any"}},"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.12.reasoning","typeLabel":"object"},"text":{"type":"object","description":"The text output configuration for subsequent responses.","properties":{"format":{"type":"any","description":"Use a JSON schema for structured output or text to return to plain text.","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.12.text.format","typeLabel":"any"}},"required":["format"],"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.12.text","typeLabel":"object"}},"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.12","typeLabel":"Item · object"},{"type":"object","title":"Reasoning","description":"A description of the chain of thought used by a reasoning model while generating\na response. Be sure to include these items in your `input` to the Responses API\nfor subsequent turns of a conversation if you are manually\n[managing context](https://developers.openai.com/api/docs/guides/conversation-state).\n","required":["id","summary","type"],"properties":{"type":{"type":"string","description":"The type of the object. Always `reasoning`.\n","enum":["reasoning"],"isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.13.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique identifier of the reasoning content.\n","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.13.id","typeLabel":"string"},"summary":{"type":"array","description":"Reasoning summary content.\n","items":{"properties":{"type":{"type":"string","enum":["summary_text"],"description":"The type of the object. Always `summary_text`.","default":"summary_text","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.13.summary.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"A summary of the reasoning output from the model so far.","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.13.summary.items.[INDEX].text","typeLabel":"string"}},"type":"object","required":["type","text"],"title":"Summary text","description":"A summary text from the model.","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.13.summary.items.[INDEX]","typeLabel":"Summary text · object"},"isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.13.summary","typeLabel":"Summary text · object[]"},"encrypted_content":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.13.encrypted_content","typeLabel":"any"},"content":{"type":"array","description":"Reasoning text content.\n","items":{"properties":{"type":{"type":"string","enum":["reasoning_text"],"description":"The type of the reasoning text. Always `reasoning_text`.","default":"reasoning_text","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.13.content.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"The reasoning text from the model.","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.13.content.items.[INDEX].text","typeLabel":"string"}},"type":"object","required":["type","text"],"title":"Reasoning text","description":"Reasoning text from the model.","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.13.content.items.[INDEX]","typeLabel":"Reasoning text · object"},"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.13.content","typeLabel":"Reasoning text · object[]"},"status":{"type":"string","description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.13.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.13","typeLabel":"Reasoning · object"},{"type":"object","title":"Compaction item","description":"A compaction item generated by the [`v1/responses/compact` API](https://developers.openai.com/api/reference/resources/responses/methods/compact).","required":["type","encrypted_content"],"properties":{"type":{"type":"string","enum":["compaction"],"description":"The type of the item. Always `compaction`.","default":"compaction","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.14.type","typeLabel":"enum\u003cstring>"},"encrypted_content":{"type":"string","maxLength":104857600,"description":"The encrypted content of the compaction summary.","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.14.encrypted_content","typeLabel":"string"},"id":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.14.id","typeLabel":"any"}},"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.14","typeLabel":"Compaction item · object"},{"type":"object","title":"Image generation call","description":"An image generation request made by the model.","required":["type","id","status","result"],"properties":{"type":{"type":"string","enum":["image_generation_call"],"description":"The type of the image generation call. Always `image_generation_call`.","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.15.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the image generation call.","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.15.id","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","completed","generating","failed"],"description":"The status of the image generation call.","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.15.status","typeLabel":"enum\u003cstring>"},"result":{"type":"any","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.15.result","typeLabel":"any"},"error":{"properties":{"code":{"type":"any","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.15.error.code","typeLabel":"any"},"type":{"type":"string","description":"The error type.","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.15.error.type","typeLabel":"string"},"message":{"type":"string","description":"A description of the error.","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.15.error.message","typeLabel":"string"},"param":{"type":"any","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.15.error.param","typeLabel":"any"},"moderation_details":{"properties":{"moderation_stage":{"type":"string","enum":["input","output","unknown"],"description":"The stage where moderation blocked the image generation call.","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.15.error.moderation_details.moderation_stage","typeLabel":"enum\u003cstring>"},"categories":{"items":{"type":"string","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.15.error.moderation_details.categories.items.[INDEX]","typeLabel":"string"},"type":"array","description":"Public moderation categories. New category values may be added over time.","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.15.error.moderation_details.categories","typeLabel":"string[]"}},"type":"object","required":["moderation_stage","categories"],"description":"Public details for a `moderation_blocked` error, when available.","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.15.error.moderation_details","typeLabel":"object"}},"type":"object","required":["code","type","message","param"],"description":"Details of a moderation failure, when available.","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.15.error","typeLabel":"object"},"size":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.15.size","typeLabel":"any"},"quality":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.15.quality","typeLabel":"any"},"action":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.15.action","typeLabel":"any"},"background":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.15.background","typeLabel":"any"},"output_format":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.15.output_format","typeLabel":"any"},"svg_usage":{"properties":{"model":{"type":"string","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.15.svg_usage.model","typeLabel":"string"},"input_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.15.svg_usage.input_tokens","typeLabel":"integer"},"output_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.15.svg_usage.output_tokens","typeLabel":"integer"},"total_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.15.svg_usage.total_tokens","typeLabel":"integer"},"reasoning_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.15.svg_usage.reasoning_tokens","typeLabel":"integer"}},"type":"object","required":["model","input_tokens","output_tokens","total_tokens","reasoning_tokens"],"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.15.svg_usage","typeLabel":"object"},"revised_prompt":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.15.revised_prompt","typeLabel":"any"}},"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.15","typeLabel":"Image generation call · object"},{"type":"object","title":"Code interpreter tool call","description":"A tool call to run code.\n","required":["type","id","status","container_id","code","outputs"],"properties":{"type":{"type":"string","enum":["code_interpreter_call"],"default":"code_interpreter_call","description":"The type of the code interpreter tool call. Always `code_interpreter_call`.\n","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.16.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the code interpreter tool call.\n","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.16.id","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","completed","incomplete","interpreting","failed"],"description":"The status of the code interpreter tool call. Valid values are `in_progress`, `completed`, `incomplete`, `interpreting`, and `failed`.\n","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.16.status","typeLabel":"enum\u003cstring>"},"container_id":{"type":"string","description":"The ID of the container used to run the code.\n","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.16.container_id","typeLabel":"string"},"code":{"type":"any","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.16.code","typeLabel":"any"},"outputs":{"type":"any","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.16.outputs","typeLabel":"any"}},"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.16","typeLabel":"Code interpreter tool call · object"},{"type":"object","title":"Local shell call","description":"A tool call to run a command on the local shell.\n","required":["type","id","call_id","action","status"],"properties":{"type":{"type":"string","enum":["local_shell_call"],"description":"The type of the local shell call. Always `local_shell_call`.\n","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.17.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the local shell call.\n","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.17.id","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the local shell tool call generated by the model.\n","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.17.call_id","typeLabel":"string"},"action":{"properties":{"type":{"type":"string","enum":["exec"],"description":"The type of the local shell action. Always `exec`.","default":"exec","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.17.action.type","typeLabel":"enum\u003cstring>"},"command":{"items":{"type":"string","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.17.action.command.items.[INDEX]","typeLabel":"string"},"type":"array","description":"The command to run.","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.17.action.command","typeLabel":"string[]"},"env":{"additionalProperties":{"type":"string","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.17.action.env.additionalProperties","typeLabel":"string"},"type":"object","description":"Environment variables to set for the command.","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.17.action.env","typeLabel":"object"},"timeout_ms":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.17.action.timeout_ms","typeLabel":"any"},"working_directory":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.17.action.working_directory","typeLabel":"any"},"user":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.17.action.user","typeLabel":"any"}},"type":"object","required":["type","command","env"],"title":"Local shell exec action","description":"Execute a shell command on the server.","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.17.action","typeLabel":"Local shell exec action · object"},"status":{"type":"string","enum":["in_progress","completed","incomplete"],"description":"The status of the local shell call.\n","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.17.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.17","typeLabel":"Local shell call · object"},{"type":"object","title":"Local shell call output","description":"The output of a local shell tool call.\n","required":["id","type","call_id","output"],"properties":{"type":{"type":"string","enum":["local_shell_call_output"],"description":"The type of the local shell tool call output. Always `local_shell_call_output`.\n","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.18.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the local shell tool call generated by the model.\n","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.18.id","typeLabel":"string"},"output":{"type":"string","description":"A JSON string of the output of the local shell tool call.\n","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.18.output","typeLabel":"string"},"status":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.18.status","typeLabel":"any"}},"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.18","typeLabel":"Local shell call output · object"},{"type":"object","title":"Shell tool call","description":"A tool representing a request to execute one or more shell commands.","required":["call_id","type","action"],"properties":{"call_id":{"type":"string","maxLength":64,"minLength":1,"description":"The unique ID of the shell tool call generated by the model.","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.19.call_id","typeLabel":"string"},"type":{"type":"string","enum":["shell_call"],"description":"The type of the item. Always `shell_call`.","default":"shell_call","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.19.type","typeLabel":"enum\u003cstring>"},"action":{"properties":{"commands":{"items":{"type":"string","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.19.action.commands.items.[INDEX]","typeLabel":"string"},"type":"array","description":"Ordered shell commands for the execution environment to run.","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.19.action.commands","typeLabel":"string[]"},"timeout_ms":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.19.action.timeout_ms","typeLabel":"any"},"max_output_length":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.19.action.max_output_length","typeLabel":"any"}},"type":"object","required":["commands"],"title":"Shell action","description":"The shell commands and limits that describe how to run the tool call.","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.19.action","typeLabel":"Shell action · object"},"id":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.19.id","typeLabel":"any"},"caller":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.19.caller","typeLabel":"any"},"status":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.19.status","typeLabel":"any"},"environment":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.19.environment","typeLabel":"any"}},"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.19","typeLabel":"Shell tool call · object"},{"type":"object","title":"Shell tool call output","description":"The streamed output items emitted by a shell tool call.","required":["call_id","type","output"],"properties":{"call_id":{"type":"string","maxLength":64,"minLength":1,"description":"The unique ID of the shell tool call generated by the model.","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.20.call_id","typeLabel":"string"},"type":{"type":"string","enum":["shell_call_output"],"description":"The type of the item. Always `shell_call_output`.","default":"shell_call_output","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.20.type","typeLabel":"enum\u003cstring>"},"output":{"items":{"properties":{"stdout":{"type":"string","maxLength":10485760,"description":"Captured stdout output for the shell call.","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.20.output.items.[INDEX].stdout","typeLabel":"string"},"stderr":{"type":"string","maxLength":10485760,"description":"Captured stderr output for the shell call.","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.20.output.items.[INDEX].stderr","typeLabel":"string"},"outcome":{"type":"any","title":"Shell call outcome","description":"The exit or timeout outcome associated with this shell call.","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.20.output.items.[INDEX].outcome","typeLabel":"any"}},"type":"object","required":["stdout","stderr","outcome"],"title":"Shell output content","description":"Captured stdout and stderr for a portion of a shell tool call output.","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.20.output.items.[INDEX]","typeLabel":"Shell output content · object"},"type":"array","description":"Captured chunks of stdout and stderr output, along with their associated outcomes.","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.20.output","typeLabel":"Shell output content · object[]"},"id":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.20.id","typeLabel":"any"},"caller":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.20.caller","typeLabel":"any"},"status":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.20.status","typeLabel":"any"},"max_output_length":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.20.max_output_length","typeLabel":"any"}},"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.20","typeLabel":"Shell tool call output · object"},{"type":"object","title":"Apply patch tool call","description":"A tool call representing a request to create, delete, or update files using diff patches.","required":["type","call_id","status","operation"],"properties":{"type":{"type":"string","enum":["apply_patch_call"],"description":"The type of the item. Always `apply_patch_call`.","default":"apply_patch_call","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.21.type","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","maxLength":64,"minLength":1,"description":"The unique ID of the apply patch tool call generated by the model.","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.21.call_id","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","completed"],"title":"Apply patch call status","description":"The status of the apply patch tool call. One of `in_progress` or `completed`.","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.21.status","typeLabel":"enum\u003cstring>"},"operation":{"type":"any","title":"Apply patch operation","description":"The specific create, delete, or update instruction for the apply_patch tool call.","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.21.operation","typeLabel":"any"},"id":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.21.id","typeLabel":"any"},"caller":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.21.caller","typeLabel":"any"}},"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.21","typeLabel":"Apply patch tool call · object"},{"type":"object","title":"Apply patch tool call output","description":"The streamed output emitted by an apply patch tool call.","required":["type","call_id","status"],"properties":{"type":{"type":"string","enum":["apply_patch_call_output"],"description":"The type of the item. Always `apply_patch_call_output`.","default":"apply_patch_call_output","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.22.type","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","maxLength":64,"minLength":1,"description":"The unique ID of the apply patch tool call generated by the model.","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.22.call_id","typeLabel":"string"},"status":{"type":"string","enum":["completed","failed"],"title":"Apply patch call output status","description":"The status of the apply patch tool call output. One of `completed` or `failed`.","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.22.status","typeLabel":"enum\u003cstring>"},"id":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.22.id","typeLabel":"any"},"caller":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.22.caller","typeLabel":"any"},"output":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.22.output","typeLabel":"any"}},"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.22","typeLabel":"Apply patch tool call output · object"},{"type":"object","title":"MCP list tools","description":"A list of tools available on an MCP server.\n","required":["type","id","server_label","tools"],"properties":{"type":{"type":"string","const":"mcp_list_tools","description":"The type of the item. Always `mcp_list_tools`.\n","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.23.type","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the list.\n","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.23.id","typeLabel":"string"},"server_label":{"type":"string","description":"The label of the MCP server.\n","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.23.server_label","typeLabel":"string"},"tools":{"type":"array","items":{"type":"object","title":"MCP list tools tool","description":"A tool available on an MCP server.\n","properties":{"name":{"type":"string","description":"The name of the tool.\n","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.23.tools.items.[INDEX].name","typeLabel":"string"},"input_schema":{"type":"object","description":"The JSON schema describing the tool's input.\n","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.23.tools.items.[INDEX].input_schema","typeLabel":"object"},"description":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.23.tools.items.[INDEX].description","typeLabel":"any"},"annotations":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.23.tools.items.[INDEX].annotations","typeLabel":"any"}},"required":["name","input_schema"],"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.23.tools.items.[INDEX]","typeLabel":"MCP list tools tool · object"},"description":"The tools available on the server.\n","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.23.tools","typeLabel":"MCP list tools tool · object[]"},"error":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.23.error","typeLabel":"any"}},"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.23","typeLabel":"MCP list tools · object"},{"type":"object","title":"MCP approval request","description":"A request for human approval of a tool invocation.\n","required":["type","id","server_label","name","arguments"],"properties":{"type":{"type":"string","const":"mcp_approval_request","description":"The type of the item. Always `mcp_approval_request`.\n","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.24.type","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the approval request.\n","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.24.id","typeLabel":"string"},"server_label":{"type":"string","description":"The label of the MCP server making the request.\n","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.24.server_label","typeLabel":"string"},"name":{"type":"string","description":"The name of the tool to run.\n","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.24.name","typeLabel":"string"},"arguments":{"type":"string","description":"A JSON string of arguments for the tool.\n","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.24.arguments","typeLabel":"string"}},"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.24","typeLabel":"MCP approval request · object"},{"type":"object","title":"MCP approval response","description":"A response to an MCP approval request.\n","required":["type","request_id","approve","approval_request_id"],"properties":{"type":{"type":"string","const":"mcp_approval_response","description":"The type of the item. Always `mcp_approval_response`.\n","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.25.type","typeLabel":"string"},"approval_request_id":{"type":"string","description":"The ID of the approval request being answered.\n","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.25.approval_request_id","typeLabel":"string"},"approve":{"type":"boolean","description":"Whether the request was approved.\n","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.25.approve","typeLabel":"boolean"},"id":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.25.id","typeLabel":"any"},"reason":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.25.reason","typeLabel":"any"}},"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.25","typeLabel":"MCP approval response · object"},{"type":"object","title":"MCP tool call","description":"An invocation of a tool on an MCP server.\n","required":["type","id","server_label","name","arguments"],"properties":{"type":{"type":"string","const":"mcp_call","description":"The type of the item. Always `mcp_call`.\n","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.26.type","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the tool call.\n","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.26.id","typeLabel":"string"},"server_label":{"type":"string","description":"The label of the MCP server running the tool.\n","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.26.server_label","typeLabel":"string"},"name":{"type":"string","description":"The name of the tool that was run.\n","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.26.name","typeLabel":"string"},"arguments":{"type":"string","description":"A JSON string of the arguments passed to the tool.\n","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.26.arguments","typeLabel":"string"},"output":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.26.output","typeLabel":"any"},"error":{"type":"any","description":"The error from the tool call, if any.","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.26.error","typeLabel":"any"},"status":{"type":"string","enum":["in_progress","completed","incomplete","calling","failed"],"description":"The status of the tool call. One of `in_progress`, `completed`, `incomplete`, `calling`, or `failed`.\n","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.26.status","typeLabel":"enum\u003cstring>"},"approval_request_id":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.26.approval_request_id","typeLabel":"any"}},"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.26","typeLabel":"MCP tool call · object"},{"type":"object","title":"Custom tool call output","description":"The output of a custom tool call from your code, being sent back to the model.\n","required":["type","call_id","output"],"properties":{"type":{"type":"string","enum":["custom_tool_call_output"],"description":"The type of the custom tool call output. Always `custom_tool_call_output`.\n","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.27.type","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","description":"The call ID, used to map this custom tool call output to a custom tool call.\n","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.27.call_id","typeLabel":"string"},"output":{"type":"any","description":"The output from the custom tool call generated by your code.\nCan be a string or an list of output content.\n","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.27.output","typeLabel":"any"},"id":{"type":"string","description":"The unique ID of the custom tool call output in the OpenAI platform.\n","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.27.id","typeLabel":"string"},"caller":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.27.caller","typeLabel":"any"}},"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.27","typeLabel":"Custom tool call output · object"},{"type":"object","title":"Custom tool call","description":"A call to a custom tool created by the model.\n","required":["type","call_id","name","input"],"properties":{"type":{"type":"string","enum":["custom_tool_call"],"description":"The type of the custom tool call. Always `custom_tool_call`.\n","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.28.type","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","description":"An identifier used to map this custom tool call to a tool call output.\n","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.28.call_id","typeLabel":"string"},"name":{"type":"string","description":"The name of the custom tool being called.\n","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.28.name","typeLabel":"string"},"input":{"type":"string","description":"The input for the custom tool call generated by the model.\n","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.28.input","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the custom tool call in the OpenAI platform.\n","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.28.id","typeLabel":"string"},"caller":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.28.caller","typeLabel":"any"},"namespace":{"type":"string","description":"The namespace of the custom tool being called.\n","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.28.namespace","typeLabel":"string"},"async":{"type":"boolean","description":"Whether the custom tool call runs asynchronously.\n","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.28.async","typeLabel":"boolean"}},"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.28","typeLabel":"Custom tool call · object"},{"type":"object","title":"Compaction trigger","description":"Compacts the current context. Must be the final input item.","required":["type"],"properties":{"type":{"type":"string","enum":["compaction_trigger"],"description":"The type of the item. Always `compaction_trigger`.","default":"compaction_trigger","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.29.type","typeLabel":"enum\u003cstring>"},"id":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.29.id","typeLabel":"any"}},"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.29","typeLabel":"Compaction trigger · object"},{"type":"object","title":"Item reference","description":"An internal identifier for an item to reference.","required":["id"],"properties":{"id":{"type":"string","description":"The ID of the item to reference.","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.30.id","typeLabel":"string"},"type":{"type":"any","uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.30.type","typeLabel":"any"}},"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.30","typeLabel":"Item reference · object"},{"type":"object","required":["id","type","call_id","code","fingerprint"],"properties":{"id":{"type":"string","description":"The unique ID of this program item.","example":"cm_123","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.31.id","typeLabel":"string"},"type":{"type":"string","enum":["program"],"description":"The item type. Always `program`.","default":"program","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.31.type","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","maxLength":64,"minLength":1,"description":"The stable call ID of the program item.","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.31.call_id","typeLabel":"string"},"code":{"type":"string","maxLength":10485760,"description":"The JavaScript source executed by programmatic tool calling.","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.31.code","typeLabel":"string"},"fingerprint":{"type":"string","maxLength":10485760,"description":"Opaque program replay fingerprint that must be round-tripped.","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.31.fingerprint","typeLabel":"string"}},"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.31","typeLabel":"object"},{"type":"object","required":["id","type","call_id","result","status"],"properties":{"id":{"type":"string","description":"The unique ID of this program output item.","example":"cmo_123","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.32.id","typeLabel":"string"},"type":{"type":"string","enum":["program_output"],"description":"The item type. Always `program_output`.","default":"program_output","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.32.type","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","maxLength":64,"minLength":1,"description":"The call ID of the program item.","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.32.call_id","typeLabel":"string"},"result":{"type":"string","maxLength":10485760,"description":"The result produced by the program item.","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.32.result","typeLabel":"string"},"status":{"type":"string","enum":["completed","incomplete"],"description":"The terminal status of the program output.","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.32.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX].oneOf.32","typeLabel":"object"}],"uniqueKey":"oneOf.27.response.instructions.oneOf.1.items.[INDEX]","typeLabel":"Input message · object · Input message · object · Output message · object · File search tool call · object · Computer tool call · object · Computer tool call output · object · Web search tool call · object · Function tool call · object · Function tool call output · object · Item · object · Item · object · Item · object · Item · object · Reasoning · object · Compaction item · object · Image generation call · object · Code interpreter tool call · object · Local shell call · object · Local shell call output · object · Shell tool call · object · Shell tool call output · object · Apply patch tool call · object · Apply patch tool call output · object · MCP list tools · object · MCP approval request · object · MCP approval response · object · MCP tool call · object · Custom tool call output · object · Custom tool call · object · Compaction trigger · object · Item reference · object · object · object"},"title":"Input item list","description":"A system (or developer) message inserted into the model's context.\n\nWhen using along with `previous_response_id`, the instructions from a previous\nresponse will not be carried over to the next response. This makes it simple\nto swap out system (or developer) messages in new responses.\n","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.1","typeLabel":"Input message · object · Input message · object · Output message · object · File search tool call · object · Computer tool call · object · Computer tool call output · object · Web search tool call · object · Function tool call · object · Function tool call output · object · Item · object · Item · object · Item · object · Item · object · Reasoning · object · Compaction item · object · Image generation call · object · Code interpreter tool call · object · Local shell call · object · Local shell call output · object · Shell tool call · object · Shell tool call output · object · Apply patch tool call · object · Apply patch tool call output · object · MCP list tools · object · MCP approval request · object · MCP approval response · object · MCP tool call · object · Custom tool call output · object · Custom tool call · object · Compaction trigger · object · Item reference · object · object · object[]"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.27.response.instructions.oneOf.2","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.27.response.instructions","typeLabel":"string | Input message · object · Input message · object · Output message · object · File search tool call · object · Computer tool call · object · Computer tool call output · object · Web search tool call · object · Function tool call · object · Function tool call output · object · Item · object · Item · object · Item · object · Item · object · Reasoning · object · Compaction item · object · Image generation call · object · Code interpreter tool call · object · Local shell call · object · Local shell call output · object · Shell tool call · object · Shell tool call output · object · Apply patch tool call · object · Apply patch tool call output · object · MCP list tools · object · MCP approval request · object · MCP approval response · object · MCP tool call · object · Custom tool call output · object · Custom tool call · object · Compaction trigger · object · Item reference · object · object · object[] | null"},"parallel_tool_calls":{"type":"boolean","description":"Whether to allow the model to run tool calls in parallel.\n","default":true,"isRequired":true,"uniqueKey":"oneOf.27.response.parallel_tool_calls","typeLabel":"boolean"},"top_logprobs":{"oneOf":[{"type":"integer","description":"An integer between 0 and 20 specifying the maximum number of most likely\ntokens to return at each token position, each with an associated log\nprobability. In some cases, the number of returned tokens may be fewer than\nrequested.\n","maximum":20,"minimum":0,"uniqueKey":"oneOf.27.response.top_logprobs.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"oneOf.27.response.top_logprobs.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.27.response.top_logprobs","typeLabel":"integer | null"},"user":{"oneOf":[{"type":"string","example":"user-1234","deprecated":true,"description":"This field is being replaced by `safety_identifier` and `prompt_cache_key`. Use `prompt_cache_key` instead to maintain caching optimizations.\nA stable identifier for your end-users.\nUsed to boost cache hit rates by better bucketing similar requests and to help OpenAI detect and prevent abuse. [Learn more](https://developers.openai.com/api/docs/guides/safety-best-practices#implement-safety-identifiers).\n","uniqueKey":"oneOf.27.response.user.oneOf.0","typeLabel":"string"},{"type":"null","example":"user-1234","deprecated":true,"description":"This field is being replaced by `safety_identifier` and `prompt_cache_key`. Use `prompt_cache_key` instead to maintain caching optimizations.\nA stable identifier for your end-users.\nUsed to boost cache hit rates by better bucketing similar requests and to help OpenAI detect and prevent abuse. [Learn more](https://developers.openai.com/api/docs/guides/safety-best-practices#implement-safety-identifiers).\n","uniqueKey":"oneOf.27.response.user.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.27.response.user","typeLabel":"string | null"},"safety_identifier":{"oneOf":[{"type":"string","description":"A stable identifier used to help detect users of your application that may be violating OpenAI's usage policies.\nThe IDs should be a string that uniquely identifies each user, with a maximum length of 128 characters. We recommend hashing their username or email address, in order to avoid sending us any identifying information. [Learn more](https://developers.openai.com/api/docs/guides/safety-best-practices#implement-safety-identifiers).\n","maxLength":128,"example":"safety-identifier-1234","uniqueKey":"oneOf.27.response.safety_identifier.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.27.response.safety_identifier.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.27.response.safety_identifier","typeLabel":"string | null"},"prompt_cache_key":{"oneOf":[{"type":"string","description":"Used by OpenAI to cache responses for similar requests to optimize your cache hit rates. Replaces the `user` field. [Learn more](https://developers.openai.com/api/docs/guides/prompt-caching).\n","example":"prompt-cache-key-1234","uniqueKey":"oneOf.27.response.prompt_cache_key.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.27.response.prompt_cache_key.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.27.response.prompt_cache_key","typeLabel":"string | null"},"prompt_cache_retention":{"oneOf":[{"type":"string","description":"Deprecated. Use `prompt_cache_options.ttl` instead.\n\nThe retention policy for the prompt cache. Set to `24h` to enable extended prompt caching, which keeps cached prefixes active for longer, up to a maximum of 24 hours. [Learn more](https://developers.openai.com/api/docs/guides/prompt-caching#prompt-cache-retention).\nThis field expresses a maximum retention policy, while\n`prompt_cache_options.ttl` expresses a minimum cache lifetime. The two\nfields are independent and do not interact.\nFor `gpt-5.5`, `gpt-5.5-pro`, and future models, only `24h` is supported.\n\nFor older models that support both `in_memory` and `24h`, the default depends on your organization's data retention policy:\n - Organizations without ZDR enabled default to `24h`.\n - Organizations with ZDR enabled default to `in_memory` when `prompt_cache_retention` is not specified.\n","enum":["in_memory","24h"],"deprecated":true,"uniqueKey":"oneOf.27.response.prompt_cache_retention.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","deprecated":true,"uniqueKey":"oneOf.27.response.prompt_cache_retention.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.27.response.prompt_cache_retention","typeLabel":"enum\u003cstring> | null"},"previous_response_id":{"oneOf":[{"type":"string","description":"The unique ID of the previous response to the model. Use this to\ncreate multi-turn conversations. Learn more about\n[conversation state](https://developers.openai.com/api/docs/guides/conversation-state). Cannot be used in conjunction with `conversation`.\n","uniqueKey":"oneOf.27.response.previous_response_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.27.response.previous_response_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.27.response.previous_response_id","typeLabel":"string | null"},"background":{"oneOf":[{"type":"boolean","description":"Whether to run the model response in the background.\n[Learn more](https://developers.openai.com/api/docs/guides/background).\n","default":false,"uniqueKey":"oneOf.27.response.background.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"oneOf.27.response.background.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.27.response.background","typeLabel":"boolean | null"},"max_tool_calls":{"oneOf":[{"type":"integer","description":"The maximum number of total calls to built-in tools that can be processed in a response. This maximum number applies across all built-in tool calls, not per individual tool. Any further attempts to call a tool by the model will be ignored.\n","uniqueKey":"oneOf.27.response.max_tool_calls.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"oneOf.27.response.max_tool_calls.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.27.response.max_tool_calls","typeLabel":"integer | null"},"text":{"type":"object","description":"Configuration options for a text response from the model. Can be plain\ntext or structured JSON data. Learn more:\n- [Text inputs and outputs](https://developers.openai.com/api/docs/guides/text)\n- [Structured Outputs](https://developers.openai.com/api/docs/guides/structured-outputs)\n","properties":{"format":{"oneOf":[{"type":"object","title":"Text","description":"An object specifying the format that the model must output.\n\nConfiguring `{ \"type\": \"json_schema\" }` enables Structured Outputs,\nwhich ensures the model will match your supplied JSON schema. Learn more in the\n[Structured Outputs guide](https://developers.openai.com/api/docs/guides/structured-outputs).\n\nThe default format is `{ \"type\": \"text\" }` with no additional options.\n\n**Not recommended for gpt-4o and newer models:**\n\nSetting to `{ \"type\": \"json_object\" }` enables the older JSON mode, which\nensures the message the model generates is valid JSON. Using `json_schema`\nis preferred for models that support it.\n","required":["type"],"properties":{"type":{"type":"string","description":"The type of response format being defined. Always `text`.","const":"text","isRequired":true,"uniqueKey":"oneOf.27.response.text.format.oneOf.0.type","typeLabel":"string"}},"uniqueKey":"oneOf.27.response.text.format.oneOf.0","typeLabel":"Text · object"},{"type":"object","title":"JSON schema","description":"An object specifying the format that the model must output.\n\nConfiguring `{ \"type\": \"json_schema\" }` enables Structured Outputs,\nwhich ensures the model will match your supplied JSON schema. Learn more in the\n[Structured Outputs guide](https://developers.openai.com/api/docs/guides/structured-outputs).\n\nThe default format is `{ \"type\": \"text\" }` with no additional options.\n\n**Not recommended for gpt-4o and newer models:**\n\nSetting to `{ \"type\": \"json_object\" }` enables the older JSON mode, which\nensures the message the model generates is valid JSON. Using `json_schema`\nis preferred for models that support it.\n","required":["type","schema","name"],"properties":{"type":{"type":"string","description":"The type of response format being defined. Always `json_schema`.","enum":["json_schema"],"isRequired":true,"uniqueKey":"oneOf.27.response.text.format.oneOf.1.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"The name of the response format. Must be a-z, A-Z, 0-9, or contain\nunderscores and dashes, with a maximum length of 64.\n","isRequired":true,"uniqueKey":"oneOf.27.response.text.format.oneOf.1.name","typeLabel":"string"},"schema":{"type":"object","title":"JSON schema","description":"The schema for the response format, described as a JSON Schema object.\nLearn how to build JSON schemas [here](https://json-schema.org/).\n","additionalProperties":true,"isRequired":true,"uniqueKey":"oneOf.27.response.text.format.oneOf.1.schema","typeLabel":"JSON schema · object"},"description":{"type":"string","description":"A description of what the response format is for, used by the model to\ndetermine how to respond in the format.\n","uniqueKey":"oneOf.27.response.text.format.oneOf.1.description","typeLabel":"string"},"strict":{"oneOf":[{"type":"boolean","description":"Whether to enable strict schema adherence when generating the output.\nIf set to true, the model will always follow the exact schema defined\nin the `schema` field. Only a subset of JSON Schema is supported when\n`strict` is `true`. To learn more, read the [Structured Outputs\nguide](https://developers.openai.com/api/docs/guides/structured-outputs).\n","default":false,"uniqueKey":"oneOf.27.response.text.format.oneOf.1.strict.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"oneOf.27.response.text.format.oneOf.1.strict.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.27.response.text.format.oneOf.1.strict","typeLabel":"boolean | null"}},"uniqueKey":"oneOf.27.response.text.format.oneOf.1","typeLabel":"JSON schema · object"},{"type":"object","title":"JSON object","description":"An object specifying the format that the model must output.\n\nConfiguring `{ \"type\": \"json_schema\" }` enables Structured Outputs,\nwhich ensures the model will match your supplied JSON schema. Learn more in the\n[Structured Outputs guide](https://developers.openai.com/api/docs/guides/structured-outputs).\n\nThe default format is `{ \"type\": \"text\" }` with no additional options.\n\n**Not recommended for gpt-4o and newer models:**\n\nSetting to `{ \"type\": \"json_object\" }` enables the older JSON mode, which\nensures the message the model generates is valid JSON. Using `json_schema`\nis preferred for models that support it.\n","required":["type"],"properties":{"type":{"type":"string","description":"The type of response format being defined. Always `json_object`.","const":"json_object","isRequired":true,"uniqueKey":"oneOf.27.response.text.format.oneOf.2.type","typeLabel":"string"}},"uniqueKey":"oneOf.27.response.text.format.oneOf.2","typeLabel":"JSON object · object"}],"uniqueKey":"oneOf.27.response.text.format","typeLabel":"Text · object | JSON schema · object | JSON object · object"},"verbosity":{"oneOf":[{"type":"string","description":"Constrains the verbosity of the model's response. Lower values will result in\nmore concise responses, while higher values will result in more verbose responses.\nCurrently supported values are `low`, `medium`, and `high`. The default is\n`medium`.\n","default":"medium","enum":["low","medium","high"],"uniqueKey":"oneOf.27.response.text.verbosity.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"oneOf.27.response.text.verbosity.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.27.response.text.verbosity","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"oneOf.27.response.text","typeLabel":"object"},"prompt":{"oneOf":[{"type":"object","description":"Reference to a prompt template and its variables.\n[Learn more](https://developers.openai.com/api/docs/guides/text?api-mode=responses#version-prompts-in-code).\n","required":["id"],"properties":{"id":{"type":"string","description":"The unique identifier of the prompt template to use.","isRequired":true,"uniqueKey":"oneOf.27.response.prompt.oneOf.0.id","typeLabel":"string"},"version":{"oneOf":[{"type":"string","description":"Optional version of the prompt template.","uniqueKey":"oneOf.27.response.prompt.oneOf.0.version.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.27.response.prompt.oneOf.0.version.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.27.response.prompt.oneOf.0.version","typeLabel":"string | null"},"variables":{"oneOf":[{"type":"object","title":"Prompt Variables","description":"Optional map of values to substitute in for variables in your\nprompt. The substitution values can either be strings, or other\nResponse input types like images or files.\n","additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"oneOf.27.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"object","title":"Input text","description":"A text input to the model.","required":["type","text"],"properties":{"type":{"type":"string","enum":["input_text"],"description":"The type of the input item. Always `input_text`.","default":"input_text","isRequired":true,"uniqueKey":"oneOf.27.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.1.type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"The text input to the model.","isRequired":true,"uniqueKey":"oneOf.27.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.1.text","typeLabel":"string"},"prompt_cache_breakpoint":{"properties":{"mode":{"type":"string","enum":["explicit"],"description":"The breakpoint mode. Always `explicit`.","default":"explicit","isRequired":true,"uniqueKey":"oneOf.27.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.1.prompt_cache_breakpoint.mode","typeLabel":"enum\u003cstring>"},"ttl":{"type":"string","enum":["30m","12h"],"description":"The minimum lifetime of this cache breakpoint. Defaults to the request TTL.","uniqueKey":"oneOf.27.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.1.prompt_cache_breakpoint.ttl","typeLabel":"enum\u003cstring>"}},"type":"object","required":["mode"],"title":"Prompt cache breakpoint","description":"Marks the exact end of a reusable prompt prefix. When `ttl` is omitted, the breakpoint inherits the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block.","uniqueKey":"oneOf.27.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.1.prompt_cache_breakpoint","typeLabel":"Prompt cache breakpoint · object"}},"uniqueKey":"oneOf.27.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.1","typeLabel":"Input text · object"},{"type":"object","title":"Input image","description":"An image input to the model. Learn about [image inputs](https://developers.openai.com/api/docs/guides/images-vision).","required":["type","detail"],"properties":{"type":{"type":"string","enum":["input_image"],"description":"The type of the input item. Always `input_image`.","default":"input_image","isRequired":true,"uniqueKey":"oneOf.27.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2.type","typeLabel":"enum\u003cstring>"},"detail":{"type":"string","enum":["low","high","auto","original"],"description":"The detail level of the image to be sent to the model. One of `high`, `low`, `auto`, or `original`. Defaults to `auto`.","isRequired":true,"uniqueKey":"oneOf.27.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2.detail","typeLabel":"enum\u003cstring>"},"image_url":{"type":"any","uniqueKey":"oneOf.27.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2.image_url","typeLabel":"any"},"file_id":{"type":"any","uniqueKey":"oneOf.27.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2.file_id","typeLabel":"any"},"prompt_cache_breakpoint":{"properties":{"mode":{"type":"string","enum":["explicit"],"description":"The breakpoint mode. Always `explicit`.","default":"explicit","isRequired":true,"uniqueKey":"oneOf.27.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2.prompt_cache_breakpoint.mode","typeLabel":"enum\u003cstring>"},"ttl":{"type":"string","enum":["30m","12h"],"description":"The minimum lifetime of this cache breakpoint. Defaults to the request TTL.","uniqueKey":"oneOf.27.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2.prompt_cache_breakpoint.ttl","typeLabel":"enum\u003cstring>"}},"type":"object","required":["mode"],"title":"Prompt cache breakpoint","description":"Marks the exact end of a reusable prompt prefix. When `ttl` is omitted, the breakpoint inherits the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block.","uniqueKey":"oneOf.27.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2.prompt_cache_breakpoint","typeLabel":"Prompt cache breakpoint · object"}},"uniqueKey":"oneOf.27.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2","typeLabel":"Input image · object"},{"type":"object","title":"Input file","description":"A file input to the model.","required":["type"],"properties":{"type":{"type":"string","enum":["input_file"],"description":"The type of the input item. Always `input_file`.","default":"input_file","isRequired":true,"uniqueKey":"oneOf.27.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.type","typeLabel":"enum\u003cstring>"},"file_id":{"type":"any","uniqueKey":"oneOf.27.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.file_id","typeLabel":"any"},"filename":{"type":"string","description":"The name of the file to be sent to the model.","uniqueKey":"oneOf.27.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.filename","typeLabel":"string"},"file_data":{"type":"string","description":"The content of the file to be sent to the model.\n","uniqueKey":"oneOf.27.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.file_data","typeLabel":"string"},"prompt_cache_breakpoint":{"properties":{"mode":{"type":"string","enum":["explicit"],"description":"The breakpoint mode. Always `explicit`.","default":"explicit","isRequired":true,"uniqueKey":"oneOf.27.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.prompt_cache_breakpoint.mode","typeLabel":"enum\u003cstring>"},"ttl":{"type":"string","enum":["30m","12h"],"description":"The minimum lifetime of this cache breakpoint. Defaults to the request TTL.","uniqueKey":"oneOf.27.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.prompt_cache_breakpoint.ttl","typeLabel":"enum\u003cstring>"}},"type":"object","required":["mode"],"title":"Prompt cache breakpoint","description":"Marks the exact end of a reusable prompt prefix. When `ttl` is omitted, the breakpoint inherits the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block.","uniqueKey":"oneOf.27.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.prompt_cache_breakpoint","typeLabel":"Prompt cache breakpoint · object"},"file_url":{"type":"string","format":"uri","description":"The URL of the file to be sent to the model.","uniqueKey":"oneOf.27.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.file_url","typeLabel":"string\u003curi>"},"detail":{"type":"string","enum":["auto","low","high"],"description":"The detail level of the file to be sent to the model. Use `auto` to let the system select the detail level; for GPT-5.6 and later models, `auto` uses high-quality rendering, which may increase input token usage. Use `low` for lower-cost rendering, or `high` to render the file at higher quality. Defaults to `auto`.","uniqueKey":"oneOf.27.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.detail","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.27.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3","typeLabel":"Input file · object"}],"uniqueKey":"oneOf.27.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties","typeLabel":"string | Input text · object | Input image · object | Input file · object"},"uniqueKey":"oneOf.27.response.prompt.oneOf.0.variables.oneOf.0","typeLabel":"Prompt Variables · object"},{"type":"null","uniqueKey":"oneOf.27.response.prompt.oneOf.0.variables.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.27.response.prompt.oneOf.0.variables","typeLabel":"Prompt Variables · object | null"}},"uniqueKey":"oneOf.27.response.prompt.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"oneOf.27.response.prompt.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.27.response.prompt","typeLabel":"object | null"},"image":{"properties":{"context_compression":{"type":"string","enum":["enabled","disabled"],"description":"Effective image context optimization policy.","isRequired":true,"uniqueKey":"oneOf.27.response.image.context_compression","typeLabel":"enum\u003cstring>"}},"type":"object","required":["context_compression"],"uniqueKey":"oneOf.27.response.image","typeLabel":"object"},"service_tier":{"oneOf":[{"type":"string","description":"Specifies the processing type used for serving the request.\n - If set to 'auto', then the request will be processed with the service tier configured in the Project settings. Unless otherwise configured, the Project will use 'default'.\n - If set to 'default', then the request will be processed with the standard pricing and performance for the selected model.\n - If set to '[flex](https://developers.openai.com/api/docs/guides/flex-processing)', then the request will be processed with the Flex Processing service tier.\n - To opt-in to [Fast mode](https://developers.openai.com/api/docs/guides/fast-mode) at the request level, include the `service_tier=fast` or `service_tier=priority` parameter for Responses or Chat Completions. The response will show `service_tier=priority` regardless of if you specify `service_tier=fast` or `priority` in your request.\n - If set to 'ultrafast', then the request will be processed with the access-controlled Ultrafast Processing service tier. This tier is currently available for `gpt-5.6-sol`; a response served through it will show `service_tier=ultrafast`.\n - When not set, the default behavior is 'auto'.\n\n When the `service_tier` parameter is set, the response body will include the `service_tier` value based on the processing mode actually used to serve the request. This response value may be different from the value set in the parameter.\n","default":"auto","enum":["auto","default","flex","scale","priority","fast","ultrafast"],"uniqueKey":"oneOf.27.response.service_tier.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"oneOf.27.response.service_tier.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.27.response.service_tier","typeLabel":"enum\u003cstring> | null"},"truncation":{"oneOf":[{"type":"string","description":"The truncation strategy to use for the model response.\n- `auto`: If the input to this Response exceeds\n the model's context window size, the model will truncate the\n response to fit the context window by dropping items from the beginning of the conversation.\n On some models, trimming can begin earlier because the API subtracts the model's\n maximum output allowance from its input limit, even if you set a lower `max_output_tokens`.\n- `disabled` (default): If the input size will exceed the context window\n size for a model, the request will fail with a 400 error.\n","default":"disabled","enum":["auto","disabled"],"uniqueKey":"oneOf.27.response.truncation.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"oneOf.27.response.truncation.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.27.response.truncation","typeLabel":"enum\u003cstring> | null"},"status":{"type":"string","description":"The status of the response generation. One of `completed`, `failed`,\n`in_progress`, `cancelled`, `queued`, or `incomplete`.\n","enum":["completed","failed","in_progress","cancelled","queued","incomplete"],"uniqueKey":"oneOf.27.response.status","typeLabel":"enum\u003cstring>"},"completed_at":{"oneOf":[{"type":"number","description":"Unix timestamp (in seconds) of when this Response was completed.\nOnly present when the status is `completed`.\n","format":"unixtime","uniqueKey":"oneOf.27.response.completed_at.oneOf.0","typeLabel":"number\u003cunixtime>"},{"type":"null","uniqueKey":"oneOf.27.response.completed_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.27.response.completed_at","typeLabel":"number\u003cunixtime> | null"},"input_transformations":{"type":"array","description":"Reasoning inputs withheld from the model, in input order.","items":{"properties":{"type":{"type":"string","enum":["reasoning"],"default":"reasoning","isRequired":true,"uniqueKey":"oneOf.27.response.input_transformations.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The original reasoning item ID.","isRequired":true,"uniqueKey":"oneOf.27.response.input_transformations.items.[INDEX].id","typeLabel":"string"},"action":{"type":"string","enum":["removed"],"default":"removed","isRequired":true,"uniqueKey":"oneOf.27.response.input_transformations.items.[INDEX].action","typeLabel":"enum\u003cstring>"},"reason":{"type":"string","enum":["organization_mismatch","end_user_mismatch","model_mismatch","prefix_mismatch","turn_boundary"],"isRequired":true,"uniqueKey":"oneOf.27.response.input_transformations.items.[INDEX].reason","typeLabel":"enum\u003cstring>"}},"type":"object","required":["type","id","action","reason"],"uniqueKey":"oneOf.27.response.input_transformations.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.27.response.input_transformations","typeLabel":"object[]"},"reasoning":{"oneOf":[{"type":"object","title":"Reasoning","description":"Configuration options for\n[reasoning models](https://developers.openai.com/api/docs/guides/reasoning).\n","properties":{"mode":{"oneOf":[{"type":"string","description":"Controls the reasoning execution mode for the request.\n\nWhen returned on a response, this is the effective execution mode.\n","uniqueKey":"oneOf.27.response.reasoning.oneOf.0.mode.oneOf.0","typeLabel":"string"},{"type":"string","description":"Controls the reasoning execution mode for the request.\n\nWhen returned on a response, this is the effective execution mode.\n","enum":["standard","pro"],"uniqueKey":"oneOf.27.response.reasoning.oneOf.0.mode.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"oneOf.27.response.reasoning.oneOf.0.mode","typeLabel":"string | enum\u003cstring>"},"effort":{"oneOf":[{"type":"string","description":"Constrains effort on reasoning for reasoning models. Currently supported\nvalues are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`.\nReducing reasoning effort can result in faster responses and fewer tokens\nused on reasoning in a response. Not all reasoning models support every\nvalue. See the\n[reasoning guide](https://developers.openai.com/api/docs/guides/reasoning)\nfor model-specific support.\n","default":"medium","enum":["none","minimal","low","medium","high","xhigh","max"],"uniqueKey":"oneOf.27.response.reasoning.oneOf.0.effort.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"oneOf.27.response.reasoning.oneOf.0.effort.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.27.response.reasoning.oneOf.0.effort","typeLabel":"enum\u003cstring> | null"},"summary":{"oneOf":[{"type":"string","description":"A summary of the reasoning performed by the model. This can be\nuseful for debugging and understanding the model's reasoning process.\nOne of `auto`, `concise`, or `detailed`.\n\n`concise` is supported for `computer-use-preview` models and all reasoning models after `gpt-5`.\n","enum":["auto","concise","detailed"],"uniqueKey":"oneOf.27.response.reasoning.oneOf.0.summary.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"oneOf.27.response.reasoning.oneOf.0.summary.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.27.response.reasoning.oneOf.0.summary","typeLabel":"enum\u003cstring> | null"},"context":{"oneOf":[{"type":"string","description":"Controls which reasoning items are rendered back to the model on later turns.\nIf omitted or set to `auto`, the model determines the context mode. The\n`gpt-5.6` model family defaults to `all_turns`; earlier models default to\n`current_turn`.\n\nWhen returned on a response, this is the effective reasoning context mode\nused for the response.\n","enum":["auto","current_turn","all_turns"],"uniqueKey":"oneOf.27.response.reasoning.oneOf.0.context.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"oneOf.27.response.reasoning.oneOf.0.context.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.27.response.reasoning.oneOf.0.context","typeLabel":"enum\u003cstring> | null"},"generate_summary":{"oneOf":[{"type":"string","description":"**Deprecated:** use `summary` instead.\n\nA summary of the reasoning performed by the model. This can be\nuseful for debugging and understanding the model's reasoning process.\nOne of `auto`, `concise`, or `detailed`.\n","enum":["auto","concise","detailed"],"deprecated":true,"uniqueKey":"oneOf.27.response.reasoning.oneOf.0.generate_summary.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"oneOf.27.response.reasoning.oneOf.0.generate_summary.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.27.response.reasoning.oneOf.0.generate_summary","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"oneOf.27.response.reasoning.oneOf.0","typeLabel":"Reasoning · object"},{"type":"null","uniqueKey":"oneOf.27.response.reasoning.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.27.response.reasoning","typeLabel":"Reasoning · object | null"},"output_text":{"oneOf":[{"type":"string","description":"SDK-only convenience property that contains the aggregated text output\nfrom all `output_text` items in the `output` array, if any are present.\nSupported in the Python and JavaScript SDKs.\n","uniqueKey":"oneOf.27.response.output_text.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.27.response.output_text.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.27.response.output_text","typeLabel":"string | null"},"usage":{"oneOf":[{"type":"object","description":"Represents token usage details including input tokens, output tokens,\na breakdown of output tokens, and the total tokens used.\n","required":["input_tokens","input_tokens_details","output_tokens","output_tokens_details","total_tokens"],"properties":{"input_tokens":{"type":"integer","description":"The number of input tokens.","isRequired":true,"uniqueKey":"oneOf.27.response.usage.oneOf.0.input_tokens","typeLabel":"integer"},"input_tokens_details":{"type":"object","description":"A detailed breakdown of the input tokens.","properties":{"cached_tokens":{"type":"integer","description":"The number of tokens that were retrieved from the cache.\n[More on prompt caching](https://developers.openai.com/api/docs/guides/prompt-caching).\n","isRequired":true,"uniqueKey":"oneOf.27.response.usage.oneOf.0.input_tokens_details.cached_tokens","typeLabel":"integer"},"cache_write_tokens":{"type":"integer","description":"The number of input tokens that were written to the cache.","isRequired":true,"uniqueKey":"oneOf.27.response.usage.oneOf.0.input_tokens_details.cache_write_tokens","typeLabel":"integer"},"cache_write_tokens_details":{"properties":{"ttl_30m_tokens":{"type":"integer","description":"The number of input tokens written with 30-minute retention.","isRequired":true,"uniqueKey":"oneOf.27.response.usage.oneOf.0.input_tokens_details.cache_write_tokens_details.ttl_30m_tokens","typeLabel":"integer"},"ttl_12h_tokens":{"type":"integer","description":"The number of input tokens written with 12-hour retention.","isRequired":true,"uniqueKey":"oneOf.27.response.usage.oneOf.0.input_tokens_details.cache_write_tokens_details.ttl_12h_tokens","typeLabel":"integer"}},"type":"object","required":["ttl_30m_tokens","ttl_12h_tokens"],"uniqueKey":"oneOf.27.response.usage.oneOf.0.input_tokens_details.cache_write_tokens_details","typeLabel":"object"}},"required":["cached_tokens","cache_write_tokens"],"isRequired":true,"uniqueKey":"oneOf.27.response.usage.oneOf.0.input_tokens_details","typeLabel":"object"},"output_tokens":{"type":"integer","description":"The number of output tokens.","isRequired":true,"uniqueKey":"oneOf.27.response.usage.oneOf.0.output_tokens","typeLabel":"integer"},"output_tokens_details":{"type":"object","description":"A detailed breakdown of the output tokens.","properties":{"reasoning_tokens":{"type":"integer","description":"The number of reasoning tokens.","isRequired":true,"uniqueKey":"oneOf.27.response.usage.oneOf.0.output_tokens_details.reasoning_tokens","typeLabel":"integer"}},"required":["reasoning_tokens"],"isRequired":true,"uniqueKey":"oneOf.27.response.usage.oneOf.0.output_tokens_details","typeLabel":"object"},"total_tokens":{"type":"integer","description":"The total number of tokens used.","isRequired":true,"uniqueKey":"oneOf.27.response.usage.oneOf.0.total_tokens","typeLabel":"integer"}},"uniqueKey":"oneOf.27.response.usage.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"oneOf.27.response.usage.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.27.response.usage","typeLabel":"object | null"},"tool_usage":{"properties":{"image_gen":{"properties":{"input_tokens":{"type":"integer","description":"The number of tokens (images and text) in the input prompt.","isRequired":true,"uniqueKey":"oneOf.27.response.tool_usage.image_gen.input_tokens","typeLabel":"integer"},"total_tokens":{"type":"integer","description":"The total number of tokens (images and text) used for the image generation.","isRequired":true,"uniqueKey":"oneOf.27.response.tool_usage.image_gen.total_tokens","typeLabel":"integer"},"output_tokens":{"type":"integer","description":"The number of output tokens generated by the model.","isRequired":true,"uniqueKey":"oneOf.27.response.tool_usage.image_gen.output_tokens","typeLabel":"integer"},"input_tokens_details":{"properties":{"text_tokens":{"type":"integer","description":"The number of text tokens in the input prompt.","isRequired":true,"uniqueKey":"oneOf.27.response.tool_usage.image_gen.input_tokens_details.text_tokens","typeLabel":"integer"},"image_tokens":{"type":"integer","description":"The number of image tokens in the input prompt.","isRequired":true,"uniqueKey":"oneOf.27.response.tool_usage.image_gen.input_tokens_details.image_tokens","typeLabel":"integer"}},"type":"object","required":["text_tokens","image_tokens"],"title":"Input usage details","description":"The input tokens detailed information for the image generation.","isRequired":true,"uniqueKey":"oneOf.27.response.tool_usage.image_gen.input_tokens_details","typeLabel":"Input usage details · object"},"output_tokens_details":{"properties":{"image_tokens":{"type":"integer","description":"The number of image output tokens generated by the model.","isRequired":true,"uniqueKey":"oneOf.27.response.tool_usage.image_gen.output_tokens_details.image_tokens","typeLabel":"integer"},"text_tokens":{"type":"integer","description":"The number of text output tokens generated by the model.","isRequired":true,"uniqueKey":"oneOf.27.response.tool_usage.image_gen.output_tokens_details.text_tokens","typeLabel":"integer"}},"type":"object","required":["image_tokens","text_tokens"],"title":"Image generation output token details","description":"The output token details for the image generation.","uniqueKey":"oneOf.27.response.tool_usage.image_gen.output_tokens_details","typeLabel":"Image generation output token details · object"},"cached_tokens":{"type":"integer","uniqueKey":"oneOf.27.response.tool_usage.image_gen.cached_tokens","typeLabel":"integer"},"cached_tokens_details":{"properties":{"cached_text_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.27.response.tool_usage.image_gen.cached_tokens_details.cached_text_tokens","typeLabel":"integer"},"cached_image_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.27.response.tool_usage.image_gen.cached_tokens_details.cached_image_tokens","typeLabel":"integer"}},"type":"object","required":["cached_text_tokens","cached_image_tokens"],"uniqueKey":"oneOf.27.response.tool_usage.image_gen.cached_tokens_details","typeLabel":"object"}},"type":"object","required":["input_tokens","total_tokens","output_tokens","input_tokens_details"],"title":"Image generation tool usage","description":"Aggregated usage statistics for image generation tool calls.","isRequired":true,"uniqueKey":"oneOf.27.response.tool_usage.image_gen","typeLabel":"Image generation tool usage · object"},"web_search":{"properties":{"num_requests":{"type":"integer","description":"The number of billable web search requests issued.","isRequired":true,"uniqueKey":"oneOf.27.response.tool_usage.web_search.num_requests","typeLabel":"integer"}},"type":"object","required":["num_requests"],"title":"Web search usage","description":"Aggregated billable usage statistics for web search tool calls.","isRequired":true,"uniqueKey":"oneOf.27.response.tool_usage.web_search","typeLabel":"Web search usage · object"}},"type":"object","required":["image_gen","web_search"],"title":"Response tool usage","description":"Usage reported by hosted tools, separate from base model `usage`. The field\ncan be omitted when tool usage is unavailable. When present, tool families\nwith no recorded usage have zero counts.\n\n`image_gen` sums available token counts across image generation calls.\nCalls with missing or incomplete usage records may be skipped. Output\ntoken details and cached input counts can be omitted. An omitted cache\ncount means cache usage is unknown.\n\n`web_search.num_requests` counts billable searches. Discounted searches\nand actions such as opening a page are excluded. Use billing records to\nreconcile final charges.\n","uniqueKey":"oneOf.27.response.tool_usage","typeLabel":"Response tool usage · object"},"prompt_cache_options":{"properties":{"ttl":{"type":"string","enum":["30m","12h"],"description":"The minimum lifetime applied to each cache breakpoint.","isRequired":true,"uniqueKey":"oneOf.27.response.prompt_cache_options.ttl","typeLabel":"enum\u003cstring>"},"mode":{"type":"string","enum":["implicit","explicit"],"description":"Whether implicit prompt-cache breakpoints were enabled.","isRequired":true,"uniqueKey":"oneOf.27.response.prompt_cache_options.mode","typeLabel":"enum\u003cstring>"},"comparison_response_id":{"oneOf":[{"type":"string","description":"The response ID supplied as the prompt cache diagnostics comparison.","uniqueKey":"oneOf.27.response.prompt_cache_options.comparison_response_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.27.response.prompt_cache_options.comparison_response_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.27.response.prompt_cache_options.comparison_response_id","typeLabel":"string | null"}},"type":"object","required":["ttl","mode"],"title":"Prompt cache options","description":"The prompt-caching options that were applied to the response. Supported for `gpt-5.6` and later models.","uniqueKey":"oneOf.27.response.prompt_cache_options","typeLabel":"Prompt cache options · object"},"prompt_cache_diagnostics":{"oneOf":[{"type":"object","description":"Prompt cache diagnostics requested for this response.","required":["type","reason","cache_missed_tokens"],"properties":{"type":{"type":"string","enum":["cache_miss"],"default":"cache_miss","isRequired":true,"uniqueKey":"oneOf.27.response.prompt_cache_diagnostics.oneOf.0.type","typeLabel":"enum\u003cstring>"},"reason":{"type":"string","enum":["model_changed","prompt_cache_key_changed","tools_changed","text_format_changed","reasoning_effort_changed","verbosity_changed","context_compacted","input_changed","service_tier_changed"],"description":"The reason prompt cache reuse did not occur.","isRequired":true,"uniqueKey":"oneOf.27.response.prompt_cache_diagnostics.oneOf.0.reason","typeLabel":"enum\u003cstring>"},"cache_missed_tokens":{"type":"integer","description":"The estimated number of input tokens affected after the first detected divergence.","isRequired":true,"uniqueKey":"oneOf.27.response.prompt_cache_diagnostics.oneOf.0.cache_missed_tokens","typeLabel":"integer"},"comparison_reusable_tokens":{"type":"integer","description":"The raw token count of the reusable prefix in the compared response.","uniqueKey":"oneOf.27.response.prompt_cache_diagnostics.oneOf.0.comparison_reusable_tokens","typeLabel":"integer"}},"uniqueKey":"oneOf.27.response.prompt_cache_diagnostics.oneOf.0","typeLabel":"object"},{"type":"object","description":"Prompt cache diagnostics requested for this response.","required":["type"],"properties":{"type":{"type":"string","enum":["cache_hit"],"default":"cache_hit","isRequired":true,"uniqueKey":"oneOf.27.response.prompt_cache_diagnostics.oneOf.1.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.27.response.prompt_cache_diagnostics.oneOf.1","typeLabel":"object"},{"type":"object","description":"Prompt cache diagnostics requested for this response.","required":["type"],"properties":{"type":{"type":"string","enum":["comparison_response_not_found"],"default":"comparison_response_not_found","isRequired":true,"uniqueKey":"oneOf.27.response.prompt_cache_diagnostics.oneOf.2.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.27.response.prompt_cache_diagnostics.oneOf.2","typeLabel":"object"},{"type":"object","description":"Prompt cache diagnostics requested for this response.","required":["type"],"properties":{"type":{"type":"string","enum":["unavailable"],"default":"unavailable","isRequired":true,"uniqueKey":"oneOf.27.response.prompt_cache_diagnostics.oneOf.3.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.27.response.prompt_cache_diagnostics.oneOf.3","typeLabel":"object"}],"uniqueKey":"oneOf.27.response.prompt_cache_diagnostics","typeLabel":"object"},"moderation":{"oneOf":[{"type":"object","title":"Moderation","description":"Moderation results for the response input and output, if moderated completions were requested.\n","required":["input","output"],"properties":{"input":{"oneOf":[{"type":"object","title":"Moderation result","description":"Moderation for the response input.","required":["type","model","flagged","categories","category_scores","category_applied_input_types"],"properties":{"type":{"type":"string","enum":["moderation_result"],"description":"The object type, which was always `moderation_result` for successful moderation results.","default":"moderation_result","isRequired":true,"uniqueKey":"oneOf.27.response.moderation.oneOf.0.input.oneOf.0.type","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"The moderation model that produced this result.","isRequired":true,"uniqueKey":"oneOf.27.response.moderation.oneOf.0.input.oneOf.0.model","typeLabel":"string"},"flagged":{"type":"boolean","description":"A boolean indicating whether the content was flagged by any category.","isRequired":true,"uniqueKey":"oneOf.27.response.moderation.oneOf.0.input.oneOf.0.flagged","typeLabel":"boolean"},"categories":{"additionalProperties":{"type":"boolean","uniqueKey":"oneOf.27.response.moderation.oneOf.0.input.oneOf.0.categories.additionalProperties","typeLabel":"boolean"},"type":"object","description":"A dictionary of moderation categories to booleans, True if the input is flagged under this category.","isRequired":true,"uniqueKey":"oneOf.27.response.moderation.oneOf.0.input.oneOf.0.categories","typeLabel":"object"},"category_scores":{"additionalProperties":{"type":"number","uniqueKey":"oneOf.27.response.moderation.oneOf.0.input.oneOf.0.category_scores.additionalProperties","typeLabel":"number"},"type":"object","description":"A dictionary of moderation categories to scores.","isRequired":true,"uniqueKey":"oneOf.27.response.moderation.oneOf.0.input.oneOf.0.category_scores","typeLabel":"object"},"category_applied_input_types":{"additionalProperties":{"items":{"type":"string","enum":["text","image"],"uniqueKey":"oneOf.27.response.moderation.oneOf.0.input.oneOf.0.category_applied_input_types.additionalProperties.items.[INDEX]","typeLabel":"enum\u003cstring>"},"type":"array","uniqueKey":"oneOf.27.response.moderation.oneOf.0.input.oneOf.0.category_applied_input_types.additionalProperties","typeLabel":"enum\u003cstring>[]"},"type":"object","description":"Which modalities of input are reflected by the score for each category.","isRequired":true,"uniqueKey":"oneOf.27.response.moderation.oneOf.0.input.oneOf.0.category_applied_input_types","typeLabel":"object"}},"isRequired":true,"uniqueKey":"oneOf.27.response.moderation.oneOf.0.input.oneOf.0","typeLabel":"Moderation result · object"},{"type":"object","title":"Moderation error","description":"Moderation for the response input.","required":["type","code","message"],"properties":{"type":{"type":"string","enum":["error"],"description":"The object type, which was always `error` for moderation failures.","default":"error","isRequired":true,"uniqueKey":"oneOf.27.response.moderation.oneOf.0.input.oneOf.1.type","typeLabel":"enum\u003cstring>"},"code":{"type":"string","description":"The error code.","isRequired":true,"uniqueKey":"oneOf.27.response.moderation.oneOf.0.input.oneOf.1.code","typeLabel":"string"},"message":{"type":"string","description":"The error message.","isRequired":true,"uniqueKey":"oneOf.27.response.moderation.oneOf.0.input.oneOf.1.message","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.27.response.moderation.oneOf.0.input.oneOf.1","typeLabel":"Moderation error · object"}],"isRequired":true,"uniqueKey":"oneOf.27.response.moderation.oneOf.0.input","typeLabel":"Moderation result · object | Moderation error · object"},"output":{"oneOf":[{"type":"object","title":"Moderation result","description":"Moderation for the response output.","required":["type","model","flagged","categories","category_scores","category_applied_input_types"],"properties":{"type":{"type":"string","enum":["moderation_result"],"description":"The object type, which was always `moderation_result` for successful moderation results.","default":"moderation_result","isRequired":true,"uniqueKey":"oneOf.27.response.moderation.oneOf.0.output.oneOf.0.type","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"The moderation model that produced this result.","isRequired":true,"uniqueKey":"oneOf.27.response.moderation.oneOf.0.output.oneOf.0.model","typeLabel":"string"},"flagged":{"type":"boolean","description":"A boolean indicating whether the content was flagged by any category.","isRequired":true,"uniqueKey":"oneOf.27.response.moderation.oneOf.0.output.oneOf.0.flagged","typeLabel":"boolean"},"categories":{"additionalProperties":{"type":"boolean","uniqueKey":"oneOf.27.response.moderation.oneOf.0.output.oneOf.0.categories.additionalProperties","typeLabel":"boolean"},"type":"object","description":"A dictionary of moderation categories to booleans, True if the input is flagged under this category.","isRequired":true,"uniqueKey":"oneOf.27.response.moderation.oneOf.0.output.oneOf.0.categories","typeLabel":"object"},"category_scores":{"additionalProperties":{"type":"number","uniqueKey":"oneOf.27.response.moderation.oneOf.0.output.oneOf.0.category_scores.additionalProperties","typeLabel":"number"},"type":"object","description":"A dictionary of moderation categories to scores.","isRequired":true,"uniqueKey":"oneOf.27.response.moderation.oneOf.0.output.oneOf.0.category_scores","typeLabel":"object"},"category_applied_input_types":{"additionalProperties":{"items":{"type":"string","enum":["text","image"],"uniqueKey":"oneOf.27.response.moderation.oneOf.0.output.oneOf.0.category_applied_input_types.additionalProperties.items.[INDEX]","typeLabel":"enum\u003cstring>"},"type":"array","uniqueKey":"oneOf.27.response.moderation.oneOf.0.output.oneOf.0.category_applied_input_types.additionalProperties","typeLabel":"enum\u003cstring>[]"},"type":"object","description":"Which modalities of input are reflected by the score for each category.","isRequired":true,"uniqueKey":"oneOf.27.response.moderation.oneOf.0.output.oneOf.0.category_applied_input_types","typeLabel":"object"}},"isRequired":true,"uniqueKey":"oneOf.27.response.moderation.oneOf.0.output.oneOf.0","typeLabel":"Moderation result · object"},{"type":"object","title":"Moderation error","description":"Moderation for the response output.","required":["type","code","message"],"properties":{"type":{"type":"string","enum":["error"],"description":"The object type, which was always `error` for moderation failures.","default":"error","isRequired":true,"uniqueKey":"oneOf.27.response.moderation.oneOf.0.output.oneOf.1.type","typeLabel":"enum\u003cstring>"},"code":{"type":"string","description":"The error code.","isRequired":true,"uniqueKey":"oneOf.27.response.moderation.oneOf.0.output.oneOf.1.code","typeLabel":"string"},"message":{"type":"string","description":"The error message.","isRequired":true,"uniqueKey":"oneOf.27.response.moderation.oneOf.0.output.oneOf.1.message","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.27.response.moderation.oneOf.0.output.oneOf.1","typeLabel":"Moderation error · object"}],"isRequired":true,"uniqueKey":"oneOf.27.response.moderation.oneOf.0.output","typeLabel":"Moderation result · object | Moderation error · object"}},"uniqueKey":"oneOf.27.response.moderation.oneOf.0","typeLabel":"Moderation · object"},{"type":"null","uniqueKey":"oneOf.27.response.moderation.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.27.response.moderation","typeLabel":"Moderation · object | null"},"conversation":{"oneOf":[{"type":"object","title":"Conversation","description":"The conversation that this response belonged to. Input items and output items from this response were automatically added to this conversation.","default":null,"required":["id"],"properties":{"id":{"type":"string","description":"The unique ID of the conversation that this response was associated with.","isRequired":true,"uniqueKey":"oneOf.27.response.conversation.oneOf.0.id","typeLabel":"string"}},"uniqueKey":"oneOf.27.response.conversation.oneOf.0","typeLabel":"Conversation · object"},{"type":"null","uniqueKey":"oneOf.27.response.conversation.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.27.response.conversation","typeLabel":"Conversation · object | null"},"max_output_tokens":{"oneOf":[{"type":"integer","description":"An upper bound for the number of tokens that can be generated for a response, including visible output tokens and [reasoning tokens](https://developers.openai.com/api/docs/guides/reasoning).\n","uniqueKey":"oneOf.27.response.max_output_tokens.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"oneOf.27.response.max_output_tokens.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.27.response.max_output_tokens","typeLabel":"integer | null"}},"isRequired":true,"uniqueKey":"oneOf.27.response","typeLabel":"The response object · object"},"sequence_number":{"type":"integer","description":"The sequence number of this event.","isRequired":true,"uniqueKey":"oneOf.27.sequence_number","typeLabel":"integer"}},"uniqueKey":"oneOf.27","typeLabel":"object"},{"type":"object","description":"Event emitted while a response is streamed.","required":["type","output_index","item","sequence_number"],"properties":{"type":{"type":"string","description":"The type of the event. Always `response.output_item.added`.\n","const":"response.output_item.added","isRequired":true,"uniqueKey":"oneOf.28.type","typeLabel":"string"},"output_index":{"type":"integer","description":"The index of the output item that was added.\n","isRequired":true,"uniqueKey":"oneOf.28.output_index","typeLabel":"integer"},"sequence_number":{"type":"integer","description":"The sequence number of this event.\n","isRequired":true,"uniqueKey":"oneOf.28.sequence_number","typeLabel":"integer"},"item":{"oneOf":[{"type":"object","title":"Output message","description":"The output item that was added. For reasoning items, `encrypted_content`\nmay be incomplete while the item is in progress. Use the reasoning item\nfrom the corresponding `response.output_item.done` event when passing it\nas input to a subsequent request.\n","required":["id","type","role","content","status"],"properties":{"id":{"type":"string","description":"The unique ID of the output message.\n","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.0.id","typeLabel":"string"},"type":{"type":"string","description":"The type of the output message. Always `message`.\n","const":"message","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.0.type","typeLabel":"string"},"role":{"type":"string","description":"The role of the output message. Always `assistant`.\n","const":"assistant","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.0.role","typeLabel":"string"},"content":{"type":"array","description":"The content of the output message.\n","items":{"type":"any","uniqueKey":"oneOf.28.item.oneOf.0.content.items.[INDEX]","typeLabel":"any"},"isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.0.content","typeLabel":"any[]"},"status":{"type":"string","description":"The status of the message input. One of `in_progress`, `completed`, or\n`incomplete`. Populated when input items are returned via API.\n","enum":["in_progress","completed","incomplete"],"isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.0.status","typeLabel":"enum\u003cstring>"},"phase":{"type":"any","uniqueKey":"oneOf.28.item.oneOf.0.phase","typeLabel":"any"}},"isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.0","typeLabel":"Output message · object"},{"type":"object","title":"File search tool call","description":"The output item that was added. For reasoning items, `encrypted_content`\nmay be incomplete while the item is in progress. Use the reasoning item\nfrom the corresponding `response.output_item.done` event when passing it\nas input to a subsequent request.\n","required":["id","type","status","queries"],"properties":{"id":{"type":"string","description":"The unique ID of the file search tool call.\n","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.1.id","typeLabel":"string"},"type":{"type":"string","enum":["file_search_call"],"description":"The type of the file search tool call. Always `file_search_call`.\n","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.1.type","typeLabel":"enum\u003cstring>"},"status":{"type":"string","description":"The status of the file search tool call. One of `in_progress`,\n`searching`, `incomplete` or `failed`,\n","enum":["in_progress","searching","completed","incomplete","failed"],"isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.1.status","typeLabel":"enum\u003cstring>"},"queries":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.28.item.oneOf.1.queries.items.[INDEX]","typeLabel":"string"},"description":"The queries used to search for files.\n","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.1.queries","typeLabel":"string[]"},"results":{"type":"any","uniqueKey":"oneOf.28.item.oneOf.1.results","typeLabel":"any"}},"isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.1","typeLabel":"File search tool call · object"},{"type":"object","title":"Function tool call","description":"The output item that was added. For reasoning items, `encrypted_content`\nmay be incomplete while the item is in progress. Use the reasoning item\nfrom the corresponding `response.output_item.done` event when passing it\nas input to a subsequent request.\n","required":["type","call_id","name","arguments"],"properties":{"type":{"type":"string","const":"function_call","description":"The type of the function tool call. Always `function_call`.\n","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.2.type","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the function tool call generated by the model.\n","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.2.call_id","typeLabel":"string"},"name":{"type":"string","description":"The name of the function to run.\n","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.2.name","typeLabel":"string"},"arguments":{"type":"string","description":"A JSON string of the arguments to pass to the function.\n","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.2.arguments","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the function tool call.\n","uniqueKey":"oneOf.28.item.oneOf.2.id","typeLabel":"string"},"caller":{"type":"any","uniqueKey":"oneOf.28.item.oneOf.2.caller","typeLabel":"any"},"namespace":{"type":"string","description":"The namespace of the function to run.\n","uniqueKey":"oneOf.28.item.oneOf.2.namespace","typeLabel":"string"},"status":{"type":"string","description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"uniqueKey":"oneOf.28.item.oneOf.2.status","typeLabel":"enum\u003cstring>"},"async":{"type":"boolean","description":"Whether the function tool call runs asynchronously.\n","uniqueKey":"oneOf.28.item.oneOf.2.async","typeLabel":"boolean"}},"isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.2","typeLabel":"Function tool call · object"},{"type":"object","title":"Function tool call output","description":"The output item that was added. For reasoning items, `encrypted_content`\nmay be incomplete while the item is in progress. Use the reasoning item\nfrom the corresponding `response.output_item.done` event when passing it\nas input to a subsequent request.\n","required":["id","status","type","output"],"properties":{"id":{"type":"string","description":"The unique ID of the function call tool output.\n","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.3.id","typeLabel":"string"},"type":{"type":"string","const":"function_call_output","description":"The type of the function tool call output. Always `function_call_output`.\n","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.3.type","typeLabel":"string"},"output":{"type":"any","description":"The output from the function call generated by your code.\nCan be a string or an list of output content.\n","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.3.output","typeLabel":"any"},"status":{"type":"string","description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.3.status","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","description":"The unique ID of the function tool call generated by the model.\n","uniqueKey":"oneOf.28.item.oneOf.3.call_id","typeLabel":"string"},"name":{"type":"string","description":"The name of the tool that produced the output.\n","uniqueKey":"oneOf.28.item.oneOf.3.name","typeLabel":"string"},"namespace":{"type":"string","description":"The namespace of the tool that produced the output.\n","uniqueKey":"oneOf.28.item.oneOf.3.namespace","typeLabel":"string"},"caller":{"type":"any","uniqueKey":"oneOf.28.item.oneOf.3.caller","typeLabel":"any"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.\n","uniqueKey":"oneOf.28.item.oneOf.3.created_by","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.3","typeLabel":"Function tool call output · object"},{"type":"object","title":"Web search tool call","description":"The output item that was added. For reasoning items, `encrypted_content`\nmay be incomplete while the item is in progress. Use the reasoning item\nfrom the corresponding `response.output_item.done` event when passing it\nas input to a subsequent request.\n","required":["id","type","status"],"properties":{"id":{"type":"string","description":"The unique ID of the web search tool call.\n","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.4.id","typeLabel":"string"},"type":{"type":"string","const":"web_search_call","description":"The type of the web search tool call. Always `web_search_call`.\n","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.4.type","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","searching","completed","failed","incomplete"],"description":"The status of the web search tool call.\n","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.4.status","typeLabel":"enum\u003cstring>"},"action":{"type":"any","uniqueKey":"oneOf.28.item.oneOf.4.action","typeLabel":"any"}},"isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.4","typeLabel":"Web search tool call · object"},{"type":"object","title":"Computer tool call","description":"The output item that was added. For reasoning items, `encrypted_content`\nmay be incomplete while the item is in progress. Use the reasoning item\nfrom the corresponding `response.output_item.done` event when passing it\nas input to a subsequent request.\n","required":["type","id","call_id","pending_safety_checks","status"],"properties":{"type":{"type":"string","description":"The type of the computer call. Always `computer_call`.","enum":["computer_call"],"default":"computer_call","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.5.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the computer call.","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.5.id","typeLabel":"string"},"call_id":{"type":"string","description":"An identifier used when responding to the tool call with output.\n","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.5.call_id","typeLabel":"string"},"pending_safety_checks":{"type":"array","items":{"properties":{"id":{"type":"string","description":"The ID of the pending safety check.","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.5.pending_safety_checks.items.[INDEX].id","typeLabel":"string"},"code":{"type":"any","uniqueKey":"oneOf.28.item.oneOf.5.pending_safety_checks.items.[INDEX].code","typeLabel":"any"},"message":{"type":"any","uniqueKey":"oneOf.28.item.oneOf.5.pending_safety_checks.items.[INDEX].message","typeLabel":"any"}},"type":"object","required":["id"],"description":"A pending safety check for the computer call.","uniqueKey":"oneOf.28.item.oneOf.5.pending_safety_checks.items.[INDEX]","typeLabel":"object"},"description":"The pending safety checks for the computer call.\n","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.5.pending_safety_checks","typeLabel":"object[]"},"status":{"type":"string","description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.5.status","typeLabel":"enum\u003cstring>"},"action":{"type":"any","uniqueKey":"oneOf.28.item.oneOf.5.action","typeLabel":"any"},"actions":{"title":"Computer Action List","type":"array","description":"Flattened batched actions for `computer_use`. Each action includes an\n`type` discriminator and action-specific fields.\n","items":{"type":"any","uniqueKey":"oneOf.28.item.oneOf.5.actions.items.[INDEX]","typeLabel":"any"},"uniqueKey":"oneOf.28.item.oneOf.5.actions","typeLabel":"any[]"}},"isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.5","typeLabel":"Computer tool call · object"},{"type":"object","title":"Computer tool call output","description":"The output item that was added. For reasoning items, `encrypted_content`\nmay be incomplete while the item is in progress. Use the reasoning item\nfrom the corresponding `response.output_item.done` event when passing it\nas input to a subsequent request.\n","required":["id","status","type","call_id","output"],"properties":{"type":{"type":"string","description":"The type of the computer tool call output. Always `computer_call_output`.\n","const":"computer_call_output","default":"computer_call_output","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.6.type","typeLabel":"string"},"id":{"type":"string","description":"The ID of the computer tool call output.\n","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.6.id","typeLabel":"string"},"call_id":{"type":"string","description":"The ID of the computer tool call that produced the output.\n","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.6.call_id","typeLabel":"string"},"output":{"type":"object","description":"A computer screenshot image used with the computer use tool.\n","properties":{"type":{"type":"string","const":"computer_screenshot","default":"computer_screenshot","description":"Specifies the event type. For a computer screenshot, this property is \nalways set to `computer_screenshot`.\n","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.6.output.type","typeLabel":"string"},"image_url":{"type":"string","format":"uri","description":"The URL of the screenshot image.","uniqueKey":"oneOf.28.item.oneOf.6.output.image_url","typeLabel":"string\u003curi>"},"file_id":{"type":"string","description":"The identifier of an uploaded file that contains the screenshot.","uniqueKey":"oneOf.28.item.oneOf.6.output.file_id","typeLabel":"string"}},"required":["type"],"isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.6.output","typeLabel":"object"},"status":{"type":"string","description":"The status of the message input. One of `in_progress`, `completed`, or\n`incomplete`. Populated when input items are returned via API.\n","enum":["completed","incomplete"],"isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.6.status","typeLabel":"enum\u003cstring>"},"acknowledged_safety_checks":{"type":"array","description":"The safety checks reported by the API that have been acknowledged by the\ndeveloper.\n","items":{"properties":{"id":{"type":"string","description":"The ID of the pending safety check.","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.6.acknowledged_safety_checks.items.[INDEX].id","typeLabel":"string"},"code":{"type":"any","uniqueKey":"oneOf.28.item.oneOf.6.acknowledged_safety_checks.items.[INDEX].code","typeLabel":"any"},"message":{"type":"any","uniqueKey":"oneOf.28.item.oneOf.6.acknowledged_safety_checks.items.[INDEX].message","typeLabel":"any"}},"type":"object","required":["id"],"description":"A pending safety check for the computer call.","uniqueKey":"oneOf.28.item.oneOf.6.acknowledged_safety_checks.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.28.item.oneOf.6.acknowledged_safety_checks","typeLabel":"object[]"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.\n","uniqueKey":"oneOf.28.item.oneOf.6.created_by","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.6","typeLabel":"Computer tool call output · object"},{"type":"object","title":"Reasoning","description":"The output item that was added. For reasoning items, `encrypted_content`\nmay be incomplete while the item is in progress. Use the reasoning item\nfrom the corresponding `response.output_item.done` event when passing it\nas input to a subsequent request.\n","required":["id","summary","type"],"properties":{"type":{"type":"string","description":"The type of the object. Always `reasoning`.\n","enum":["reasoning"],"isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.7.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique identifier of the reasoning content.\n","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.7.id","typeLabel":"string"},"summary":{"type":"array","description":"Reasoning summary content.\n","items":{"properties":{"type":{"type":"string","enum":["summary_text"],"description":"The type of the object. Always `summary_text`.","default":"summary_text","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.7.summary.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"A summary of the reasoning output from the model so far.","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.7.summary.items.[INDEX].text","typeLabel":"string"}},"type":"object","required":["type","text"],"title":"Summary text","description":"A summary text from the model.","uniqueKey":"oneOf.28.item.oneOf.7.summary.items.[INDEX]","typeLabel":"Summary text · object"},"isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.7.summary","typeLabel":"Summary text · object[]"},"encrypted_content":{"type":"any","uniqueKey":"oneOf.28.item.oneOf.7.encrypted_content","typeLabel":"any"},"content":{"type":"array","description":"Reasoning text content.\n","items":{"properties":{"type":{"type":"string","enum":["reasoning_text"],"description":"The type of the reasoning text. Always `reasoning_text`.","default":"reasoning_text","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.7.content.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"The reasoning text from the model.","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.7.content.items.[INDEX].text","typeLabel":"string"}},"type":"object","required":["type","text"],"title":"Reasoning text","description":"Reasoning text from the model.","uniqueKey":"oneOf.28.item.oneOf.7.content.items.[INDEX]","typeLabel":"Reasoning text · object"},"uniqueKey":"oneOf.28.item.oneOf.7.content","typeLabel":"Reasoning text · object[]"},"status":{"type":"string","description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"uniqueKey":"oneOf.28.item.oneOf.7.status","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.7","typeLabel":"Reasoning · object"},{"type":"object","description":"The output item that was added. For reasoning items, `encrypted_content`\nmay be incomplete while the item is in progress. Use the reasoning item\nfrom the corresponding `response.output_item.done` event when passing it\nas input to a subsequent request.\n","required":["type","id","call_id","code","fingerprint"],"properties":{"type":{"type":"string","enum":["program"],"description":"The type of the item. Always `program`.","default":"program","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.8.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the program item.","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.8.id","typeLabel":"string"},"call_id":{"type":"string","description":"The stable call ID of the program item.","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.8.call_id","typeLabel":"string"},"code":{"type":"string","description":"The JavaScript source executed by programmatic tool calling.","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.8.code","typeLabel":"string"},"fingerprint":{"type":"string","description":"Opaque program replay fingerprint that must be round-tripped.","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.8.fingerprint","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.8","typeLabel":"object"},{"type":"object","description":"The output item that was added. For reasoning items, `encrypted_content`\nmay be incomplete while the item is in progress. Use the reasoning item\nfrom the corresponding `response.output_item.done` event when passing it\nas input to a subsequent request.\n","required":["type","id","call_id","result","status"],"properties":{"type":{"type":"string","enum":["program_output"],"description":"The type of the item. Always `program_output`.","default":"program_output","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.9.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the program output item.","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.9.id","typeLabel":"string"},"call_id":{"type":"string","description":"The call ID of the program item.","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.9.call_id","typeLabel":"string"},"result":{"type":"string","description":"The result produced by the program item.","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.9.result","typeLabel":"string"},"status":{"type":"string","enum":["completed","incomplete"],"description":"The terminal status of the program output item.","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.9.status","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.9","typeLabel":"object"},{"type":"object","description":"The output item that was added. For reasoning items, `encrypted_content`\nmay be incomplete while the item is in progress. Use the reasoning item\nfrom the corresponding `response.output_item.done` event when passing it\nas input to a subsequent request.\n","required":["type","id","call_id","execution","arguments","status"],"properties":{"type":{"type":"string","enum":["tool_search_call"],"description":"The type of the item. Always `tool_search_call`.","default":"tool_search_call","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.10.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the tool search call item.","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.10.id","typeLabel":"string"},"call_id":{"type":"any","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.10.call_id","typeLabel":"any"},"execution":{"type":"string","enum":["server","client"],"description":"Whether tool search was executed by the server or by the client.","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.10.execution","typeLabel":"enum\u003cstring>"},"arguments":{"description":"Arguments used for the tool search call.","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.10.arguments","typeLabel":"any"},"status":{"type":"string","enum":["in_progress","completed","incomplete"],"description":"The status of the tool search call item that was recorded.","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.10.status","typeLabel":"enum\u003cstring>"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.","uniqueKey":"oneOf.28.item.oneOf.10.created_by","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.10","typeLabel":"object"},{"type":"object","description":"The output item that was added. For reasoning items, `encrypted_content`\nmay be incomplete while the item is in progress. Use the reasoning item\nfrom the corresponding `response.output_item.done` event when passing it\nas input to a subsequent request.\n","required":["type","id","call_id","execution","tools","status"],"properties":{"type":{"type":"string","enum":["tool_search_output"],"description":"The type of the item. Always `tool_search_output`.","default":"tool_search_output","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.11.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the tool search output item.","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.11.id","typeLabel":"string"},"call_id":{"type":"any","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.11.call_id","typeLabel":"any"},"execution":{"type":"string","enum":["server","client"],"description":"Whether tool search was executed by the server or by the client.","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.11.execution","typeLabel":"enum\u003cstring>"},"tools":{"items":{"type":"any","description":"A tool that can be used to generate a response.\n","uniqueKey":"oneOf.28.item.oneOf.11.tools.items.[INDEX]","typeLabel":"any"},"type":"array","description":"The loaded tool definitions returned by tool search.","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.11.tools","typeLabel":"any[]"},"status":{"type":"string","enum":["in_progress","completed","incomplete"],"description":"The status of the tool search output item that was recorded.","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.11.status","typeLabel":"enum\u003cstring>"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.","uniqueKey":"oneOf.28.item.oneOf.11.created_by","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.11","typeLabel":"object"},{"type":"object","description":"The output item that was added. For reasoning items, `encrypted_content`\nmay be incomplete while the item is in progress. Use the reasoning item\nfrom the corresponding `response.output_item.done` event when passing it\nas input to a subsequent request.\n","required":["type","id","role","tools"],"properties":{"type":{"type":"string","enum":["additional_tools"],"description":"The type of the item. Always `additional_tools`.","default":"additional_tools","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.12.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the additional tools item.","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.12.id","typeLabel":"string"},"role":{"type":"string","enum":["unknown","user","assistant","system","critic","discriminator","developer","tool"],"description":"The role that provided the additional tools.","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.12.role","typeLabel":"enum\u003cstring>"},"tools":{"items":{"type":"any","description":"A tool that can be used to generate a response.\n","uniqueKey":"oneOf.28.item.oneOf.12.tools.items.[INDEX]","typeLabel":"any"},"type":"array","description":"The additional tool definitions made available at this item.","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.12.tools","typeLabel":"any[]"}},"isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.12","typeLabel":"object"},{"type":"object","title":"Compaction item","description":"The output item that was added. For reasoning items, `encrypted_content`\nmay be incomplete while the item is in progress. Use the reasoning item\nfrom the corresponding `response.output_item.done` event when passing it\nas input to a subsequent request.\n","required":["type","id","encrypted_content"],"properties":{"type":{"type":"string","enum":["compaction"],"description":"The type of the item. Always `compaction`.","default":"compaction","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.13.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the compaction item.","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.13.id","typeLabel":"string"},"encrypted_content":{"type":"string","description":"The encrypted content that was produced by compaction.","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.13.encrypted_content","typeLabel":"string"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.","uniqueKey":"oneOf.28.item.oneOf.13.created_by","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.13","typeLabel":"Compaction item · object"},{"type":"object","title":"Image generation call","description":"The output item that was added. For reasoning items, `encrypted_content`\nmay be incomplete while the item is in progress. Use the reasoning item\nfrom the corresponding `response.output_item.done` event when passing it\nas input to a subsequent request.\n","required":["type","id","status","result"],"properties":{"type":{"type":"string","enum":["image_generation_call"],"description":"The type of the image generation call. Always `image_generation_call`.","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.14.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the image generation call.","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.14.id","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","completed","generating","failed"],"description":"The status of the image generation call.","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.14.status","typeLabel":"enum\u003cstring>"},"result":{"type":"any","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.14.result","typeLabel":"any"},"error":{"properties":{"code":{"type":"any","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.14.error.code","typeLabel":"any"},"type":{"type":"string","description":"The error type.","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.14.error.type","typeLabel":"string"},"message":{"type":"string","description":"A description of the error.","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.14.error.message","typeLabel":"string"},"param":{"type":"any","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.14.error.param","typeLabel":"any"},"moderation_details":{"properties":{"moderation_stage":{"type":"string","enum":["input","output","unknown"],"description":"The stage where moderation blocked the image generation call.","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.14.error.moderation_details.moderation_stage","typeLabel":"enum\u003cstring>"},"categories":{"items":{"type":"string","uniqueKey":"oneOf.28.item.oneOf.14.error.moderation_details.categories.items.[INDEX]","typeLabel":"string"},"type":"array","description":"Public moderation categories. New category values may be added over time.","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.14.error.moderation_details.categories","typeLabel":"string[]"}},"type":"object","required":["moderation_stage","categories"],"description":"Public details for a `moderation_blocked` error, when available.","uniqueKey":"oneOf.28.item.oneOf.14.error.moderation_details","typeLabel":"object"}},"type":"object","required":["code","type","message","param"],"description":"Details of a moderation failure, when available.","uniqueKey":"oneOf.28.item.oneOf.14.error","typeLabel":"object"},"size":{"type":"any","uniqueKey":"oneOf.28.item.oneOf.14.size","typeLabel":"any"},"quality":{"type":"any","uniqueKey":"oneOf.28.item.oneOf.14.quality","typeLabel":"any"},"action":{"type":"any","uniqueKey":"oneOf.28.item.oneOf.14.action","typeLabel":"any"},"background":{"type":"any","uniqueKey":"oneOf.28.item.oneOf.14.background","typeLabel":"any"},"output_format":{"type":"any","uniqueKey":"oneOf.28.item.oneOf.14.output_format","typeLabel":"any"},"svg_usage":{"properties":{"model":{"type":"string","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.14.svg_usage.model","typeLabel":"string"},"input_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.14.svg_usage.input_tokens","typeLabel":"integer"},"output_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.14.svg_usage.output_tokens","typeLabel":"integer"},"total_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.14.svg_usage.total_tokens","typeLabel":"integer"},"reasoning_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.14.svg_usage.reasoning_tokens","typeLabel":"integer"}},"type":"object","required":["model","input_tokens","output_tokens","total_tokens","reasoning_tokens"],"uniqueKey":"oneOf.28.item.oneOf.14.svg_usage","typeLabel":"object"},"revised_prompt":{"type":"any","uniqueKey":"oneOf.28.item.oneOf.14.revised_prompt","typeLabel":"any"}},"isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.14","typeLabel":"Image generation call · object"},{"type":"object","title":"Code interpreter tool call","description":"The output item that was added. For reasoning items, `encrypted_content`\nmay be incomplete while the item is in progress. Use the reasoning item\nfrom the corresponding `response.output_item.done` event when passing it\nas input to a subsequent request.\n","required":["type","id","status","container_id","code","outputs"],"properties":{"type":{"type":"string","enum":["code_interpreter_call"],"default":"code_interpreter_call","description":"The type of the code interpreter tool call. Always `code_interpreter_call`.\n","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.15.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the code interpreter tool call.\n","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.15.id","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","completed","incomplete","interpreting","failed"],"description":"The status of the code interpreter tool call. Valid values are `in_progress`, `completed`, `incomplete`, `interpreting`, and `failed`.\n","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.15.status","typeLabel":"enum\u003cstring>"},"container_id":{"type":"string","description":"The ID of the container used to run the code.\n","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.15.container_id","typeLabel":"string"},"code":{"type":"any","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.15.code","typeLabel":"any"},"outputs":{"type":"any","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.15.outputs","typeLabel":"any"}},"isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.15","typeLabel":"Code interpreter tool call · object"},{"type":"object","title":"Local shell call","description":"The output item that was added. For reasoning items, `encrypted_content`\nmay be incomplete while the item is in progress. Use the reasoning item\nfrom the corresponding `response.output_item.done` event when passing it\nas input to a subsequent request.\n","required":["type","id","call_id","action","status"],"properties":{"type":{"type":"string","enum":["local_shell_call"],"description":"The type of the local shell call. Always `local_shell_call`.\n","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.16.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the local shell call.\n","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.16.id","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the local shell tool call generated by the model.\n","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.16.call_id","typeLabel":"string"},"action":{"properties":{"type":{"type":"string","enum":["exec"],"description":"The type of the local shell action. Always `exec`.","default":"exec","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.16.action.type","typeLabel":"enum\u003cstring>"},"command":{"items":{"type":"string","uniqueKey":"oneOf.28.item.oneOf.16.action.command.items.[INDEX]","typeLabel":"string"},"type":"array","description":"The command to run.","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.16.action.command","typeLabel":"string[]"},"env":{"additionalProperties":{"type":"string","uniqueKey":"oneOf.28.item.oneOf.16.action.env.additionalProperties","typeLabel":"string"},"type":"object","description":"Environment variables to set for the command.","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.16.action.env","typeLabel":"object"},"timeout_ms":{"type":"any","uniqueKey":"oneOf.28.item.oneOf.16.action.timeout_ms","typeLabel":"any"},"working_directory":{"type":"any","uniqueKey":"oneOf.28.item.oneOf.16.action.working_directory","typeLabel":"any"},"user":{"type":"any","uniqueKey":"oneOf.28.item.oneOf.16.action.user","typeLabel":"any"}},"type":"object","required":["type","command","env"],"title":"Local shell exec action","description":"Execute a shell command on the server.","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.16.action","typeLabel":"Local shell exec action · object"},"status":{"type":"string","enum":["in_progress","completed","incomplete"],"description":"The status of the local shell call.\n","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.16.status","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.16","typeLabel":"Local shell call · object"},{"type":"object","title":"Local shell call output","description":"The output item that was added. For reasoning items, `encrypted_content`\nmay be incomplete while the item is in progress. Use the reasoning item\nfrom the corresponding `response.output_item.done` event when passing it\nas input to a subsequent request.\n","required":["id","type","call_id","output"],"properties":{"type":{"type":"string","enum":["local_shell_call_output"],"description":"The type of the local shell tool call output. Always `local_shell_call_output`.\n","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.17.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the local shell tool call generated by the model.\n","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.17.id","typeLabel":"string"},"output":{"type":"string","description":"A JSON string of the output of the local shell tool call.\n","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.17.output","typeLabel":"string"},"status":{"type":"any","uniqueKey":"oneOf.28.item.oneOf.17.status","typeLabel":"any"}},"isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.17","typeLabel":"Local shell call output · object"},{"type":"object","title":"Shell tool call","description":"The output item that was added. For reasoning items, `encrypted_content`\nmay be incomplete while the item is in progress. Use the reasoning item\nfrom the corresponding `response.output_item.done` event when passing it\nas input to a subsequent request.\n","required":["type","id","call_id","action","status","environment"],"properties":{"type":{"type":"string","enum":["shell_call"],"description":"The type of the item. Always `shell_call`.","default":"shell_call","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.18.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the shell tool call. Populated when this item is returned via API.","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.18.id","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the shell tool call generated by the model.","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.18.call_id","typeLabel":"string"},"action":{"properties":{"commands":{"items":{"type":"string","description":"A list of commands to run.","uniqueKey":"oneOf.28.item.oneOf.18.action.commands.items.[INDEX]","typeLabel":"string"},"type":"array","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.18.action.commands","typeLabel":"string[]"},"timeout_ms":{"type":"any","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.18.action.timeout_ms","typeLabel":"any"},"max_output_length":{"type":"any","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.18.action.max_output_length","typeLabel":"any"}},"type":"object","required":["commands","timeout_ms","max_output_length"],"title":"Shell exec action","description":"The shell commands and limits that describe how to run the tool call.","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.18.action","typeLabel":"Shell exec action · object"},"status":{"type":"string","enum":["in_progress","completed","incomplete"],"description":"The status of the shell call. One of `in_progress`, `completed`, or `incomplete`.","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.18.status","typeLabel":"enum\u003cstring>"},"environment":{"type":"any","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.18.environment","typeLabel":"any"},"caller":{"type":"any","uniqueKey":"oneOf.28.item.oneOf.18.caller","typeLabel":"any"},"created_by":{"type":"string","description":"The ID of the entity that created this tool call.","uniqueKey":"oneOf.28.item.oneOf.18.created_by","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.18","typeLabel":"Shell tool call · object"},{"type":"object","title":"Shell call output","description":"The output item that was added. For reasoning items, `encrypted_content`\nmay be incomplete while the item is in progress. Use the reasoning item\nfrom the corresponding `response.output_item.done` event when passing it\nas input to a subsequent request.\n","required":["type","id","call_id","status","output","max_output_length"],"properties":{"type":{"type":"string","enum":["shell_call_output"],"description":"The type of the shell call output. Always `shell_call_output`.","default":"shell_call_output","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.19.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the shell call output. Populated when this item is returned via API.","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.19.id","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the shell tool call generated by the model.","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.19.call_id","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","completed","incomplete"],"description":"The status of the shell call output. One of `in_progress`, `completed`, or `incomplete`.","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.19.status","typeLabel":"enum\u003cstring>"},"output":{"items":{"properties":{"stdout":{"type":"string","description":"The standard output that was captured.","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.19.output.items.[INDEX].stdout","typeLabel":"string"},"stderr":{"type":"string","description":"The standard error output that was captured.","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.19.output.items.[INDEX].stderr","typeLabel":"string"},"outcome":{"type":"any","title":"Shell call outcome","description":"Represents either an exit outcome (with an exit code) or a timeout outcome for a shell call output chunk.","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.19.output.items.[INDEX].outcome","typeLabel":"any"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.","uniqueKey":"oneOf.28.item.oneOf.19.output.items.[INDEX].created_by","typeLabel":"string"}},"type":"object","required":["stdout","stderr","outcome"],"title":"Shell call output content","description":"The content of a shell tool call output that was emitted.","uniqueKey":"oneOf.28.item.oneOf.19.output.items.[INDEX]","typeLabel":"Shell call output content · object"},"type":"array","description":"An array of shell call output contents","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.19.output","typeLabel":"Shell call output content · object[]"},"max_output_length":{"type":"any","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.19.max_output_length","typeLabel":"any"},"caller":{"type":"any","uniqueKey":"oneOf.28.item.oneOf.19.caller","typeLabel":"any"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.","uniqueKey":"oneOf.28.item.oneOf.19.created_by","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.19","typeLabel":"Shell call output · object"},{"type":"object","title":"Apply patch tool call","description":"The output item that was added. For reasoning items, `encrypted_content`\nmay be incomplete while the item is in progress. Use the reasoning item\nfrom the corresponding `response.output_item.done` event when passing it\nas input to a subsequent request.\n","required":["type","id","call_id","status","operation"],"properties":{"type":{"type":"string","enum":["apply_patch_call"],"description":"The type of the item. Always `apply_patch_call`.","default":"apply_patch_call","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.20.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the apply patch tool call. Populated when this item is returned via API.","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.20.id","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the apply patch tool call generated by the model.","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.20.call_id","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","completed"],"description":"The status of the apply patch tool call. One of `in_progress` or `completed`.","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.20.status","typeLabel":"enum\u003cstring>"},"operation":{"type":"any","title":"Apply patch operation","description":"One of the create_file, delete_file, or update_file operations applied via apply_patch.","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.20.operation","typeLabel":"any"},"caller":{"type":"any","uniqueKey":"oneOf.28.item.oneOf.20.caller","typeLabel":"any"},"created_by":{"type":"string","description":"The ID of the entity that created this tool call.","uniqueKey":"oneOf.28.item.oneOf.20.created_by","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.20","typeLabel":"Apply patch tool call · object"},{"type":"object","title":"Apply patch tool call output","description":"The output item that was added. For reasoning items, `encrypted_content`\nmay be incomplete while the item is in progress. Use the reasoning item\nfrom the corresponding `response.output_item.done` event when passing it\nas input to a subsequent request.\n","required":["type","id","call_id","status"],"properties":{"type":{"type":"string","enum":["apply_patch_call_output"],"description":"The type of the item. Always `apply_patch_call_output`.","default":"apply_patch_call_output","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.21.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the apply patch tool call output. Populated when this item is returned via API.","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.21.id","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the apply patch tool call generated by the model.","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.21.call_id","typeLabel":"string"},"status":{"type":"string","enum":["completed","failed"],"description":"The status of the apply patch tool call output. One of `completed` or `failed`.","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.21.status","typeLabel":"enum\u003cstring>"},"caller":{"type":"any","uniqueKey":"oneOf.28.item.oneOf.21.caller","typeLabel":"any"},"output":{"type":"any","uniqueKey":"oneOf.28.item.oneOf.21.output","typeLabel":"any"},"created_by":{"type":"string","description":"The ID of the entity that created this tool call output.","uniqueKey":"oneOf.28.item.oneOf.21.created_by","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.21","typeLabel":"Apply patch tool call output · object"},{"type":"object","title":"MCP tool call","description":"The output item that was added. For reasoning items, `encrypted_content`\nmay be incomplete while the item is in progress. Use the reasoning item\nfrom the corresponding `response.output_item.done` event when passing it\nas input to a subsequent request.\n","required":["type","id","server_label","name","arguments"],"properties":{"type":{"type":"string","const":"mcp_call","description":"The type of the item. Always `mcp_call`.\n","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.22.type","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the tool call.\n","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.22.id","typeLabel":"string"},"server_label":{"type":"string","description":"The label of the MCP server running the tool.\n","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.22.server_label","typeLabel":"string"},"name":{"type":"string","description":"The name of the tool that was run.\n","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.22.name","typeLabel":"string"},"arguments":{"type":"string","description":"A JSON string of the arguments passed to the tool.\n","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.22.arguments","typeLabel":"string"},"output":{"type":"any","uniqueKey":"oneOf.28.item.oneOf.22.output","typeLabel":"any"},"error":{"type":"any","description":"The error from the tool call, if any.","uniqueKey":"oneOf.28.item.oneOf.22.error","typeLabel":"any"},"status":{"type":"string","enum":["in_progress","completed","incomplete","calling","failed"],"description":"The status of the tool call. One of `in_progress`, `completed`, `incomplete`, `calling`, or `failed`.\n","uniqueKey":"oneOf.28.item.oneOf.22.status","typeLabel":"enum\u003cstring>"},"approval_request_id":{"type":"any","uniqueKey":"oneOf.28.item.oneOf.22.approval_request_id","typeLabel":"any"}},"isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.22","typeLabel":"MCP tool call · object"},{"type":"object","title":"MCP list tools","description":"The output item that was added. For reasoning items, `encrypted_content`\nmay be incomplete while the item is in progress. Use the reasoning item\nfrom the corresponding `response.output_item.done` event when passing it\nas input to a subsequent request.\n","required":["type","id","server_label","tools"],"properties":{"type":{"type":"string","const":"mcp_list_tools","description":"The type of the item. Always `mcp_list_tools`.\n","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.23.type","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the list.\n","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.23.id","typeLabel":"string"},"server_label":{"type":"string","description":"The label of the MCP server.\n","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.23.server_label","typeLabel":"string"},"tools":{"type":"array","items":{"type":"object","title":"MCP list tools tool","description":"A tool available on an MCP server.\n","properties":{"name":{"type":"string","description":"The name of the tool.\n","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.23.tools.items.[INDEX].name","typeLabel":"string"},"input_schema":{"type":"object","description":"The JSON schema describing the tool's input.\n","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.23.tools.items.[INDEX].input_schema","typeLabel":"object"},"description":{"type":"any","uniqueKey":"oneOf.28.item.oneOf.23.tools.items.[INDEX].description","typeLabel":"any"},"annotations":{"type":"any","uniqueKey":"oneOf.28.item.oneOf.23.tools.items.[INDEX].annotations","typeLabel":"any"}},"required":["name","input_schema"],"uniqueKey":"oneOf.28.item.oneOf.23.tools.items.[INDEX]","typeLabel":"MCP list tools tool · object"},"description":"The tools available on the server.\n","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.23.tools","typeLabel":"MCP list tools tool · object[]"},"error":{"type":"any","uniqueKey":"oneOf.28.item.oneOf.23.error","typeLabel":"any"}},"isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.23","typeLabel":"MCP list tools · object"},{"type":"object","title":"MCP approval request","description":"The output item that was added. For reasoning items, `encrypted_content`\nmay be incomplete while the item is in progress. Use the reasoning item\nfrom the corresponding `response.output_item.done` event when passing it\nas input to a subsequent request.\n","required":["type","id","server_label","name","arguments"],"properties":{"type":{"type":"string","const":"mcp_approval_request","description":"The type of the item. Always `mcp_approval_request`.\n","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.24.type","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the approval request.\n","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.24.id","typeLabel":"string"},"server_label":{"type":"string","description":"The label of the MCP server making the request.\n","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.24.server_label","typeLabel":"string"},"name":{"type":"string","description":"The name of the tool to run.\n","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.24.name","typeLabel":"string"},"arguments":{"type":"string","description":"A JSON string of arguments for the tool.\n","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.24.arguments","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.24","typeLabel":"MCP approval request · object"},{"type":"object","title":"MCP approval response","description":"The output item that was added. For reasoning items, `encrypted_content`\nmay be incomplete while the item is in progress. Use the reasoning item\nfrom the corresponding `response.output_item.done` event when passing it\nas input to a subsequent request.\n","required":["type","id","request_id","approve","approval_request_id"],"properties":{"type":{"type":"string","const":"mcp_approval_response","description":"The type of the item. Always `mcp_approval_response`.\n","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.25.type","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the approval response\n","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.25.id","typeLabel":"string"},"approval_request_id":{"type":"string","description":"The ID of the approval request being answered.\n","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.25.approval_request_id","typeLabel":"string"},"approve":{"type":"boolean","description":"Whether the request was approved.\n","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.25.approve","typeLabel":"boolean"},"reason":{"type":"any","uniqueKey":"oneOf.28.item.oneOf.25.reason","typeLabel":"any"}},"isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.25","typeLabel":"MCP approval response · object"},{"type":"object","title":"Custom tool call","description":"The output item that was added. For reasoning items, `encrypted_content`\nmay be incomplete while the item is in progress. Use the reasoning item\nfrom the corresponding `response.output_item.done` event when passing it\nas input to a subsequent request.\n","required":["type","call_id","name","input"],"properties":{"type":{"type":"string","enum":["custom_tool_call"],"description":"The type of the custom tool call. Always `custom_tool_call`.\n","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.26.type","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","description":"An identifier used to map this custom tool call to a tool call output.\n","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.26.call_id","typeLabel":"string"},"name":{"type":"string","description":"The name of the custom tool being called.\n","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.26.name","typeLabel":"string"},"input":{"type":"string","description":"The input for the custom tool call generated by the model.\n","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.26.input","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the custom tool call in the OpenAI platform.\n","uniqueKey":"oneOf.28.item.oneOf.26.id","typeLabel":"string"},"caller":{"type":"any","uniqueKey":"oneOf.28.item.oneOf.26.caller","typeLabel":"any"},"namespace":{"type":"string","description":"The namespace of the custom tool being called.\n","uniqueKey":"oneOf.28.item.oneOf.26.namespace","typeLabel":"string"},"async":{"type":"boolean","description":"Whether the custom tool call runs asynchronously.\n","uniqueKey":"oneOf.28.item.oneOf.26.async","typeLabel":"boolean"}},"isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.26","typeLabel":"Custom tool call · object"},{"type":"object","title":"ResponseCustomToolCallOutputItem","description":"The output item that was added. For reasoning items, `encrypted_content`\nmay be incomplete while the item is in progress. Use the reasoning item\nfrom the corresponding `response.output_item.done` event when passing it\nas input to a subsequent request.\n","required":["id","status","type","call_id","output"],"properties":{"type":{"type":"string","enum":["custom_tool_call_output"],"description":"The type of the custom tool call output. Always `custom_tool_call_output`.\n","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.27.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the custom tool call output item.\n","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.27.id","typeLabel":"string"},"call_id":{"type":"string","description":"The call ID, used to map this custom tool call output to a custom tool call.\n","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.27.call_id","typeLabel":"string"},"output":{"type":"any","description":"The output from the custom tool call generated by your code.\nCan be a string or an list of output content.\n","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.27.output","typeLabel":"any"},"status":{"type":"string","enum":["in_progress","completed","incomplete"],"description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.27.status","typeLabel":"enum\u003cstring>"},"caller":{"type":"any","uniqueKey":"oneOf.28.item.oneOf.27.caller","typeLabel":"any"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.\n","uniqueKey":"oneOf.28.item.oneOf.27.created_by","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.28.item.oneOf.27","typeLabel":"ResponseCustomToolCallOutputItem · object"}],"isRequired":true,"uniqueKey":"oneOf.28.item","typeLabel":"Output message · object · File search tool call · object · Function tool call · object · Function tool call output · object · Web search tool call · object · Computer tool call · object · Computer tool call output · object · Reasoning · object · object · object · object · object · object · Compaction item · object · Image generation call · object · Code interpreter tool call · object · Local shell call · object · Local shell call output · object · Shell tool call · object · Shell call output · object · Apply patch tool call · object · Apply patch tool call output · object · MCP tool call · object · MCP list tools · object · MCP approval request · object · MCP approval response · object · Custom tool call · object · ResponseCustomToolCallOutputItem · object"}},"uniqueKey":"oneOf.28","typeLabel":"object"},{"type":"object","description":"Event emitted while a response is streamed.","required":["type","output_index","item","sequence_number"],"properties":{"type":{"type":"string","description":"The type of the event. Always `response.output_item.done`.\n","const":"response.output_item.done","isRequired":true,"uniqueKey":"oneOf.29.type","typeLabel":"string"},"output_index":{"type":"integer","description":"The index of the output item that was marked done.\n","isRequired":true,"uniqueKey":"oneOf.29.output_index","typeLabel":"integer"},"sequence_number":{"type":"integer","description":"The sequence number of this event.\n","isRequired":true,"uniqueKey":"oneOf.29.sequence_number","typeLabel":"integer"},"item":{"oneOf":[{"type":"object","title":"Output message","description":"The output item that was marked done.\n","required":["id","type","role","content","status"],"properties":{"id":{"type":"string","description":"The unique ID of the output message.\n","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.0.id","typeLabel":"string"},"type":{"type":"string","description":"The type of the output message. Always `message`.\n","const":"message","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.0.type","typeLabel":"string"},"role":{"type":"string","description":"The role of the output message. Always `assistant`.\n","const":"assistant","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.0.role","typeLabel":"string"},"content":{"type":"array","description":"The content of the output message.\n","items":{"type":"any","uniqueKey":"oneOf.29.item.oneOf.0.content.items.[INDEX]","typeLabel":"any"},"isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.0.content","typeLabel":"any[]"},"status":{"type":"string","description":"The status of the message input. One of `in_progress`, `completed`, or\n`incomplete`. Populated when input items are returned via API.\n","enum":["in_progress","completed","incomplete"],"isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.0.status","typeLabel":"enum\u003cstring>"},"phase":{"type":"any","uniqueKey":"oneOf.29.item.oneOf.0.phase","typeLabel":"any"}},"isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.0","typeLabel":"Output message · object"},{"type":"object","title":"File search tool call","description":"The output item that was marked done.\n","required":["id","type","status","queries"],"properties":{"id":{"type":"string","description":"The unique ID of the file search tool call.\n","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.1.id","typeLabel":"string"},"type":{"type":"string","enum":["file_search_call"],"description":"The type of the file search tool call. Always `file_search_call`.\n","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.1.type","typeLabel":"enum\u003cstring>"},"status":{"type":"string","description":"The status of the file search tool call. One of `in_progress`,\n`searching`, `incomplete` or `failed`,\n","enum":["in_progress","searching","completed","incomplete","failed"],"isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.1.status","typeLabel":"enum\u003cstring>"},"queries":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.29.item.oneOf.1.queries.items.[INDEX]","typeLabel":"string"},"description":"The queries used to search for files.\n","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.1.queries","typeLabel":"string[]"},"results":{"type":"any","uniqueKey":"oneOf.29.item.oneOf.1.results","typeLabel":"any"}},"isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.1","typeLabel":"File search tool call · object"},{"type":"object","title":"Function tool call","description":"The output item that was marked done.\n","required":["type","call_id","name","arguments"],"properties":{"type":{"type":"string","const":"function_call","description":"The type of the function tool call. Always `function_call`.\n","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.2.type","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the function tool call generated by the model.\n","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.2.call_id","typeLabel":"string"},"name":{"type":"string","description":"The name of the function to run.\n","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.2.name","typeLabel":"string"},"arguments":{"type":"string","description":"A JSON string of the arguments to pass to the function.\n","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.2.arguments","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the function tool call.\n","uniqueKey":"oneOf.29.item.oneOf.2.id","typeLabel":"string"},"caller":{"type":"any","uniqueKey":"oneOf.29.item.oneOf.2.caller","typeLabel":"any"},"namespace":{"type":"string","description":"The namespace of the function to run.\n","uniqueKey":"oneOf.29.item.oneOf.2.namespace","typeLabel":"string"},"status":{"type":"string","description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"uniqueKey":"oneOf.29.item.oneOf.2.status","typeLabel":"enum\u003cstring>"},"async":{"type":"boolean","description":"Whether the function tool call runs asynchronously.\n","uniqueKey":"oneOf.29.item.oneOf.2.async","typeLabel":"boolean"}},"isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.2","typeLabel":"Function tool call · object"},{"type":"object","title":"Function tool call output","description":"The output item that was marked done.\n","required":["id","status","type","output"],"properties":{"id":{"type":"string","description":"The unique ID of the function call tool output.\n","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.3.id","typeLabel":"string"},"type":{"type":"string","const":"function_call_output","description":"The type of the function tool call output. Always `function_call_output`.\n","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.3.type","typeLabel":"string"},"output":{"type":"any","description":"The output from the function call generated by your code.\nCan be a string or an list of output content.\n","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.3.output","typeLabel":"any"},"status":{"type":"string","description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.3.status","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","description":"The unique ID of the function tool call generated by the model.\n","uniqueKey":"oneOf.29.item.oneOf.3.call_id","typeLabel":"string"},"name":{"type":"string","description":"The name of the tool that produced the output.\n","uniqueKey":"oneOf.29.item.oneOf.3.name","typeLabel":"string"},"namespace":{"type":"string","description":"The namespace of the tool that produced the output.\n","uniqueKey":"oneOf.29.item.oneOf.3.namespace","typeLabel":"string"},"caller":{"type":"any","uniqueKey":"oneOf.29.item.oneOf.3.caller","typeLabel":"any"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.\n","uniqueKey":"oneOf.29.item.oneOf.3.created_by","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.3","typeLabel":"Function tool call output · object"},{"type":"object","title":"Web search tool call","description":"The output item that was marked done.\n","required":["id","type","status"],"properties":{"id":{"type":"string","description":"The unique ID of the web search tool call.\n","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.4.id","typeLabel":"string"},"type":{"type":"string","const":"web_search_call","description":"The type of the web search tool call. Always `web_search_call`.\n","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.4.type","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","searching","completed","failed","incomplete"],"description":"The status of the web search tool call.\n","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.4.status","typeLabel":"enum\u003cstring>"},"action":{"type":"any","uniqueKey":"oneOf.29.item.oneOf.4.action","typeLabel":"any"}},"isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.4","typeLabel":"Web search tool call · object"},{"type":"object","title":"Computer tool call","description":"The output item that was marked done.\n","required":["type","id","call_id","pending_safety_checks","status"],"properties":{"type":{"type":"string","description":"The type of the computer call. Always `computer_call`.","enum":["computer_call"],"default":"computer_call","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.5.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the computer call.","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.5.id","typeLabel":"string"},"call_id":{"type":"string","description":"An identifier used when responding to the tool call with output.\n","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.5.call_id","typeLabel":"string"},"pending_safety_checks":{"type":"array","items":{"properties":{"id":{"type":"string","description":"The ID of the pending safety check.","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.5.pending_safety_checks.items.[INDEX].id","typeLabel":"string"},"code":{"type":"any","uniqueKey":"oneOf.29.item.oneOf.5.pending_safety_checks.items.[INDEX].code","typeLabel":"any"},"message":{"type":"any","uniqueKey":"oneOf.29.item.oneOf.5.pending_safety_checks.items.[INDEX].message","typeLabel":"any"}},"type":"object","required":["id"],"description":"A pending safety check for the computer call.","uniqueKey":"oneOf.29.item.oneOf.5.pending_safety_checks.items.[INDEX]","typeLabel":"object"},"description":"The pending safety checks for the computer call.\n","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.5.pending_safety_checks","typeLabel":"object[]"},"status":{"type":"string","description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.5.status","typeLabel":"enum\u003cstring>"},"action":{"type":"any","uniqueKey":"oneOf.29.item.oneOf.5.action","typeLabel":"any"},"actions":{"title":"Computer Action List","type":"array","description":"Flattened batched actions for `computer_use`. Each action includes an\n`type` discriminator and action-specific fields.\n","items":{"type":"any","uniqueKey":"oneOf.29.item.oneOf.5.actions.items.[INDEX]","typeLabel":"any"},"uniqueKey":"oneOf.29.item.oneOf.5.actions","typeLabel":"any[]"}},"isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.5","typeLabel":"Computer tool call · object"},{"type":"object","title":"Computer tool call output","description":"The output item that was marked done.\n","required":["id","status","type","call_id","output"],"properties":{"type":{"type":"string","description":"The type of the computer tool call output. Always `computer_call_output`.\n","const":"computer_call_output","default":"computer_call_output","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.6.type","typeLabel":"string"},"id":{"type":"string","description":"The ID of the computer tool call output.\n","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.6.id","typeLabel":"string"},"call_id":{"type":"string","description":"The ID of the computer tool call that produced the output.\n","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.6.call_id","typeLabel":"string"},"output":{"type":"object","description":"A computer screenshot image used with the computer use tool.\n","properties":{"type":{"type":"string","const":"computer_screenshot","default":"computer_screenshot","description":"Specifies the event type. For a computer screenshot, this property is \nalways set to `computer_screenshot`.\n","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.6.output.type","typeLabel":"string"},"image_url":{"type":"string","format":"uri","description":"The URL of the screenshot image.","uniqueKey":"oneOf.29.item.oneOf.6.output.image_url","typeLabel":"string\u003curi>"},"file_id":{"type":"string","description":"The identifier of an uploaded file that contains the screenshot.","uniqueKey":"oneOf.29.item.oneOf.6.output.file_id","typeLabel":"string"}},"required":["type"],"isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.6.output","typeLabel":"object"},"status":{"type":"string","description":"The status of the message input. One of `in_progress`, `completed`, or\n`incomplete`. Populated when input items are returned via API.\n","enum":["completed","incomplete"],"isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.6.status","typeLabel":"enum\u003cstring>"},"acknowledged_safety_checks":{"type":"array","description":"The safety checks reported by the API that have been acknowledged by the\ndeveloper.\n","items":{"properties":{"id":{"type":"string","description":"The ID of the pending safety check.","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.6.acknowledged_safety_checks.items.[INDEX].id","typeLabel":"string"},"code":{"type":"any","uniqueKey":"oneOf.29.item.oneOf.6.acknowledged_safety_checks.items.[INDEX].code","typeLabel":"any"},"message":{"type":"any","uniqueKey":"oneOf.29.item.oneOf.6.acknowledged_safety_checks.items.[INDEX].message","typeLabel":"any"}},"type":"object","required":["id"],"description":"A pending safety check for the computer call.","uniqueKey":"oneOf.29.item.oneOf.6.acknowledged_safety_checks.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.29.item.oneOf.6.acknowledged_safety_checks","typeLabel":"object[]"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.\n","uniqueKey":"oneOf.29.item.oneOf.6.created_by","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.6","typeLabel":"Computer tool call output · object"},{"type":"object","title":"Reasoning","description":"The output item that was marked done.\n","required":["id","summary","type"],"properties":{"type":{"type":"string","description":"The type of the object. Always `reasoning`.\n","enum":["reasoning"],"isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.7.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique identifier of the reasoning content.\n","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.7.id","typeLabel":"string"},"summary":{"type":"array","description":"Reasoning summary content.\n","items":{"properties":{"type":{"type":"string","enum":["summary_text"],"description":"The type of the object. Always `summary_text`.","default":"summary_text","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.7.summary.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"A summary of the reasoning output from the model so far.","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.7.summary.items.[INDEX].text","typeLabel":"string"}},"type":"object","required":["type","text"],"title":"Summary text","description":"A summary text from the model.","uniqueKey":"oneOf.29.item.oneOf.7.summary.items.[INDEX]","typeLabel":"Summary text · object"},"isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.7.summary","typeLabel":"Summary text · object[]"},"encrypted_content":{"type":"any","uniqueKey":"oneOf.29.item.oneOf.7.encrypted_content","typeLabel":"any"},"content":{"type":"array","description":"Reasoning text content.\n","items":{"properties":{"type":{"type":"string","enum":["reasoning_text"],"description":"The type of the reasoning text. Always `reasoning_text`.","default":"reasoning_text","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.7.content.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"The reasoning text from the model.","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.7.content.items.[INDEX].text","typeLabel":"string"}},"type":"object","required":["type","text"],"title":"Reasoning text","description":"Reasoning text from the model.","uniqueKey":"oneOf.29.item.oneOf.7.content.items.[INDEX]","typeLabel":"Reasoning text · object"},"uniqueKey":"oneOf.29.item.oneOf.7.content","typeLabel":"Reasoning text · object[]"},"status":{"type":"string","description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"uniqueKey":"oneOf.29.item.oneOf.7.status","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.7","typeLabel":"Reasoning · object"},{"type":"object","description":"The output item that was marked done.\n","required":["type","id","call_id","code","fingerprint"],"properties":{"type":{"type":"string","enum":["program"],"description":"The type of the item. Always `program`.","default":"program","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.8.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the program item.","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.8.id","typeLabel":"string"},"call_id":{"type":"string","description":"The stable call ID of the program item.","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.8.call_id","typeLabel":"string"},"code":{"type":"string","description":"The JavaScript source executed by programmatic tool calling.","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.8.code","typeLabel":"string"},"fingerprint":{"type":"string","description":"Opaque program replay fingerprint that must be round-tripped.","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.8.fingerprint","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.8","typeLabel":"object"},{"type":"object","description":"The output item that was marked done.\n","required":["type","id","call_id","result","status"],"properties":{"type":{"type":"string","enum":["program_output"],"description":"The type of the item. Always `program_output`.","default":"program_output","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.9.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the program output item.","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.9.id","typeLabel":"string"},"call_id":{"type":"string","description":"The call ID of the program item.","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.9.call_id","typeLabel":"string"},"result":{"type":"string","description":"The result produced by the program item.","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.9.result","typeLabel":"string"},"status":{"type":"string","enum":["completed","incomplete"],"description":"The terminal status of the program output item.","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.9.status","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.9","typeLabel":"object"},{"type":"object","description":"The output item that was marked done.\n","required":["type","id","call_id","execution","arguments","status"],"properties":{"type":{"type":"string","enum":["tool_search_call"],"description":"The type of the item. Always `tool_search_call`.","default":"tool_search_call","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.10.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the tool search call item.","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.10.id","typeLabel":"string"},"call_id":{"type":"any","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.10.call_id","typeLabel":"any"},"execution":{"type":"string","enum":["server","client"],"description":"Whether tool search was executed by the server or by the client.","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.10.execution","typeLabel":"enum\u003cstring>"},"arguments":{"description":"Arguments used for the tool search call.","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.10.arguments","typeLabel":"any"},"status":{"type":"string","enum":["in_progress","completed","incomplete"],"description":"The status of the tool search call item that was recorded.","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.10.status","typeLabel":"enum\u003cstring>"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.","uniqueKey":"oneOf.29.item.oneOf.10.created_by","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.10","typeLabel":"object"},{"type":"object","description":"The output item that was marked done.\n","required":["type","id","call_id","execution","tools","status"],"properties":{"type":{"type":"string","enum":["tool_search_output"],"description":"The type of the item. Always `tool_search_output`.","default":"tool_search_output","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.11.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the tool search output item.","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.11.id","typeLabel":"string"},"call_id":{"type":"any","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.11.call_id","typeLabel":"any"},"execution":{"type":"string","enum":["server","client"],"description":"Whether tool search was executed by the server or by the client.","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.11.execution","typeLabel":"enum\u003cstring>"},"tools":{"items":{"type":"any","description":"A tool that can be used to generate a response.\n","uniqueKey":"oneOf.29.item.oneOf.11.tools.items.[INDEX]","typeLabel":"any"},"type":"array","description":"The loaded tool definitions returned by tool search.","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.11.tools","typeLabel":"any[]"},"status":{"type":"string","enum":["in_progress","completed","incomplete"],"description":"The status of the tool search output item that was recorded.","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.11.status","typeLabel":"enum\u003cstring>"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.","uniqueKey":"oneOf.29.item.oneOf.11.created_by","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.11","typeLabel":"object"},{"type":"object","description":"The output item that was marked done.\n","required":["type","id","role","tools"],"properties":{"type":{"type":"string","enum":["additional_tools"],"description":"The type of the item. Always `additional_tools`.","default":"additional_tools","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.12.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the additional tools item.","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.12.id","typeLabel":"string"},"role":{"type":"string","enum":["unknown","user","assistant","system","critic","discriminator","developer","tool"],"description":"The role that provided the additional tools.","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.12.role","typeLabel":"enum\u003cstring>"},"tools":{"items":{"type":"any","description":"A tool that can be used to generate a response.\n","uniqueKey":"oneOf.29.item.oneOf.12.tools.items.[INDEX]","typeLabel":"any"},"type":"array","description":"The additional tool definitions made available at this item.","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.12.tools","typeLabel":"any[]"}},"isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.12","typeLabel":"object"},{"type":"object","title":"Compaction item","description":"The output item that was marked done.\n","required":["type","id","encrypted_content"],"properties":{"type":{"type":"string","enum":["compaction"],"description":"The type of the item. Always `compaction`.","default":"compaction","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.13.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the compaction item.","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.13.id","typeLabel":"string"},"encrypted_content":{"type":"string","description":"The encrypted content that was produced by compaction.","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.13.encrypted_content","typeLabel":"string"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.","uniqueKey":"oneOf.29.item.oneOf.13.created_by","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.13","typeLabel":"Compaction item · object"},{"type":"object","title":"Image generation call","description":"The output item that was marked done.\n","required":["type","id","status","result"],"properties":{"type":{"type":"string","enum":["image_generation_call"],"description":"The type of the image generation call. Always `image_generation_call`.","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.14.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the image generation call.","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.14.id","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","completed","generating","failed"],"description":"The status of the image generation call.","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.14.status","typeLabel":"enum\u003cstring>"},"result":{"type":"any","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.14.result","typeLabel":"any"},"error":{"properties":{"code":{"type":"any","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.14.error.code","typeLabel":"any"},"type":{"type":"string","description":"The error type.","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.14.error.type","typeLabel":"string"},"message":{"type":"string","description":"A description of the error.","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.14.error.message","typeLabel":"string"},"param":{"type":"any","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.14.error.param","typeLabel":"any"},"moderation_details":{"properties":{"moderation_stage":{"type":"string","enum":["input","output","unknown"],"description":"The stage where moderation blocked the image generation call.","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.14.error.moderation_details.moderation_stage","typeLabel":"enum\u003cstring>"},"categories":{"items":{"type":"string","uniqueKey":"oneOf.29.item.oneOf.14.error.moderation_details.categories.items.[INDEX]","typeLabel":"string"},"type":"array","description":"Public moderation categories. New category values may be added over time.","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.14.error.moderation_details.categories","typeLabel":"string[]"}},"type":"object","required":["moderation_stage","categories"],"description":"Public details for a `moderation_blocked` error, when available.","uniqueKey":"oneOf.29.item.oneOf.14.error.moderation_details","typeLabel":"object"}},"type":"object","required":["code","type","message","param"],"description":"Details of a moderation failure, when available.","uniqueKey":"oneOf.29.item.oneOf.14.error","typeLabel":"object"},"size":{"type":"any","uniqueKey":"oneOf.29.item.oneOf.14.size","typeLabel":"any"},"quality":{"type":"any","uniqueKey":"oneOf.29.item.oneOf.14.quality","typeLabel":"any"},"action":{"type":"any","uniqueKey":"oneOf.29.item.oneOf.14.action","typeLabel":"any"},"background":{"type":"any","uniqueKey":"oneOf.29.item.oneOf.14.background","typeLabel":"any"},"output_format":{"type":"any","uniqueKey":"oneOf.29.item.oneOf.14.output_format","typeLabel":"any"},"svg_usage":{"properties":{"model":{"type":"string","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.14.svg_usage.model","typeLabel":"string"},"input_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.14.svg_usage.input_tokens","typeLabel":"integer"},"output_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.14.svg_usage.output_tokens","typeLabel":"integer"},"total_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.14.svg_usage.total_tokens","typeLabel":"integer"},"reasoning_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.14.svg_usage.reasoning_tokens","typeLabel":"integer"}},"type":"object","required":["model","input_tokens","output_tokens","total_tokens","reasoning_tokens"],"uniqueKey":"oneOf.29.item.oneOf.14.svg_usage","typeLabel":"object"},"revised_prompt":{"type":"any","uniqueKey":"oneOf.29.item.oneOf.14.revised_prompt","typeLabel":"any"}},"isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.14","typeLabel":"Image generation call · object"},{"type":"object","title":"Code interpreter tool call","description":"The output item that was marked done.\n","required":["type","id","status","container_id","code","outputs"],"properties":{"type":{"type":"string","enum":["code_interpreter_call"],"default":"code_interpreter_call","description":"The type of the code interpreter tool call. Always `code_interpreter_call`.\n","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.15.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the code interpreter tool call.\n","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.15.id","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","completed","incomplete","interpreting","failed"],"description":"The status of the code interpreter tool call. Valid values are `in_progress`, `completed`, `incomplete`, `interpreting`, and `failed`.\n","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.15.status","typeLabel":"enum\u003cstring>"},"container_id":{"type":"string","description":"The ID of the container used to run the code.\n","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.15.container_id","typeLabel":"string"},"code":{"type":"any","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.15.code","typeLabel":"any"},"outputs":{"type":"any","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.15.outputs","typeLabel":"any"}},"isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.15","typeLabel":"Code interpreter tool call · object"},{"type":"object","title":"Local shell call","description":"The output item that was marked done.\n","required":["type","id","call_id","action","status"],"properties":{"type":{"type":"string","enum":["local_shell_call"],"description":"The type of the local shell call. Always `local_shell_call`.\n","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.16.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the local shell call.\n","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.16.id","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the local shell tool call generated by the model.\n","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.16.call_id","typeLabel":"string"},"action":{"properties":{"type":{"type":"string","enum":["exec"],"description":"The type of the local shell action. Always `exec`.","default":"exec","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.16.action.type","typeLabel":"enum\u003cstring>"},"command":{"items":{"type":"string","uniqueKey":"oneOf.29.item.oneOf.16.action.command.items.[INDEX]","typeLabel":"string"},"type":"array","description":"The command to run.","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.16.action.command","typeLabel":"string[]"},"env":{"additionalProperties":{"type":"string","uniqueKey":"oneOf.29.item.oneOf.16.action.env.additionalProperties","typeLabel":"string"},"type":"object","description":"Environment variables to set for the command.","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.16.action.env","typeLabel":"object"},"timeout_ms":{"type":"any","uniqueKey":"oneOf.29.item.oneOf.16.action.timeout_ms","typeLabel":"any"},"working_directory":{"type":"any","uniqueKey":"oneOf.29.item.oneOf.16.action.working_directory","typeLabel":"any"},"user":{"type":"any","uniqueKey":"oneOf.29.item.oneOf.16.action.user","typeLabel":"any"}},"type":"object","required":["type","command","env"],"title":"Local shell exec action","description":"Execute a shell command on the server.","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.16.action","typeLabel":"Local shell exec action · object"},"status":{"type":"string","enum":["in_progress","completed","incomplete"],"description":"The status of the local shell call.\n","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.16.status","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.16","typeLabel":"Local shell call · object"},{"type":"object","title":"Local shell call output","description":"The output item that was marked done.\n","required":["id","type","call_id","output"],"properties":{"type":{"type":"string","enum":["local_shell_call_output"],"description":"The type of the local shell tool call output. Always `local_shell_call_output`.\n","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.17.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the local shell tool call generated by the model.\n","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.17.id","typeLabel":"string"},"output":{"type":"string","description":"A JSON string of the output of the local shell tool call.\n","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.17.output","typeLabel":"string"},"status":{"type":"any","uniqueKey":"oneOf.29.item.oneOf.17.status","typeLabel":"any"}},"isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.17","typeLabel":"Local shell call output · object"},{"type":"object","title":"Shell tool call","description":"The output item that was marked done.\n","required":["type","id","call_id","action","status","environment"],"properties":{"type":{"type":"string","enum":["shell_call"],"description":"The type of the item. Always `shell_call`.","default":"shell_call","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.18.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the shell tool call. Populated when this item is returned via API.","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.18.id","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the shell tool call generated by the model.","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.18.call_id","typeLabel":"string"},"action":{"properties":{"commands":{"items":{"type":"string","description":"A list of commands to run.","uniqueKey":"oneOf.29.item.oneOf.18.action.commands.items.[INDEX]","typeLabel":"string"},"type":"array","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.18.action.commands","typeLabel":"string[]"},"timeout_ms":{"type":"any","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.18.action.timeout_ms","typeLabel":"any"},"max_output_length":{"type":"any","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.18.action.max_output_length","typeLabel":"any"}},"type":"object","required":["commands","timeout_ms","max_output_length"],"title":"Shell exec action","description":"The shell commands and limits that describe how to run the tool call.","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.18.action","typeLabel":"Shell exec action · object"},"status":{"type":"string","enum":["in_progress","completed","incomplete"],"description":"The status of the shell call. One of `in_progress`, `completed`, or `incomplete`.","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.18.status","typeLabel":"enum\u003cstring>"},"environment":{"type":"any","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.18.environment","typeLabel":"any"},"caller":{"type":"any","uniqueKey":"oneOf.29.item.oneOf.18.caller","typeLabel":"any"},"created_by":{"type":"string","description":"The ID of the entity that created this tool call.","uniqueKey":"oneOf.29.item.oneOf.18.created_by","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.18","typeLabel":"Shell tool call · object"},{"type":"object","title":"Shell call output","description":"The output item that was marked done.\n","required":["type","id","call_id","status","output","max_output_length"],"properties":{"type":{"type":"string","enum":["shell_call_output"],"description":"The type of the shell call output. Always `shell_call_output`.","default":"shell_call_output","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.19.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the shell call output. Populated when this item is returned via API.","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.19.id","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the shell tool call generated by the model.","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.19.call_id","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","completed","incomplete"],"description":"The status of the shell call output. One of `in_progress`, `completed`, or `incomplete`.","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.19.status","typeLabel":"enum\u003cstring>"},"output":{"items":{"properties":{"stdout":{"type":"string","description":"The standard output that was captured.","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.19.output.items.[INDEX].stdout","typeLabel":"string"},"stderr":{"type":"string","description":"The standard error output that was captured.","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.19.output.items.[INDEX].stderr","typeLabel":"string"},"outcome":{"type":"any","title":"Shell call outcome","description":"Represents either an exit outcome (with an exit code) or a timeout outcome for a shell call output chunk.","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.19.output.items.[INDEX].outcome","typeLabel":"any"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.","uniqueKey":"oneOf.29.item.oneOf.19.output.items.[INDEX].created_by","typeLabel":"string"}},"type":"object","required":["stdout","stderr","outcome"],"title":"Shell call output content","description":"The content of a shell tool call output that was emitted.","uniqueKey":"oneOf.29.item.oneOf.19.output.items.[INDEX]","typeLabel":"Shell call output content · object"},"type":"array","description":"An array of shell call output contents","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.19.output","typeLabel":"Shell call output content · object[]"},"max_output_length":{"type":"any","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.19.max_output_length","typeLabel":"any"},"caller":{"type":"any","uniqueKey":"oneOf.29.item.oneOf.19.caller","typeLabel":"any"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.","uniqueKey":"oneOf.29.item.oneOf.19.created_by","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.19","typeLabel":"Shell call output · object"},{"type":"object","title":"Apply patch tool call","description":"The output item that was marked done.\n","required":["type","id","call_id","status","operation"],"properties":{"type":{"type":"string","enum":["apply_patch_call"],"description":"The type of the item. Always `apply_patch_call`.","default":"apply_patch_call","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.20.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the apply patch tool call. Populated when this item is returned via API.","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.20.id","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the apply patch tool call generated by the model.","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.20.call_id","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","completed"],"description":"The status of the apply patch tool call. One of `in_progress` or `completed`.","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.20.status","typeLabel":"enum\u003cstring>"},"operation":{"type":"any","title":"Apply patch operation","description":"One of the create_file, delete_file, or update_file operations applied via apply_patch.","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.20.operation","typeLabel":"any"},"caller":{"type":"any","uniqueKey":"oneOf.29.item.oneOf.20.caller","typeLabel":"any"},"created_by":{"type":"string","description":"The ID of the entity that created this tool call.","uniqueKey":"oneOf.29.item.oneOf.20.created_by","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.20","typeLabel":"Apply patch tool call · object"},{"type":"object","title":"Apply patch tool call output","description":"The output item that was marked done.\n","required":["type","id","call_id","status"],"properties":{"type":{"type":"string","enum":["apply_patch_call_output"],"description":"The type of the item. Always `apply_patch_call_output`.","default":"apply_patch_call_output","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.21.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the apply patch tool call output. Populated when this item is returned via API.","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.21.id","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the apply patch tool call generated by the model.","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.21.call_id","typeLabel":"string"},"status":{"type":"string","enum":["completed","failed"],"description":"The status of the apply patch tool call output. One of `completed` or `failed`.","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.21.status","typeLabel":"enum\u003cstring>"},"caller":{"type":"any","uniqueKey":"oneOf.29.item.oneOf.21.caller","typeLabel":"any"},"output":{"type":"any","uniqueKey":"oneOf.29.item.oneOf.21.output","typeLabel":"any"},"created_by":{"type":"string","description":"The ID of the entity that created this tool call output.","uniqueKey":"oneOf.29.item.oneOf.21.created_by","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.21","typeLabel":"Apply patch tool call output · object"},{"type":"object","title":"MCP tool call","description":"The output item that was marked done.\n","required":["type","id","server_label","name","arguments"],"properties":{"type":{"type":"string","const":"mcp_call","description":"The type of the item. Always `mcp_call`.\n","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.22.type","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the tool call.\n","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.22.id","typeLabel":"string"},"server_label":{"type":"string","description":"The label of the MCP server running the tool.\n","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.22.server_label","typeLabel":"string"},"name":{"type":"string","description":"The name of the tool that was run.\n","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.22.name","typeLabel":"string"},"arguments":{"type":"string","description":"A JSON string of the arguments passed to the tool.\n","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.22.arguments","typeLabel":"string"},"output":{"type":"any","uniqueKey":"oneOf.29.item.oneOf.22.output","typeLabel":"any"},"error":{"type":"any","description":"The error from the tool call, if any.","uniqueKey":"oneOf.29.item.oneOf.22.error","typeLabel":"any"},"status":{"type":"string","enum":["in_progress","completed","incomplete","calling","failed"],"description":"The status of the tool call. One of `in_progress`, `completed`, `incomplete`, `calling`, or `failed`.\n","uniqueKey":"oneOf.29.item.oneOf.22.status","typeLabel":"enum\u003cstring>"},"approval_request_id":{"type":"any","uniqueKey":"oneOf.29.item.oneOf.22.approval_request_id","typeLabel":"any"}},"isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.22","typeLabel":"MCP tool call · object"},{"type":"object","title":"MCP list tools","description":"The output item that was marked done.\n","required":["type","id","server_label","tools"],"properties":{"type":{"type":"string","const":"mcp_list_tools","description":"The type of the item. Always `mcp_list_tools`.\n","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.23.type","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the list.\n","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.23.id","typeLabel":"string"},"server_label":{"type":"string","description":"The label of the MCP server.\n","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.23.server_label","typeLabel":"string"},"tools":{"type":"array","items":{"type":"object","title":"MCP list tools tool","description":"A tool available on an MCP server.\n","properties":{"name":{"type":"string","description":"The name of the tool.\n","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.23.tools.items.[INDEX].name","typeLabel":"string"},"input_schema":{"type":"object","description":"The JSON schema describing the tool's input.\n","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.23.tools.items.[INDEX].input_schema","typeLabel":"object"},"description":{"type":"any","uniqueKey":"oneOf.29.item.oneOf.23.tools.items.[INDEX].description","typeLabel":"any"},"annotations":{"type":"any","uniqueKey":"oneOf.29.item.oneOf.23.tools.items.[INDEX].annotations","typeLabel":"any"}},"required":["name","input_schema"],"uniqueKey":"oneOf.29.item.oneOf.23.tools.items.[INDEX]","typeLabel":"MCP list tools tool · object"},"description":"The tools available on the server.\n","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.23.tools","typeLabel":"MCP list tools tool · object[]"},"error":{"type":"any","uniqueKey":"oneOf.29.item.oneOf.23.error","typeLabel":"any"}},"isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.23","typeLabel":"MCP list tools · object"},{"type":"object","title":"MCP approval request","description":"The output item that was marked done.\n","required":["type","id","server_label","name","arguments"],"properties":{"type":{"type":"string","const":"mcp_approval_request","description":"The type of the item. Always `mcp_approval_request`.\n","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.24.type","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the approval request.\n","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.24.id","typeLabel":"string"},"server_label":{"type":"string","description":"The label of the MCP server making the request.\n","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.24.server_label","typeLabel":"string"},"name":{"type":"string","description":"The name of the tool to run.\n","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.24.name","typeLabel":"string"},"arguments":{"type":"string","description":"A JSON string of arguments for the tool.\n","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.24.arguments","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.24","typeLabel":"MCP approval request · object"},{"type":"object","title":"MCP approval response","description":"The output item that was marked done.\n","required":["type","id","request_id","approve","approval_request_id"],"properties":{"type":{"type":"string","const":"mcp_approval_response","description":"The type of the item. Always `mcp_approval_response`.\n","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.25.type","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the approval response\n","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.25.id","typeLabel":"string"},"approval_request_id":{"type":"string","description":"The ID of the approval request being answered.\n","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.25.approval_request_id","typeLabel":"string"},"approve":{"type":"boolean","description":"Whether the request was approved.\n","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.25.approve","typeLabel":"boolean"},"reason":{"type":"any","uniqueKey":"oneOf.29.item.oneOf.25.reason","typeLabel":"any"}},"isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.25","typeLabel":"MCP approval response · object"},{"type":"object","title":"Custom tool call","description":"The output item that was marked done.\n","required":["type","call_id","name","input"],"properties":{"type":{"type":"string","enum":["custom_tool_call"],"description":"The type of the custom tool call. Always `custom_tool_call`.\n","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.26.type","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","description":"An identifier used to map this custom tool call to a tool call output.\n","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.26.call_id","typeLabel":"string"},"name":{"type":"string","description":"The name of the custom tool being called.\n","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.26.name","typeLabel":"string"},"input":{"type":"string","description":"The input for the custom tool call generated by the model.\n","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.26.input","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the custom tool call in the OpenAI platform.\n","uniqueKey":"oneOf.29.item.oneOf.26.id","typeLabel":"string"},"caller":{"type":"any","uniqueKey":"oneOf.29.item.oneOf.26.caller","typeLabel":"any"},"namespace":{"type":"string","description":"The namespace of the custom tool being called.\n","uniqueKey":"oneOf.29.item.oneOf.26.namespace","typeLabel":"string"},"async":{"type":"boolean","description":"Whether the custom tool call runs asynchronously.\n","uniqueKey":"oneOf.29.item.oneOf.26.async","typeLabel":"boolean"}},"isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.26","typeLabel":"Custom tool call · object"},{"type":"object","title":"ResponseCustomToolCallOutputItem","description":"The output item that was marked done.\n","required":["id","status","type","call_id","output"],"properties":{"type":{"type":"string","enum":["custom_tool_call_output"],"description":"The type of the custom tool call output. Always `custom_tool_call_output`.\n","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.27.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the custom tool call output item.\n","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.27.id","typeLabel":"string"},"call_id":{"type":"string","description":"The call ID, used to map this custom tool call output to a custom tool call.\n","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.27.call_id","typeLabel":"string"},"output":{"type":"any","description":"The output from the custom tool call generated by your code.\nCan be a string or an list of output content.\n","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.27.output","typeLabel":"any"},"status":{"type":"string","enum":["in_progress","completed","incomplete"],"description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.27.status","typeLabel":"enum\u003cstring>"},"caller":{"type":"any","uniqueKey":"oneOf.29.item.oneOf.27.caller","typeLabel":"any"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.\n","uniqueKey":"oneOf.29.item.oneOf.27.created_by","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.29.item.oneOf.27","typeLabel":"ResponseCustomToolCallOutputItem · object"}],"isRequired":true,"uniqueKey":"oneOf.29.item","typeLabel":"Output message · object · File search tool call · object · Function tool call · object · Function tool call output · object · Web search tool call · object · Computer tool call · object · Computer tool call output · object · Reasoning · object · object · object · object · object · object · Compaction item · object · Image generation call · object · Code interpreter tool call · object · Local shell call · object · Local shell call output · object · Shell tool call · object · Shell call output · object · Apply patch tool call · object · Apply patch tool call output · object · MCP tool call · object · MCP list tools · object · MCP approval request · object · MCP approval response · object · Custom tool call · object · ResponseCustomToolCallOutputItem · object"}},"uniqueKey":"oneOf.29","typeLabel":"object"},{"type":"object","description":"Event emitted while a response is streamed.","required":["type","item_id","output_index","summary_index","part","sequence_number"],"properties":{"type":{"type":"string","description":"The type of the event. Always `response.reasoning_summary_part.added`.\n","const":"response.reasoning_summary_part.added","isRequired":true,"uniqueKey":"oneOf.30.type","typeLabel":"string"},"item_id":{"type":"string","description":"The ID of the item this summary part is associated with.\n","isRequired":true,"uniqueKey":"oneOf.30.item_id","typeLabel":"string"},"output_index":{"type":"integer","description":"The index of the output item this summary part is associated with.\n","isRequired":true,"uniqueKey":"oneOf.30.output_index","typeLabel":"integer"},"summary_index":{"type":"integer","description":"The index of the summary part within the reasoning summary.\n","isRequired":true,"uniqueKey":"oneOf.30.summary_index","typeLabel":"integer"},"sequence_number":{"type":"integer","description":"The sequence number of this event.\n","isRequired":true,"uniqueKey":"oneOf.30.sequence_number","typeLabel":"integer"},"part":{"type":"object","description":"The summary part that was added.\n","properties":{"type":{"type":"string","description":"The type of the summary part. Always `summary_text`.","const":"summary_text","isRequired":true,"uniqueKey":"oneOf.30.part.type","typeLabel":"string"},"text":{"type":"string","description":"The text of the summary part.","isRequired":true,"uniqueKey":"oneOf.30.part.text","typeLabel":"string"}},"required":["type","text"],"isRequired":true,"uniqueKey":"oneOf.30.part","typeLabel":"object"}},"uniqueKey":"oneOf.30","typeLabel":"object"},{"type":"object","description":"Event emitted while a response is streamed.","required":["type","item_id","output_index","summary_index","part","sequence_number"],"properties":{"type":{"type":"string","description":"The type of the event. Always `response.reasoning_summary_part.done`.\n","const":"response.reasoning_summary_part.done","isRequired":true,"uniqueKey":"oneOf.31.type","typeLabel":"string"},"item_id":{"type":"string","description":"The ID of the item this summary part is associated with.\n","isRequired":true,"uniqueKey":"oneOf.31.item_id","typeLabel":"string"},"output_index":{"type":"integer","description":"The index of the output item this summary part is associated with.\n","isRequired":true,"uniqueKey":"oneOf.31.output_index","typeLabel":"integer"},"summary_index":{"type":"integer","description":"The index of the summary part within the reasoning summary.\n","isRequired":true,"uniqueKey":"oneOf.31.summary_index","typeLabel":"integer"},"sequence_number":{"type":"integer","description":"The sequence number of this event.\n","isRequired":true,"uniqueKey":"oneOf.31.sequence_number","typeLabel":"integer"},"part":{"type":"object","description":"The completed summary part.\n","properties":{"type":{"type":"string","description":"The type of the summary part. Always `summary_text`.","const":"summary_text","isRequired":true,"uniqueKey":"oneOf.31.part.type","typeLabel":"string"},"text":{"type":"string","description":"The text of the summary part.","isRequired":true,"uniqueKey":"oneOf.31.part.text","typeLabel":"string"}},"required":["type","text"],"isRequired":true,"uniqueKey":"oneOf.31.part","typeLabel":"object"},"status":{"type":"string","description":"The completion status of the summary part. Omitted when the part completed\nnormally and set to `incomplete` when generation was interrupted.\n","enum":["incomplete"],"uniqueKey":"oneOf.31.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.31","typeLabel":"object"},{"type":"object","description":"Event emitted while a response is streamed.","required":["type","item_id","output_index","summary_index","delta","sequence_number"],"properties":{"type":{"type":"string","description":"The type of the event. Always `response.reasoning_summary_text.delta`.\n","const":"response.reasoning_summary_text.delta","isRequired":true,"uniqueKey":"oneOf.32.type","typeLabel":"string"},"item_id":{"type":"string","description":"The ID of the item this summary text delta is associated with.\n","isRequired":true,"uniqueKey":"oneOf.32.item_id","typeLabel":"string"},"output_index":{"type":"integer","description":"The index of the output item this summary text delta is associated with.\n","isRequired":true,"uniqueKey":"oneOf.32.output_index","typeLabel":"integer"},"summary_index":{"type":"integer","description":"The index of the summary part within the reasoning summary.\n","isRequired":true,"uniqueKey":"oneOf.32.summary_index","typeLabel":"integer"},"delta":{"type":"string","description":"The text delta that was added to the summary.\n","isRequired":true,"uniqueKey":"oneOf.32.delta","typeLabel":"string"},"sequence_number":{"type":"integer","description":"The sequence number of this event.\n","isRequired":true,"uniqueKey":"oneOf.32.sequence_number","typeLabel":"integer"}},"uniqueKey":"oneOf.32","typeLabel":"object"},{"type":"object","description":"Event emitted while a response is streamed.","required":["type","item_id","output_index","summary_index","text","sequence_number"],"properties":{"type":{"type":"string","description":"The type of the event. Always `response.reasoning_summary_text.done`.\n","const":"response.reasoning_summary_text.done","isRequired":true,"uniqueKey":"oneOf.33.type","typeLabel":"string"},"item_id":{"type":"string","description":"The ID of the item this summary text is associated with.\n","isRequired":true,"uniqueKey":"oneOf.33.item_id","typeLabel":"string"},"output_index":{"type":"integer","description":"The index of the output item this summary text is associated with.\n","isRequired":true,"uniqueKey":"oneOf.33.output_index","typeLabel":"integer"},"summary_index":{"type":"integer","description":"The index of the summary part within the reasoning summary.\n","isRequired":true,"uniqueKey":"oneOf.33.summary_index","typeLabel":"integer"},"text":{"type":"string","description":"The full text of the completed reasoning summary.\n","isRequired":true,"uniqueKey":"oneOf.33.text","typeLabel":"string"},"sequence_number":{"type":"integer","description":"The sequence number of this event.\n","isRequired":true,"uniqueKey":"oneOf.33.sequence_number","typeLabel":"integer"}},"uniqueKey":"oneOf.33","typeLabel":"object"},{"type":"object","description":"Event emitted while a response is streamed.","required":["type","item_id","output_index","content_index","delta","sequence_number"],"properties":{"type":{"type":"string","description":"The type of the event. Always `response.reasoning_text.delta`.\n","const":"response.reasoning_text.delta","isRequired":true,"uniqueKey":"oneOf.34.type","typeLabel":"string"},"item_id":{"type":"string","description":"The ID of the item this reasoning text delta is associated with.\n","isRequired":true,"uniqueKey":"oneOf.34.item_id","typeLabel":"string"},"output_index":{"type":"integer","description":"The index of the output item this reasoning text delta is associated with.\n","isRequired":true,"uniqueKey":"oneOf.34.output_index","typeLabel":"integer"},"content_index":{"type":"integer","description":"The index of the reasoning content part this delta is associated with.\n","isRequired":true,"uniqueKey":"oneOf.34.content_index","typeLabel":"integer"},"delta":{"type":"string","description":"The text delta that was added to the reasoning content.\n","isRequired":true,"uniqueKey":"oneOf.34.delta","typeLabel":"string"},"sequence_number":{"type":"integer","description":"The sequence number of this event.\n","isRequired":true,"uniqueKey":"oneOf.34.sequence_number","typeLabel":"integer"}},"uniqueKey":"oneOf.34","typeLabel":"object"},{"type":"object","description":"Event emitted while a response is streamed.","required":["type","item_id","output_index","content_index","text","sequence_number"],"properties":{"type":{"type":"string","description":"The type of the event. Always `response.reasoning_text.done`.\n","const":"response.reasoning_text.done","isRequired":true,"uniqueKey":"oneOf.35.type","typeLabel":"string"},"item_id":{"type":"string","description":"The ID of the item this reasoning text is associated with.\n","isRequired":true,"uniqueKey":"oneOf.35.item_id","typeLabel":"string"},"output_index":{"type":"integer","description":"The index of the output item this reasoning text is associated with.\n","isRequired":true,"uniqueKey":"oneOf.35.output_index","typeLabel":"integer"},"content_index":{"type":"integer","description":"The index of the reasoning content part.\n","isRequired":true,"uniqueKey":"oneOf.35.content_index","typeLabel":"integer"},"text":{"type":"string","description":"The full text of the completed reasoning content.\n","isRequired":true,"uniqueKey":"oneOf.35.text","typeLabel":"string"},"sequence_number":{"type":"integer","description":"The sequence number of this event.\n","isRequired":true,"uniqueKey":"oneOf.35.sequence_number","typeLabel":"integer"}},"uniqueKey":"oneOf.35","typeLabel":"object"},{"type":"object","description":"Event emitted while a response is streamed.","required":["type","item_id","output_index","content_index","delta","sequence_number"],"properties":{"type":{"type":"string","description":"The type of the event. Always `response.refusal.delta`.\n","const":"response.refusal.delta","isRequired":true,"uniqueKey":"oneOf.36.type","typeLabel":"string"},"item_id":{"type":"string","description":"The ID of the output item that the refusal text is added to.\n","isRequired":true,"uniqueKey":"oneOf.36.item_id","typeLabel":"string"},"output_index":{"type":"integer","description":"The index of the output item that the refusal text is added to.\n","isRequired":true,"uniqueKey":"oneOf.36.output_index","typeLabel":"integer"},"content_index":{"type":"integer","description":"The index of the content part that the refusal text is added to.\n","isRequired":true,"uniqueKey":"oneOf.36.content_index","typeLabel":"integer"},"delta":{"type":"string","description":"The refusal text that is added.\n","isRequired":true,"uniqueKey":"oneOf.36.delta","typeLabel":"string"},"sequence_number":{"type":"integer","description":"The sequence number of this event.\n","isRequired":true,"uniqueKey":"oneOf.36.sequence_number","typeLabel":"integer"}},"uniqueKey":"oneOf.36","typeLabel":"object"},{"type":"object","description":"Event emitted while a response is streamed.","required":["type","item_id","output_index","content_index","refusal","sequence_number"],"properties":{"type":{"type":"string","description":"The type of the event. Always `response.refusal.done`.\n","const":"response.refusal.done","isRequired":true,"uniqueKey":"oneOf.37.type","typeLabel":"string"},"item_id":{"type":"string","description":"The ID of the output item that the refusal text is finalized.\n","isRequired":true,"uniqueKey":"oneOf.37.item_id","typeLabel":"string"},"output_index":{"type":"integer","description":"The index of the output item that the refusal text is finalized.\n","isRequired":true,"uniqueKey":"oneOf.37.output_index","typeLabel":"integer"},"content_index":{"type":"integer","description":"The index of the content part that the refusal text is finalized.\n","isRequired":true,"uniqueKey":"oneOf.37.content_index","typeLabel":"integer"},"refusal":{"type":"string","description":"The refusal text that is finalized.\n","isRequired":true,"uniqueKey":"oneOf.37.refusal","typeLabel":"string"},"sequence_number":{"type":"integer","description":"The sequence number of this event.\n","isRequired":true,"uniqueKey":"oneOf.37.sequence_number","typeLabel":"integer"}},"uniqueKey":"oneOf.37","typeLabel":"object"},{"type":"object","description":"Event emitted while a response is streamed.","required":["type","item_id","output_index","content_index","delta","sequence_number","logprobs"],"properties":{"type":{"type":"string","description":"The type of the event. Always `response.output_text.delta`.\n","const":"response.output_text.delta","isRequired":true,"uniqueKey":"oneOf.38.type","typeLabel":"string"},"item_id":{"type":"string","description":"The ID of the output item that the text delta was added to.\n","isRequired":true,"uniqueKey":"oneOf.38.item_id","typeLabel":"string"},"output_index":{"type":"integer","description":"The index of the output item that the text delta was added to.\n","isRequired":true,"uniqueKey":"oneOf.38.output_index","typeLabel":"integer"},"content_index":{"type":"integer","description":"The index of the content part that the text delta was added to.\n","isRequired":true,"uniqueKey":"oneOf.38.content_index","typeLabel":"integer"},"delta":{"type":"string","description":"The text delta that was added.\n","isRequired":true,"uniqueKey":"oneOf.38.delta","typeLabel":"string"},"sequence_number":{"type":"integer","description":"The sequence number for this event.","isRequired":true,"uniqueKey":"oneOf.38.sequence_number","typeLabel":"integer"},"logprobs":{"type":"array","description":"The log probabilities of the tokens in the delta.\n","items":{"type":"object","description":"A logprob is the logarithmic probability that the model assigns to producing \na particular token at a given position in the sequence. Less-negative (higher) \nlogprob values indicate greater model confidence in that token choice.\n","properties":{"token":{"description":"A possible text token.","type":"string","isRequired":true,"uniqueKey":"oneOf.38.logprobs.items.[INDEX].token","typeLabel":"string"},"logprob":{"description":"The log probability of this token.\n","type":"number","isRequired":true,"uniqueKey":"oneOf.38.logprobs.items.[INDEX].logprob","typeLabel":"number"},"top_logprobs":{"description":"The log probabilities of up to 20 of the most likely tokens.\n","type":"array","items":{"type":"object","properties":{"token":{"description":"A possible text token.","type":"string","uniqueKey":"oneOf.38.logprobs.items.[INDEX].top_logprobs.items.[INDEX].token","typeLabel":"string"},"logprob":{"description":"The log probability of this token.","type":"number","uniqueKey":"oneOf.38.logprobs.items.[INDEX].top_logprobs.items.[INDEX].logprob","typeLabel":"number"}},"uniqueKey":"oneOf.38.logprobs.items.[INDEX].top_logprobs.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.38.logprobs.items.[INDEX].top_logprobs","typeLabel":"object[]"}},"required":["token","logprob"],"uniqueKey":"oneOf.38.logprobs.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"oneOf.38.logprobs","typeLabel":"object[]"}},"uniqueKey":"oneOf.38","typeLabel":"object"},{"type":"object","description":"Event emitted while a response is streamed.","required":["type","item_id","output_index","content_index","text","sequence_number","logprobs"],"properties":{"type":{"type":"string","description":"The type of the event. Always `response.output_text.done`.\n","const":"response.output_text.done","isRequired":true,"uniqueKey":"oneOf.39.type","typeLabel":"string"},"item_id":{"type":"string","description":"The ID of the output item that the text content is finalized.\n","isRequired":true,"uniqueKey":"oneOf.39.item_id","typeLabel":"string"},"output_index":{"type":"integer","description":"The index of the output item that the text content is finalized.\n","isRequired":true,"uniqueKey":"oneOf.39.output_index","typeLabel":"integer"},"content_index":{"type":"integer","description":"The index of the content part that the text content is finalized.\n","isRequired":true,"uniqueKey":"oneOf.39.content_index","typeLabel":"integer"},"text":{"type":"string","description":"The text content that is finalized.\n","isRequired":true,"uniqueKey":"oneOf.39.text","typeLabel":"string"},"sequence_number":{"type":"integer","description":"The sequence number for this event.","isRequired":true,"uniqueKey":"oneOf.39.sequence_number","typeLabel":"integer"},"logprobs":{"type":"array","description":"The log probabilities of the tokens in the delta.\n","items":{"type":"object","description":"A logprob is the logarithmic probability that the model assigns to producing \na particular token at a given position in the sequence. Less-negative (higher) \nlogprob values indicate greater model confidence in that token choice.\n","properties":{"token":{"description":"A possible text token.","type":"string","isRequired":true,"uniqueKey":"oneOf.39.logprobs.items.[INDEX].token","typeLabel":"string"},"logprob":{"description":"The log probability of this token.\n","type":"number","isRequired":true,"uniqueKey":"oneOf.39.logprobs.items.[INDEX].logprob","typeLabel":"number"},"top_logprobs":{"description":"The log probabilities of up to 20 of the most likely tokens.\n","type":"array","items":{"type":"object","properties":{"token":{"description":"A possible text token.","type":"string","uniqueKey":"oneOf.39.logprobs.items.[INDEX].top_logprobs.items.[INDEX].token","typeLabel":"string"},"logprob":{"description":"The log probability of this token.","type":"number","uniqueKey":"oneOf.39.logprobs.items.[INDEX].top_logprobs.items.[INDEX].logprob","typeLabel":"number"}},"uniqueKey":"oneOf.39.logprobs.items.[INDEX].top_logprobs.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.39.logprobs.items.[INDEX].top_logprobs","typeLabel":"object[]"}},"required":["token","logprob"],"uniqueKey":"oneOf.39.logprobs.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"oneOf.39.logprobs","typeLabel":"object[]"}},"uniqueKey":"oneOf.39","typeLabel":"object"},{"type":"object","description":"Event emitted while a response is streamed.","required":["type","output_index","item_id","sequence_number"],"properties":{"type":{"type":"string","description":"The type of the event. Always `response.web_search_call.completed`.\n","const":"response.web_search_call.completed","isRequired":true,"uniqueKey":"oneOf.40.type","typeLabel":"string"},"output_index":{"type":"integer","description":"The index of the output item that the web search call is associated with.\n","isRequired":true,"uniqueKey":"oneOf.40.output_index","typeLabel":"integer"},"item_id":{"type":"string","description":"Unique ID for the output item associated with the web search call.\n","isRequired":true,"uniqueKey":"oneOf.40.item_id","typeLabel":"string"},"sequence_number":{"type":"integer","description":"The sequence number of the web search call being processed.","isRequired":true,"uniqueKey":"oneOf.40.sequence_number","typeLabel":"integer"}},"uniqueKey":"oneOf.40","typeLabel":"object"},{"type":"object","description":"Event emitted while a response is streamed.","required":["type","output_index","item_id","sequence_number"],"properties":{"type":{"type":"string","description":"The type of the event. Always `response.web_search_call.in_progress`.\n","const":"response.web_search_call.in_progress","isRequired":true,"uniqueKey":"oneOf.41.type","typeLabel":"string"},"output_index":{"type":"integer","description":"The index of the output item that the web search call is associated with.\n","isRequired":true,"uniqueKey":"oneOf.41.output_index","typeLabel":"integer"},"item_id":{"type":"string","description":"Unique ID for the output item associated with the web search call.\n","isRequired":true,"uniqueKey":"oneOf.41.item_id","typeLabel":"string"},"sequence_number":{"type":"integer","description":"The sequence number of the web search call being processed.","isRequired":true,"uniqueKey":"oneOf.41.sequence_number","typeLabel":"integer"}},"uniqueKey":"oneOf.41","typeLabel":"object"},{"type":"object","description":"Event emitted while a response is streamed.","required":["type","output_index","item_id","sequence_number"],"properties":{"type":{"type":"string","description":"The type of the event. Always `response.web_search_call.searching`.\n","const":"response.web_search_call.searching","isRequired":true,"uniqueKey":"oneOf.42.type","typeLabel":"string"},"output_index":{"type":"integer","description":"The index of the output item that the web search call is associated with.\n","isRequired":true,"uniqueKey":"oneOf.42.output_index","typeLabel":"integer"},"item_id":{"type":"string","description":"Unique ID for the output item associated with the web search call.\n","isRequired":true,"uniqueKey":"oneOf.42.item_id","typeLabel":"string"},"sequence_number":{"type":"integer","description":"The sequence number of the web search call being processed.","isRequired":true,"uniqueKey":"oneOf.42.sequence_number","typeLabel":"integer"}},"uniqueKey":"oneOf.42","typeLabel":"object"},{"type":"object","title":"ResponseImageGenCallCompletedEvent","description":"Event emitted while a response is streamed.","required":["type","output_index","item_id","sequence_number"],"properties":{"type":{"type":"string","const":"response.image_generation_call.completed","description":"The type of the event. Always 'response.image_generation_call.completed'.","isRequired":true,"uniqueKey":"oneOf.43.type","typeLabel":"string"},"output_index":{"type":"integer","description":"The index of the output item in the response's output array.","isRequired":true,"uniqueKey":"oneOf.43.output_index","typeLabel":"integer"},"sequence_number":{"type":"integer","description":"The sequence number of this event.","isRequired":true,"uniqueKey":"oneOf.43.sequence_number","typeLabel":"integer"},"item_id":{"type":"string","description":"The unique identifier of the image generation item being processed.","isRequired":true,"uniqueKey":"oneOf.43.item_id","typeLabel":"string"}},"uniqueKey":"oneOf.43","typeLabel":"ResponseImageGenCallCompletedEvent · object"},{"type":"object","title":"ResponseImageGenCallGeneratingEvent","description":"Event emitted while a response is streamed.","required":["type","output_index","item_id","sequence_number"],"properties":{"type":{"type":"string","const":"response.image_generation_call.generating","description":"The type of the event. Always 'response.image_generation_call.generating'.","isRequired":true,"uniqueKey":"oneOf.44.type","typeLabel":"string"},"output_index":{"type":"integer","description":"The index of the output item in the response's output array.","isRequired":true,"uniqueKey":"oneOf.44.output_index","typeLabel":"integer"},"item_id":{"type":"string","description":"The unique identifier of the image generation item being processed.","isRequired":true,"uniqueKey":"oneOf.44.item_id","typeLabel":"string"},"sequence_number":{"type":"integer","description":"The sequence number of the image generation item being processed.","isRequired":true,"uniqueKey":"oneOf.44.sequence_number","typeLabel":"integer"}},"uniqueKey":"oneOf.44","typeLabel":"ResponseImageGenCallGeneratingEvent · object"},{"type":"object","title":"ResponseImageGenCallInProgressEvent","description":"Event emitted while a response is streamed.","required":["type","output_index","item_id","sequence_number"],"properties":{"type":{"type":"string","const":"response.image_generation_call.in_progress","description":"The type of the event. Always 'response.image_generation_call.in_progress'.","isRequired":true,"uniqueKey":"oneOf.45.type","typeLabel":"string"},"output_index":{"type":"integer","description":"The index of the output item in the response's output array.","isRequired":true,"uniqueKey":"oneOf.45.output_index","typeLabel":"integer"},"item_id":{"type":"string","description":"The unique identifier of the image generation item being processed.","isRequired":true,"uniqueKey":"oneOf.45.item_id","typeLabel":"string"},"sequence_number":{"type":"integer","description":"The sequence number of the image generation item being processed.","isRequired":true,"uniqueKey":"oneOf.45.sequence_number","typeLabel":"integer"}},"uniqueKey":"oneOf.45","typeLabel":"ResponseImageGenCallInProgressEvent · object"},{"type":"object","title":"ResponseImageGenCallPartialImageEvent","description":"Event emitted while a response is streamed.","required":["type","output_index","item_id","sequence_number","partial_image_index","partial_image_b64"],"properties":{"type":{"type":"string","const":"response.image_generation_call.partial_image","description":"The type of the event. Always 'response.image_generation_call.partial_image'.","isRequired":true,"uniqueKey":"oneOf.46.type","typeLabel":"string"},"output_index":{"type":"integer","description":"The index of the output item in the response's output array.","isRequired":true,"uniqueKey":"oneOf.46.output_index","typeLabel":"integer"},"item_id":{"type":"string","description":"The unique identifier of the image generation item being processed.","isRequired":true,"uniqueKey":"oneOf.46.item_id","typeLabel":"string"},"sequence_number":{"type":"integer","description":"The sequence number of the image generation item being processed.","isRequired":true,"uniqueKey":"oneOf.46.sequence_number","typeLabel":"integer"},"partial_image_index":{"type":"integer","description":"0-based index for the partial image (backend is 1-based, but this is 0-based for the user).","isRequired":true,"uniqueKey":"oneOf.46.partial_image_index","typeLabel":"integer"},"partial_image_b64":{"type":"string","description":"Base64-encoded partial image data, suitable for rendering as an image.","isRequired":true,"uniqueKey":"oneOf.46.partial_image_b64","typeLabel":"string"},"size":{"type":"string","description":"The image size that was used.","uniqueKey":"oneOf.46.size","typeLabel":"string"},"quality":{"type":"string","description":"The image quality that was used.","uniqueKey":"oneOf.46.quality","typeLabel":"string"},"background":{"type":"string","description":"The background setting that was used.","uniqueKey":"oneOf.46.background","typeLabel":"string"},"output_format":{"type":"string","description":"The output format that was used.","uniqueKey":"oneOf.46.output_format","typeLabel":"string"}},"uniqueKey":"oneOf.46","typeLabel":"ResponseImageGenCallPartialImageEvent · object"},{"type":"object","title":"ResponseMCPCallArgumentsDeltaEvent","description":"Event emitted while a response is streamed.","required":["type","output_index","item_id","delta","sequence_number"],"properties":{"type":{"type":"string","const":"response.mcp_call_arguments.delta","description":"The type of the event. Always 'response.mcp_call_arguments.delta'.","isRequired":true,"uniqueKey":"oneOf.47.type","typeLabel":"string"},"output_index":{"type":"integer","description":"The index of the output item in the response's output array.","isRequired":true,"uniqueKey":"oneOf.47.output_index","typeLabel":"integer"},"item_id":{"type":"string","description":"The unique identifier of the MCP tool call item being processed.","isRequired":true,"uniqueKey":"oneOf.47.item_id","typeLabel":"string"},"delta":{"type":"string","description":"A JSON string containing the partial update to the arguments for the MCP tool call.\n","isRequired":true,"uniqueKey":"oneOf.47.delta","typeLabel":"string"},"sequence_number":{"type":"integer","description":"The sequence number of this event.","isRequired":true,"uniqueKey":"oneOf.47.sequence_number","typeLabel":"integer"}},"uniqueKey":"oneOf.47","typeLabel":"ResponseMCPCallArgumentsDeltaEvent · object"},{"type":"object","title":"ResponseMCPCallArgumentsDoneEvent","description":"Event emitted while a response is streamed.","required":["type","output_index","item_id","arguments","sequence_number"],"properties":{"type":{"type":"string","const":"response.mcp_call_arguments.done","description":"The type of the event. Always 'response.mcp_call_arguments.done'.","isRequired":true,"uniqueKey":"oneOf.48.type","typeLabel":"string"},"output_index":{"type":"integer","description":"The index of the output item in the response's output array.","isRequired":true,"uniqueKey":"oneOf.48.output_index","typeLabel":"integer"},"item_id":{"type":"string","description":"The unique identifier of the MCP tool call item being processed.","isRequired":true,"uniqueKey":"oneOf.48.item_id","typeLabel":"string"},"arguments":{"type":"string","description":"A JSON string containing the finalized arguments for the MCP tool call.\n","isRequired":true,"uniqueKey":"oneOf.48.arguments","typeLabel":"string"},"sequence_number":{"type":"integer","description":"The sequence number of this event.","isRequired":true,"uniqueKey":"oneOf.48.sequence_number","typeLabel":"integer"}},"uniqueKey":"oneOf.48","typeLabel":"ResponseMCPCallArgumentsDoneEvent · object"},{"type":"object","title":"ResponseMCPCallCompletedEvent","description":"Event emitted while a response is streamed.","required":["type","item_id","output_index","sequence_number"],"properties":{"type":{"type":"string","const":"response.mcp_call.completed","description":"The type of the event. Always 'response.mcp_call.completed'.","isRequired":true,"uniqueKey":"oneOf.49.type","typeLabel":"string"},"item_id":{"type":"string","description":"The ID of the MCP tool call item that completed.","isRequired":true,"uniqueKey":"oneOf.49.item_id","typeLabel":"string"},"output_index":{"type":"integer","description":"The index of the output item that completed.","isRequired":true,"uniqueKey":"oneOf.49.output_index","typeLabel":"integer"},"sequence_number":{"type":"integer","description":"The sequence number of this event.","isRequired":true,"uniqueKey":"oneOf.49.sequence_number","typeLabel":"integer"}},"uniqueKey":"oneOf.49","typeLabel":"ResponseMCPCallCompletedEvent · object"},{"type":"object","title":"ResponseMCPCallFailedEvent","description":"Event emitted while a response is streamed.","required":["type","item_id","output_index","sequence_number"],"properties":{"type":{"type":"string","const":"response.mcp_call.failed","description":"The type of the event. Always 'response.mcp_call.failed'.","isRequired":true,"uniqueKey":"oneOf.50.type","typeLabel":"string"},"item_id":{"type":"string","description":"The ID of the MCP tool call item that failed.","isRequired":true,"uniqueKey":"oneOf.50.item_id","typeLabel":"string"},"output_index":{"type":"integer","description":"The index of the output item that failed.","isRequired":true,"uniqueKey":"oneOf.50.output_index","typeLabel":"integer"},"sequence_number":{"type":"integer","description":"The sequence number of this event.","isRequired":true,"uniqueKey":"oneOf.50.sequence_number","typeLabel":"integer"}},"uniqueKey":"oneOf.50","typeLabel":"ResponseMCPCallFailedEvent · object"},{"type":"object","title":"ResponseMCPCallInProgressEvent","description":"Event emitted while a response is streamed.","required":["type","output_index","item_id","sequence_number"],"properties":{"type":{"type":"string","const":"response.mcp_call.in_progress","description":"The type of the event. Always 'response.mcp_call.in_progress'.","isRequired":true,"uniqueKey":"oneOf.51.type","typeLabel":"string"},"sequence_number":{"type":"integer","description":"The sequence number of this event.","isRequired":true,"uniqueKey":"oneOf.51.sequence_number","typeLabel":"integer"},"output_index":{"type":"integer","description":"The index of the output item in the response's output array.","isRequired":true,"uniqueKey":"oneOf.51.output_index","typeLabel":"integer"},"item_id":{"type":"string","description":"The unique identifier of the MCP tool call item being processed.","isRequired":true,"uniqueKey":"oneOf.51.item_id","typeLabel":"string"}},"uniqueKey":"oneOf.51","typeLabel":"ResponseMCPCallInProgressEvent · object"},{"type":"object","title":"ResponseMCPListToolsCompletedEvent","description":"Event emitted while a response is streamed.","required":["type","item_id","output_index","sequence_number"],"properties":{"type":{"type":"string","const":"response.mcp_list_tools.completed","description":"The type of the event. Always 'response.mcp_list_tools.completed'.","isRequired":true,"uniqueKey":"oneOf.52.type","typeLabel":"string"},"item_id":{"type":"string","description":"The ID of the MCP tool call item that produced this output.","isRequired":true,"uniqueKey":"oneOf.52.item_id","typeLabel":"string"},"output_index":{"type":"integer","description":"The index of the output item that was processed.","isRequired":true,"uniqueKey":"oneOf.52.output_index","typeLabel":"integer"},"sequence_number":{"type":"integer","description":"The sequence number of this event.","isRequired":true,"uniqueKey":"oneOf.52.sequence_number","typeLabel":"integer"}},"uniqueKey":"oneOf.52","typeLabel":"ResponseMCPListToolsCompletedEvent · object"},{"type":"object","title":"ResponseMCPListToolsFailedEvent","description":"Event emitted while a response is streamed.","required":["type","item_id","output_index","sequence_number"],"properties":{"type":{"type":"string","const":"response.mcp_list_tools.failed","description":"The type of the event. Always 'response.mcp_list_tools.failed'.","isRequired":true,"uniqueKey":"oneOf.53.type","typeLabel":"string"},"item_id":{"type":"string","description":"The ID of the MCP tool call item that failed.","isRequired":true,"uniqueKey":"oneOf.53.item_id","typeLabel":"string"},"output_index":{"type":"integer","description":"The index of the output item that failed.","isRequired":true,"uniqueKey":"oneOf.53.output_index","typeLabel":"integer"},"sequence_number":{"type":"integer","description":"The sequence number of this event.","isRequired":true,"uniqueKey":"oneOf.53.sequence_number","typeLabel":"integer"}},"uniqueKey":"oneOf.53","typeLabel":"ResponseMCPListToolsFailedEvent · object"},{"type":"object","title":"ResponseMCPListToolsInProgressEvent","description":"Event emitted while a response is streamed.","required":["type","item_id","output_index","sequence_number"],"properties":{"type":{"type":"string","const":"response.mcp_list_tools.in_progress","description":"The type of the event. Always 'response.mcp_list_tools.in_progress'.","isRequired":true,"uniqueKey":"oneOf.54.type","typeLabel":"string"},"item_id":{"type":"string","description":"The ID of the MCP tool call item that is being processed.","isRequired":true,"uniqueKey":"oneOf.54.item_id","typeLabel":"string"},"output_index":{"type":"integer","description":"The index of the output item that is being processed.","isRequired":true,"uniqueKey":"oneOf.54.output_index","typeLabel":"integer"},"sequence_number":{"type":"integer","description":"The sequence number of this event.","isRequired":true,"uniqueKey":"oneOf.54.sequence_number","typeLabel":"integer"}},"uniqueKey":"oneOf.54","typeLabel":"ResponseMCPListToolsInProgressEvent · object"},{"type":"object","title":"ResponseOutputTextAnnotationAddedEvent","description":"Event emitted while a response is streamed.","required":["type","item_id","output_index","content_index","annotation_index","annotation","sequence_number"],"properties":{"type":{"type":"string","const":"response.output_text.annotation.added","description":"The type of the event. Always 'response.output_text.annotation.added'.","isRequired":true,"uniqueKey":"oneOf.55.type","typeLabel":"string"},"item_id":{"type":"string","description":"The unique identifier of the item to which the annotation is being added.","isRequired":true,"uniqueKey":"oneOf.55.item_id","typeLabel":"string"},"output_index":{"type":"integer","description":"The index of the output item in the response's output array.","isRequired":true,"uniqueKey":"oneOf.55.output_index","typeLabel":"integer"},"content_index":{"type":"integer","description":"The index of the content part within the output item.","isRequired":true,"uniqueKey":"oneOf.55.content_index","typeLabel":"integer"},"annotation_index":{"type":"integer","description":"The index of the annotation within the content part.","isRequired":true,"uniqueKey":"oneOf.55.annotation_index","typeLabel":"integer"},"sequence_number":{"type":"integer","description":"The sequence number of this event.","isRequired":true,"uniqueKey":"oneOf.55.sequence_number","typeLabel":"integer"},"annotation":{"oneOf":[{"type":"object","title":"File citation","description":"The annotation object being added. (See annotation schema for details.)","required":["type","file_id","index","filename"],"properties":{"type":{"type":"string","enum":["file_citation"],"description":"The type of the file citation. Always `file_citation`.","default":"file_citation","isRequired":true,"uniqueKey":"oneOf.55.annotation.oneOf.0.type","typeLabel":"enum\u003cstring>"},"file_id":{"type":"string","description":"The ID of the file.","isRequired":true,"uniqueKey":"oneOf.55.annotation.oneOf.0.file_id","typeLabel":"string"},"index":{"type":"integer","description":"The index in the output text at which to insert the file citation.","isRequired":true,"uniqueKey":"oneOf.55.annotation.oneOf.0.index","typeLabel":"integer"},"filename":{"type":"string","description":"The filename of the file cited.","isRequired":true,"uniqueKey":"oneOf.55.annotation.oneOf.0.filename","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.55.annotation.oneOf.0","typeLabel":"File citation · object"},{"type":"object","title":"URL citation","description":"The annotation object being added. (See annotation schema for details.)","required":["type","url","start_index","end_index","title"],"properties":{"type":{"type":"string","enum":["url_citation"],"description":"The type of the URL citation. Always `url_citation`.","default":"url_citation","isRequired":true,"uniqueKey":"oneOf.55.annotation.oneOf.1.type","typeLabel":"enum\u003cstring>"},"url":{"type":"string","format":"uri","description":"The URL of the web resource.","isRequired":true,"uniqueKey":"oneOf.55.annotation.oneOf.1.url","typeLabel":"string\u003curi>"},"start_index":{"type":"integer","description":"The index of the first character of the URL citation in the message.","isRequired":true,"uniqueKey":"oneOf.55.annotation.oneOf.1.start_index","typeLabel":"integer"},"end_index":{"type":"integer","description":"The index of the last character of the URL citation in the message.","isRequired":true,"uniqueKey":"oneOf.55.annotation.oneOf.1.end_index","typeLabel":"integer"},"title":{"type":"string","description":"The title of the web resource.","isRequired":true,"uniqueKey":"oneOf.55.annotation.oneOf.1.title","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.55.annotation.oneOf.1","typeLabel":"URL citation · object"},{"type":"object","title":"Container file citation","description":"The annotation object being added. (See annotation schema for details.)","required":["type","container_id","file_id","start_index","end_index","filename"],"properties":{"type":{"type":"string","enum":["container_file_citation"],"description":"The type of the container file citation. Always `container_file_citation`.","default":"container_file_citation","isRequired":true,"uniqueKey":"oneOf.55.annotation.oneOf.2.type","typeLabel":"enum\u003cstring>"},"container_id":{"type":"string","description":"The ID of the container file.","isRequired":true,"uniqueKey":"oneOf.55.annotation.oneOf.2.container_id","typeLabel":"string"},"file_id":{"type":"string","description":"The ID of the file.","isRequired":true,"uniqueKey":"oneOf.55.annotation.oneOf.2.file_id","typeLabel":"string"},"start_index":{"type":"integer","description":"The index of the first character of the container file citation in the message.","isRequired":true,"uniqueKey":"oneOf.55.annotation.oneOf.2.start_index","typeLabel":"integer"},"end_index":{"type":"integer","description":"The index of the last character of the container file citation in the message.","isRequired":true,"uniqueKey":"oneOf.55.annotation.oneOf.2.end_index","typeLabel":"integer"},"filename":{"type":"string","description":"The filename of the container file cited.","isRequired":true,"uniqueKey":"oneOf.55.annotation.oneOf.2.filename","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.55.annotation.oneOf.2","typeLabel":"Container file citation · object"},{"type":"object","title":"File path","description":"The annotation object being added. (See annotation schema for details.)","required":["type","file_id","index"],"properties":{"type":{"type":"string","description":"The type of the file path. Always `file_path`.\n","enum":["file_path"],"isRequired":true,"uniqueKey":"oneOf.55.annotation.oneOf.3.type","typeLabel":"enum\u003cstring>"},"file_id":{"type":"string","description":"The ID of the file.\n","isRequired":true,"uniqueKey":"oneOf.55.annotation.oneOf.3.file_id","typeLabel":"string"},"index":{"type":"integer","description":"The index of the file in the list of files.\n","isRequired":true,"uniqueKey":"oneOf.55.annotation.oneOf.3.index","typeLabel":"integer"}},"isRequired":true,"uniqueKey":"oneOf.55.annotation.oneOf.3","typeLabel":"File path · object"},{"type":"null","description":"The annotation object being added. (See annotation schema for details.)","isRequired":true,"uniqueKey":"oneOf.55.annotation.oneOf.4","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.55.annotation","typeLabel":"File citation · object | URL citation · object | Container file citation · object | File path · object | null"}},"uniqueKey":"oneOf.55","typeLabel":"ResponseOutputTextAnnotationAddedEvent · object"},{"type":"object","title":"ResponseQueuedEvent","description":"Event emitted while a response is streamed.","required":["type","response","sequence_number"],"properties":{"type":{"type":"string","const":"response.queued","description":"The type of the event. Always 'response.queued'.","isRequired":true,"uniqueKey":"oneOf.56.type","typeLabel":"string"},"response":{"type":"object","title":"The response object","description":"The full response object that is queued.","required":["access_programs","id","object","created_at","error","incomplete_details","instructions","model","tools","output","parallel_tool_calls","metadata","tool_choice","temperature","top_p"],"example":{"id":"resp_67ccd3a9da748190baa7f1570fe91ac604becb25c45c1d41","object":"response","access_programs":null,"created_at":1741476777,"status":"completed","completed_at":1741476778,"error":null,"incomplete_details":null,"instructions":null,"max_output_tokens":null,"model":"gpt-6.2-astra","output":[{"type":"message","id":"msg_67ccd3acc8d48190a77525dc6de64b4104becb25c45c1d41","status":"completed","role":"assistant","content":[{"type":"output_text","text":"The image depicts a scenic landscape with a wooden boardwalk or pathway leading through lush, green grass under a blue sky with some clouds. The setting suggests a peaceful natural area, possibly a park or nature reserve. There are trees and shrubs in the background.","annotations":[],"logprobs":[]}]}],"parallel_tool_calls":true,"previous_response_id":null,"reasoning":{"effort":null,"summary":null,"context":null},"temperature":1,"text":{"format":{"type":"text"}},"tool_choice":"auto","tools":[],"top_p":1,"truncation":"disabled","usage":{"input_tokens":328,"input_tokens_details":{"cached_tokens":0,"cache_write_tokens":0},"output_tokens":52,"output_tokens_details":{"reasoning_tokens":0},"total_tokens":380},"tool_usage":{"image_gen":{"input_tokens":0,"input_tokens_details":{"text_tokens":0,"image_tokens":0},"output_tokens":0,"output_tokens_details":{"text_tokens":0,"image_tokens":0},"total_tokens":0},"web_search":{"num_requests":0}},"user":null,"metadata":{}},"properties":{"metadata":{"oneOf":[{"type":"object","description":"Set of 16 key-value pairs that can be attached to an object. This can be\nuseful for storing additional information about the object in a structured\nformat, and querying for objects via API or the dashboard.\n\nKeys are strings with a maximum length of 64 characters. Values are strings\nwith a maximum length of 512 characters.\n","additionalProperties":{"type":"string","uniqueKey":"oneOf.56.response.metadata.oneOf.0.additionalProperties","typeLabel":"string"},"isRequired":true,"uniqueKey":"oneOf.56.response.metadata.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.56.response.metadata.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.56.response.metadata","typeLabel":"object | null"},"temperature":{"oneOf":[{"type":"number","description":"What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.\nWe generally recommend altering this or `top_p` but not both.\n","default":1,"maximum":2,"minimum":0,"example":1,"isRequired":true,"uniqueKey":"oneOf.56.response.temperature.oneOf.0","typeLabel":"number"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.56.response.temperature.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.56.response.temperature","typeLabel":"number | null"},"top_p":{"oneOf":[{"type":"number","description":"An alternative to sampling with temperature, called nucleus sampling,\nwhere the model considers the results of the tokens with top_p probability\nmass. So 0.1 means only the tokens comprising the top 10% probability mass\nare considered.\n\nWe generally recommend altering this or `temperature` but not both.\n","default":1,"maximum":1,"minimum":0,"example":1,"isRequired":true,"uniqueKey":"oneOf.56.response.top_p.oneOf.0","typeLabel":"number"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.56.response.top_p.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.56.response.top_p","typeLabel":"number | null"},"model":{"type":"string","description":"ID of the model to use, for example `gpt-6.2-sol`. See [Models](/en/llm/openai-responses) for the available models.","example":"gpt-6.2-sol","isRequired":true,"uniqueKey":"oneOf.56.response.model","typeLabel":"string"},"tools":{"type":"array","description":"An array of tools the model may call while generating a response. You\ncan specify which tool to use by setting the `tool_choice` parameter.\n\nWe support the following categories of tools:\n- **Built-in tools**: Tools that are provided by OpenAI that extend the\n model's capabilities, like [web search](https://developers.openai.com/api/docs/guides/tools-web-search)\n or [file search](https://developers.openai.com/api/docs/guides/tools-file-search). Learn more about\n [built-in tools](https://developers.openai.com/api/docs/guides/tools).\n- **MCP Tools**: Integrations with third-party systems via custom MCP servers\n or predefined connectors such as Google Drive and SharePoint. Learn more about\n [MCP Tools](https://developers.openai.com/api/docs/guides/tools-connectors-mcp).\n- **Function calls (custom tools)**: Functions that are defined by you,\n enabling the model to call your own code with strongly typed arguments\n and outputs. Learn more about\n [function calling](https://developers.openai.com/api/docs/guides/function-calling). You can also use\n custom tools to call your own code.\n","items":{"oneOf":[{"type":"object","title":"Function","description":"A tool that can be used to generate a response.\n","required":["type","name","strict","parameters"],"properties":{"type":{"type":"string","enum":["function"],"description":"The type of the function tool. Always `function`.","default":"function","isRequired":true,"uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"The name of the function to call.","isRequired":true,"uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.0.name","typeLabel":"string"},"parameters":{"type":"any","isRequired":true,"uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.0.parameters","typeLabel":"any"},"strict":{"type":"any","isRequired":true,"uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.0.strict","typeLabel":"any"},"async":{"type":"boolean","uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.0.async","typeLabel":"boolean"},"description":{"type":"any","uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.0.description","typeLabel":"any"},"output_schema":{"type":"any","uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.0.output_schema","typeLabel":"any"},"defer_loading":{"type":"boolean","description":"Whether this function is deferred and loaded via tool search.","uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.0.defer_loading","typeLabel":"boolean"},"allowed_callers":{"type":"any","uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.0.allowed_callers","typeLabel":"any"}},"uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.0","typeLabel":"Function · object"},{"type":"object","title":"File search","description":"A tool that can be used to generate a response.\n","required":["type","vector_store_ids"],"properties":{"type":{"type":"string","enum":["file_search"],"description":"The type of the file search tool. Always `file_search`.","default":"file_search","isRequired":true,"uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"vector_store_ids":{"items":{"type":"string","uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.1.vector_store_ids.items.[INDEX]","typeLabel":"string"},"type":"array","description":"The IDs of the vector stores to search.","isRequired":true,"uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.1.vector_store_ids","typeLabel":"string[]"},"max_num_results":{"type":"integer","description":"The maximum number of results to return. This number should be between 1 and 50 inclusive.","uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.1.max_num_results","typeLabel":"integer"},"ranking_options":{"properties":{"ranker":{"type":"string","enum":["auto","default-2024-11-15"],"description":"The ranker to use for the file search.","uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.1.ranking_options.ranker","typeLabel":"enum\u003cstring>"},"score_threshold":{"type":"number","description":"The score threshold for the file search, a number between 0 and 1. Numbers closer to 1 will attempt to return only the most relevant results, but may return fewer results.","uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.1.ranking_options.score_threshold","typeLabel":"number"},"hybrid_search":{"properties":{"embedding_weight":{"type":"number","description":"The weight of the embedding in the reciprocal ranking fusion.","isRequired":true,"uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.1.ranking_options.hybrid_search.embedding_weight","typeLabel":"number"},"text_weight":{"type":"number","description":"The weight of the text in the reciprocal ranking fusion.","isRequired":true,"uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.1.ranking_options.hybrid_search.text_weight","typeLabel":"number"}},"type":"object","required":["embedding_weight","text_weight"],"description":"Weights that control how reciprocal rank fusion balances semantic embedding matches versus sparse keyword matches when hybrid search is enabled.","uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.1.ranking_options.hybrid_search","typeLabel":"object"}},"type":"object","required":[],"description":"Ranking options for search.","uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.1.ranking_options","typeLabel":"object"},"filters":{"type":"any","uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.1.filters","typeLabel":"any"}},"uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.1","typeLabel":"File search · object"},{"type":"object","title":"Computer","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["computer"],"description":"The type of the computer tool. Always `computer`.","default":"computer","isRequired":true,"uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.2.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.2","typeLabel":"Computer · object"},{"type":"object","title":"Computer use preview","description":"A tool that can be used to generate a response.\n","required":["type","environment","display_width","display_height"],"properties":{"type":{"type":"string","enum":["computer_use_preview"],"description":"The type of the computer use tool. Always `computer_use_preview`.","default":"computer_use_preview","isRequired":true,"uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"environment":{"type":"string","enum":["windows","mac","linux","ubuntu","browser"],"description":"The type of computer environment to control.","isRequired":true,"uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.3.environment","typeLabel":"enum\u003cstring>"},"display_width":{"type":"integer","description":"The width of the computer display.","isRequired":true,"uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.3.display_width","typeLabel":"integer"},"display_height":{"type":"integer","description":"The height of the computer display.","isRequired":true,"uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.3.display_height","typeLabel":"integer"}},"uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.3","typeLabel":"Computer use preview · object"},{"type":"object","title":"Web search","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["web_search","web_search_2025_08_26"],"description":"The type of the web search tool. One of `web_search` or `web_search_2025_08_26`.","default":"web_search","isRequired":true,"uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.4.type","typeLabel":"enum\u003cstring>"},"external_web_access":{"type":"boolean","default":true,"description":"Allow live internet access for web search. Defaults to true when omitted. When false, the web search tool runs in offline/cache-only mode and will not fetch new external content.","uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.4.external_web_access","typeLabel":"boolean"},"filters":{"type":"any","uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.4.filters","typeLabel":"any"},"user_location":{"type":"any","description":"The approximate location of the user. If omitted or null, defaults to the\nUnited States. To avoid this fallback, pass `{\"type\": \"approximate\"}` without\nlocation fields. To localize results, provide the relevant location fields.\n","uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.4.user_location","typeLabel":"any"},"search_context_size":{"type":"string","enum":["low","medium","high"],"default":"medium","description":"High level guidance for the amount of context window space to use for the search. One of `low`, `medium`, or `high`. `medium` is the default.","uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.4.search_context_size","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.4","typeLabel":"Web search · object"},{"type":"object","title":"MCP tool","description":"A tool that can be used to generate a response.\n","required":["type","server_label"],"properties":{"type":{"type":"string","const":"mcp","description":"The type of the MCP tool. Always `mcp`.","isRequired":true,"uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.5.type","typeLabel":"string"},"server_label":{"type":"string","description":"A label for this MCP server, used to identify it in tool calls.\n","isRequired":true,"uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.5.server_label","typeLabel":"string"},"server_url":{"type":"string","format":"uri","description":"The URL for the MCP server. One of `server_url`, `connector_id`, or\n`tunnel_id` must be provided.\n","uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.5.server_url","typeLabel":"string\u003curi>"},"connector_id":{"type":"string","deprecated":true,"enum":["connector_dropbox","connector_gmail","connector_googlecalendar","connector_googledrive","connector_microsoftteams","connector_outlookcalendar","connector_outlookemail","connector_sharepoint"],"description":"Identifier for service connectors, like those available in ChatGPT. One of\n`server_url`, `connector_id`, or `tunnel_id` must be provided. Learn more\nabout service connectors [here](https://developers.openai.com/api/docs/guides/tools-connectors-mcp#connectors).\n\nThis field is deprecated for models released after September 1, 2026.\nUse `server_url` to connect to a remote MCP server, or `tunnel_id` to\nconnect through a Secure MCP Tunnel.\n\nCurrently supported `connector_id` values are:\n\n- Dropbox: `connector_dropbox`\n- Gmail: `connector_gmail`\n- Google Calendar: `connector_googlecalendar`\n- Google Drive: `connector_googledrive`\n- Microsoft Teams: `connector_microsoftteams`\n- Outlook Calendar: `connector_outlookcalendar`\n- Outlook Email: `connector_outlookemail`\n- SharePoint: `connector_sharepoint`\n","uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.5.connector_id","typeLabel":"enum\u003cstring>"},"tunnel_id":{"type":"string","pattern":"^tunnel_[a-z0-9]{32}$","description":"The Secure MCP Tunnel ID to use instead of a direct server URL. One of\n`server_url`, `connector_id`, or `tunnel_id` must be provided.\n","uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.5.tunnel_id","typeLabel":"string"},"authorization":{"type":"string","description":"An OAuth access token that can be used with a remote MCP server, either\nwith a custom MCP server URL or a service connector. Your application\nmust handle the OAuth authorization flow and provide the token here.\n","uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.5.authorization","typeLabel":"string"},"server_description":{"type":"string","description":"Optional description of the MCP server, used to provide more context.\n","uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.5.server_description","typeLabel":"string"},"headers":{"type":"any","uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.5.headers","typeLabel":"any"},"allowed_tools":{"type":"any","uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.5.allowed_tools","typeLabel":"any"},"allowed_callers":{"type":"any","uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.5.allowed_callers","typeLabel":"any"},"require_approval":{"type":"any","uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.5.require_approval","typeLabel":"any"},"defer_loading":{"type":"boolean","description":"Whether this MCP tool is deferred and discovered via tool search.\n","uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.5.defer_loading","typeLabel":"boolean"}},"uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.5","typeLabel":"MCP tool · object"},{"type":"object","title":"Code interpreter","description":"A tool that can be used to generate a response.\n","required":["type","container"],"properties":{"type":{"type":"string","enum":["code_interpreter"],"description":"The type of the code interpreter tool. Always `code_interpreter`.\n","isRequired":true,"uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.6.type","typeLabel":"enum\u003cstring>"},"container":{"type":"any","description":"The code interpreter container. Can be a container ID or an object that\nspecifies uploaded file IDs to make available to your code, along with an\noptional `memory_limit` setting.\n","isRequired":true,"uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.6.container","typeLabel":"any"},"allowed_callers":{"type":"any","uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.6.allowed_callers","typeLabel":"any"}},"uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.6","typeLabel":"Code interpreter · object"},{"type":"object","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["programmatic_tool_calling"],"description":"The type of the tool. Always `programmatic_tool_calling`.","default":"programmatic_tool_calling","isRequired":true,"uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.7.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.7","typeLabel":"object"},{"type":"object","title":"Image generation tool","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["image_generation"],"description":"The type of the image generation tool. Always `image_generation`.\n","isRequired":true,"uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.8.type","typeLabel":"enum\u003cstring>"},"model":{"type":"any","uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.8.model","typeLabel":"any"},"complexity":{"type":"string","enum":["low","medium","high"],"description":"Computation spent planning the image, independently of rendering quality.\nOverrides the outer response's `reasoning.effort` for image generation.\nWhen omitted, inherits a supported outer reasoning effort or uses the\nimage model's configured default.\nFor SVG output, controls the reference image, not the SVG author's\nreasoning.\n","uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.8.complexity","typeLabel":"enum\u003cstring>"},"quality":{"type":"string","enum":["low","medium","high","xhigh","max","auto"],"description":"The quality of the generated image. The GPT image models support `low`,\n`medium`, and `high`. `gpt-image-2.5-sunburst` and `gpt-image-2.5-flare`,\nincluding their `2026-09-08` snapshots, also support `xhigh` and `max`.\nDefault: `auto`.\n","default":"auto","uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.8.quality","typeLabel":"enum\u003cstring>"},"size":{"type":"any","description":"The size of the generated images. For `gpt-image-2`, `gpt-image-2-2026-04-21`, `gpt-image-2.5-sunburst`, `gpt-image-2.5-sunburst-2026-09-08`, `gpt-image-2.5-flare`, and `gpt-image-2.5-flare-2026-09-08`, arbitrary resolutions are supported as `WIDTHxHEIGHT` strings, for example `1536x864`. Width and height must both be divisible by 16 and the requested aspect ratio must be between 1:3 and 3:1. Resolutions above `2560x1440` are experimental, and the maximum supported resolution is `3840x2160`. The requested size must also satisfy the model's current pixel and edge limits. The standard sizes `1024x1024`, `1536x1024`, and `1024x1536` are supported by the GPT image models; `auto` is supported for models that allow automatic sizing.","default":"auto","uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.8.size","typeLabel":"any"},"output_format":{"type":"string","enum":["png","webp","jpeg","gif","svg"],"description":"The output format of the generated image. One of `png`, `webp`, `jpeg`,\n`gif`, or `svg`. Default: `png`. GIF and SVG output require a model\nthat supports the selected format. GIF output does not support\npartial image streaming (`partial_images` greater than `0`),\n`input_image_mask`, or custom `output_compression`.\nResponses lifecycle events can still be streamed for GIF output.\n","default":"png","uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.8.output_format","typeLabel":"enum\u003cstring>"},"frame_count":{"type":"integer","minimum":2,"maximum":16,"default":9,"description":"Number of GIF frames. Requires `output_format` to be `gif`. Default: 9.\n","uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.8.frame_count","typeLabel":"integer"},"frame_duration_ms":{"type":"integer","minimum":20,"maximum":2000,"default":200,"description":"Duration of each GIF frame in milliseconds, rounded to 10 ms.\nRequires `output_format` to be `gif`. Default: 200.\n","uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.8.frame_duration_ms","typeLabel":"integer"},"svg":{"properties":{"model":{"type":"string","minLength":1,"uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.8.svg.model","typeLabel":"string"},"reasoning":{"type":"any","uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.8.svg.reasoning","typeLabel":"any"}},"type":"object","required":[],"description":"SVG author model settings. Requires `output_format` to be `svg`.\nWhen SVG model selection is enabled, omitting this object uses the\nouter response model. Otherwise, the default SVG author is used and\nexplicit model overrides are unavailable.\n","uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.8.svg","typeLabel":"object"},"output_compression":{"type":"integer","minimum":0,"maximum":100,"description":"Compression level for the output image. Default: 100.\n","default":100,"uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.8.output_compression","typeLabel":"integer"},"moderation":{"type":"string","enum":["auto","low"],"description":"Moderation level for the generated image. Default: `auto`.\n","default":"auto","uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.8.moderation","typeLabel":"enum\u003cstring>"},"background":{"type":"string","enum":["transparent","opaque","auto"],"description":"Set the background of the generated image. One of `transparent`, `opaque`,\nor `auto`. `gpt-image-2.5-sunburst` and `gpt-image-2.5-flare`, including\ntheir `2026-09-08` snapshots, support `opaque` and `transparent`\nbackgrounds. Transparent backgrounds are available for supported GPT Image\nmodels. For `gpt-image-2` and `gpt-image-2-2026-04-21`, this support is in\npreview. When using `transparent`, set the output format to `png` or `webp`.\nDefault: `auto`.\n","default":"auto","uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.8.background","typeLabel":"enum\u003cstring>"},"input_fidelity":{"type":"any","uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.8.input_fidelity","typeLabel":"any"},"input_image_mask":{"type":"object","description":"Optional mask for inpainting. Contains `image_url`\n(string, optional) and `file_id` (string, optional).\n","properties":{"image_url":{"type":"string","description":"Base64-encoded mask image.\n","uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.8.input_image_mask.image_url","typeLabel":"string"},"file_id":{"type":"string","description":"File ID for the mask image.\n","uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.8.input_image_mask.file_id","typeLabel":"string"}},"required":[],"additionalProperties":false,"uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.8.input_image_mask","typeLabel":"object"},"partial_images":{"type":"integer","minimum":0,"maximum":3,"description":"Number of partial images to generate in streaming mode, from 0 (default value) to 3.\n","default":0,"uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.8.partial_images","typeLabel":"integer"},"action":{"type":"string","enum":["generate","edit","auto"],"description":"Whether to generate a new image or edit an existing image. Default: `auto`.\n","uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.8.action","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.8","typeLabel":"Image generation tool · object"},{"type":"object","title":"Local shell tool","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["local_shell"],"description":"The type of the local shell tool. Always `local_shell`.","default":"local_shell","isRequired":true,"uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.9.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.9","typeLabel":"Local shell tool · object"},{"type":"object","title":"Shell tool","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["shell"],"description":"The type of the shell tool. Always `shell`.","default":"shell","isRequired":true,"uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.10.type","typeLabel":"enum\u003cstring>"},"environment":{"type":"any","uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.10.environment","typeLabel":"any"},"allowed_callers":{"type":"any","uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.10.allowed_callers","typeLabel":"any"}},"uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.10","typeLabel":"Shell tool · object"},{"type":"object","title":"Custom tool","description":"A tool that can be used to generate a response.\n","required":["type","name"],"properties":{"type":{"type":"string","enum":["custom"],"description":"The type of the custom tool. Always `custom`.","default":"custom","isRequired":true,"uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.11.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"The name of the custom tool, used to identify it in tool calls.","isRequired":true,"uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.11.name","typeLabel":"string"},"async":{"type":"boolean","description":"Whether the tool response can be returned asynchronously versus immediately returned on next response creation.","uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.11.async","typeLabel":"boolean"},"description":{"type":"string","description":"Optional description of the custom tool, used to provide more context.","uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.11.description","typeLabel":"string"},"format":{"type":"any","description":"The input format for the custom tool. Default is unconstrained text.","uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.11.format","typeLabel":"any"},"defer_loading":{"type":"boolean","description":"Whether this tool should be deferred and discovered via tool search.","uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.11.defer_loading","typeLabel":"boolean"},"allowed_callers":{"type":"any","uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.11.allowed_callers","typeLabel":"any"}},"uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.11","typeLabel":"Custom tool · object"},{"type":"object","title":"Namespace","description":"A tool that can be used to generate a response.\n","required":["type","name","description","tools"],"properties":{"type":{"type":"string","enum":["namespace"],"description":"The type of the tool. Always `namespace`.","default":"namespace","isRequired":true,"uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.12.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","minLength":1,"description":"The namespace name used in tool calls (for example, `crm`).","isRequired":true,"uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.12.name","typeLabel":"string"},"description":{"type":"string","description":"A description of the namespace shown to the model.","isRequired":true,"uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.12.description","typeLabel":"string"},"tools":{"items":{"type":"any","description":"A function or custom tool that belongs to a namespace.","uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.12.tools.items.[INDEX]","typeLabel":"any"},"type":"array","minItems":1,"description":"The function/custom tools available inside this namespace.","isRequired":true,"uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.12.tools","typeLabel":"any[]"}},"uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.12","typeLabel":"Namespace · object"},{"type":"object","title":"Tool search tool","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["tool_search"],"description":"The type of the tool. Always `tool_search`.","default":"tool_search","isRequired":true,"uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.13.type","typeLabel":"enum\u003cstring>"},"execution":{"type":"string","enum":["server","client"],"description":"Whether tool search is executed by the server or by the client.","uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.13.execution","typeLabel":"enum\u003cstring>"},"description":{"type":"any","uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.13.description","typeLabel":"any"},"parameters":{"type":"any","uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.13.parameters","typeLabel":"any"}},"uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.13","typeLabel":"Tool search tool · object"},{"type":"object","title":"Web search preview","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["web_search_preview","web_search_preview_2025_03_11"],"description":"The type of the web search tool. One of `web_search_preview` or `web_search_preview_2025_03_11`.","default":"web_search_preview","isRequired":true,"uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.14.type","typeLabel":"enum\u003cstring>"},"user_location":{"type":"any","uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.14.user_location","typeLabel":"any"},"search_context_size":{"type":"string","enum":["low","medium","high"],"description":"High level guidance for the amount of context window space to use for the search. One of `low`, `medium`, or `high`. `medium` is the default.","uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.14.search_context_size","typeLabel":"enum\u003cstring>"},"search_content_types":{"items":{"type":"string","enum":["text","image"],"uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.14.search_content_types.items.[INDEX]","typeLabel":"enum\u003cstring>"},"type":"array","uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.14.search_content_types","typeLabel":"enum\u003cstring>[]"}},"uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.14","typeLabel":"Web search preview · object"},{"type":"object","title":"Apply patch tool","description":"A tool that can be used to generate a response.\n","required":["type"],"properties":{"type":{"type":"string","enum":["apply_patch"],"description":"The type of the tool. Always `apply_patch`.","default":"apply_patch","isRequired":true,"uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.15.type","typeLabel":"enum\u003cstring>"},"allowed_callers":{"type":"any","uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.15.allowed_callers","typeLabel":"any"}},"uniqueKey":"oneOf.56.response.tools.items.[INDEX].oneOf.15","typeLabel":"Apply patch tool · object"}],"uniqueKey":"oneOf.56.response.tools.items.[INDEX]","typeLabel":"Function · object | File search · object | Computer · object | Computer use preview · object | Web search · object | MCP tool · object | Code interpreter · object | object | Image generation tool · object | Local shell tool · object | Shell tool · object | Custom tool · object | Namespace · object | Tool search tool · object | Web search preview · object | Apply patch tool · object"},"isRequired":true,"uniqueKey":"oneOf.56.response.tools","typeLabel":"(Function · object | File search · object | Computer · object | Computer use preview · object | Web search · object | MCP tool · object | Code interpreter · object | object | Image generation tool · object | Local shell tool · object | Shell tool · object | Custom tool · object | Namespace · object | Tool search tool · object | Web search preview · object | Apply patch tool · object)[]"},"tool_choice":{"oneOf":[{"type":"string","title":"Tool choice mode","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","enum":["none","auto","required"],"isRequired":true,"uniqueKey":"oneOf.56.response.tool_choice.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"object","title":"Allowed tools","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","required":["type","mode","tools"],"properties":{"type":{"type":"string","enum":["allowed_tools"],"description":"Allowed tool configuration type. Always `allowed_tools`.","isRequired":true,"uniqueKey":"oneOf.56.response.tool_choice.oneOf.1.type","typeLabel":"enum\u003cstring>"},"mode":{"type":"string","enum":["auto","required"],"description":"Constrains the tools available to the model to a pre-defined set.\n\n`auto` allows the model to pick from among the allowed tools and generate a\nmessage.\n\n`required` requires the model to call one or more of the allowed tools.\n","isRequired":true,"uniqueKey":"oneOf.56.response.tool_choice.oneOf.1.mode","typeLabel":"enum\u003cstring>"},"tools":{"type":"array","description":"A list of tool definitions that the model should be allowed to call.\n\nFor the Responses API, the list of tool definitions might look like:\n```json\n[\n { \"type\": \"function\", \"name\": \"get_weather\" },\n { \"type\": \"mcp\", \"server_label\": \"deepwiki\" },\n { \"type\": \"image_generation\" }\n]\n```\n","items":{"type":"object","description":"A tool definition that the model should be allowed to call.\n","additionalProperties":true,"uniqueKey":"oneOf.56.response.tool_choice.oneOf.1.tools.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"oneOf.56.response.tool_choice.oneOf.1.tools","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"oneOf.56.response.tool_choice.oneOf.1","typeLabel":"Allowed tools · object"},{"type":"object","title":"Hosted tool","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","required":["type"],"properties":{"type":{"type":"string","description":"The type of hosted tool the model should to use. Learn more about\n[built-in tools](https://developers.openai.com/api/docs/guides/tools).\n\nAllowed values are:\n- `file_search`\n- `web_search_preview`\n- `computer`\n- `computer_use_preview`\n- `computer_use`\n- `code_interpreter`\n- `image_generation`\n","enum":["file_search","web_search_preview","computer","computer_use_preview","computer_use","web_search_preview_2025_03_11","image_generation","code_interpreter"],"isRequired":true,"uniqueKey":"oneOf.56.response.tool_choice.oneOf.2.type","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.56.response.tool_choice.oneOf.2","typeLabel":"Hosted tool · object"},{"type":"object","title":"Function tool","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","required":["type","name"],"properties":{"type":{"type":"string","enum":["function"],"description":"For function calling, the type is always `function`.","isRequired":true,"uniqueKey":"oneOf.56.response.tool_choice.oneOf.3.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"The name of the function to call.","isRequired":true,"uniqueKey":"oneOf.56.response.tool_choice.oneOf.3.name","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.56.response.tool_choice.oneOf.3","typeLabel":"Function tool · object"},{"type":"object","title":"MCP tool","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","required":["type","server_label"],"properties":{"type":{"type":"string","enum":["mcp"],"description":"For MCP tools, the type is always `mcp`.","isRequired":true,"uniqueKey":"oneOf.56.response.tool_choice.oneOf.4.type","typeLabel":"enum\u003cstring>"},"server_label":{"type":"string","description":"The label of the MCP server to use.\n","isRequired":true,"uniqueKey":"oneOf.56.response.tool_choice.oneOf.4.server_label","typeLabel":"string"},"name":{"type":"any","uniqueKey":"oneOf.56.response.tool_choice.oneOf.4.name","typeLabel":"any"}},"isRequired":true,"uniqueKey":"oneOf.56.response.tool_choice.oneOf.4","typeLabel":"MCP tool · object"},{"type":"object","title":"Custom tool","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","required":["type","name"],"properties":{"type":{"type":"string","enum":["custom"],"description":"For custom tool calling, the type is always `custom`.","isRequired":true,"uniqueKey":"oneOf.56.response.tool_choice.oneOf.5.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"The name of the custom tool to call.","isRequired":true,"uniqueKey":"oneOf.56.response.tool_choice.oneOf.5.name","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.56.response.tool_choice.oneOf.5","typeLabel":"Custom tool · object"},{"type":"object","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","required":["type"],"properties":{"type":{"type":"string","enum":["programmatic_tool_calling"],"description":"The tool to call. Always `programmatic_tool_calling`.","default":"programmatic_tool_calling","isRequired":true,"uniqueKey":"oneOf.56.response.tool_choice.oneOf.6.type","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.56.response.tool_choice.oneOf.6","typeLabel":"object"},{"type":"object","title":"Specific apply patch tool choice","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","required":["type"],"properties":{"type":{"type":"string","enum":["apply_patch"],"description":"The tool to call. Always `apply_patch`.","default":"apply_patch","isRequired":true,"uniqueKey":"oneOf.56.response.tool_choice.oneOf.7.type","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.56.response.tool_choice.oneOf.7","typeLabel":"Specific apply patch tool choice · object"},{"type":"object","title":"Specific shell tool choice","description":"How the model should select which tool (or tools) to use when generating\na response. See the `tools` parameter to see how to specify which tools\nthe model can call.\n","required":["type"],"properties":{"type":{"type":"string","enum":["shell"],"description":"The tool to call. Always `shell`.","default":"shell","isRequired":true,"uniqueKey":"oneOf.56.response.tool_choice.oneOf.8.type","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.56.response.tool_choice.oneOf.8","typeLabel":"Specific shell tool choice · object"}],"isRequired":true,"uniqueKey":"oneOf.56.response.tool_choice","typeLabel":"enum\u003cstring> | Allowed tools · object | Hosted tool · object | Function tool · object | MCP tool · object | Custom tool · object | object | Specific apply patch tool choice · object | Specific shell tool choice · object"},"id":{"type":"string","description":"Unique identifier for this Response.\n","isRequired":true,"uniqueKey":"oneOf.56.response.id","typeLabel":"string"},"object":{"type":"string","description":"The object type of this resource - always set to `response`.\n","const":"response","isRequired":true,"uniqueKey":"oneOf.56.response.object","typeLabel":"string"},"access_programs":{"oneOf":[{"type":"object","required":["cyber"],"properties":{"cyber":{"type":"string","enum":["standard","daybreak_blue","daybreak_red"],"description":"The effective Cyber access program used for this response.","isRequired":true,"uniqueKey":"oneOf.56.response.access_programs.oneOf.0.cyber","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.56.response.access_programs.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.56.response.access_programs.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.56.response.access_programs","typeLabel":"object | null"},"created_at":{"type":"number","format":"unixtime","description":"Unix timestamp (in seconds) of when this Response was created.\n","isRequired":true,"uniqueKey":"oneOf.56.response.created_at","typeLabel":"number\u003cunixtime>"},"error":{"oneOf":[{"type":"object","description":"An error object returned when the model fails to generate a Response.\n","required":["code","message"],"properties":{"code":{"type":"string","description":"The error code for the response.\n","enum":["server_error","rate_limit_exceeded","invalid_prompt","data_residency_mismatch","bio_policy","misalignment_policy_violation","vector_store_timeout","invalid_image","invalid_image_format","invalid_base64_image","invalid_image_url","image_too_large","image_too_small","image_parse_error","image_content_policy_violation","invalid_image_mode","image_file_too_large","unsupported_image_media_type","empty_image_file","failed_to_download_image","image_file_not_found"],"isRequired":true,"uniqueKey":"oneOf.56.response.error.oneOf.0.code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"A human-readable description of the error.\n","isRequired":true,"uniqueKey":"oneOf.56.response.error.oneOf.0.message","typeLabel":"string"},"type":{"oneOf":[{"type":"string","description":"The original error type, or null if it was not recorded.","uniqueKey":"oneOf.56.response.error.oneOf.0.type.oneOf.0","typeLabel":"string"},{"type":"null","description":"The original error type, or null if it was not recorded.","uniqueKey":"oneOf.56.response.error.oneOf.0.type.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.56.response.error.oneOf.0.type","typeLabel":"string | null"},"param":{"oneOf":[{"type":"string","description":"The request parameter associated with the error, or null if none was recorded.","uniqueKey":"oneOf.56.response.error.oneOf.0.param.oneOf.0","typeLabel":"string"},{"type":"null","description":"The request parameter associated with the error, or null if none was recorded.","uniqueKey":"oneOf.56.response.error.oneOf.0.param.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.56.response.error.oneOf.0.param","typeLabel":"string | null"},"misalignment":{"properties":{"review_target":{"oneOf":[{"type":"string","description":"An opaque target for explicitly continuing this review, or null when unavailable.","maxLength":96,"minLength":1,"pattern":"^[A-Za-z0-9._~:-]+$","uniqueKey":"oneOf.56.response.error.oneOf.0.misalignment.review_target.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.56.response.error.oneOf.0.misalignment.review_target.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.56.response.error.oneOf.0.misalignment.review_target","typeLabel":"string | null"},"error_type":{"oneOf":[{"type":"string","description":"An optional classification; clients must accept additional values.","uniqueKey":"oneOf.56.response.error.oneOf.0.misalignment.error_type.oneOf.0","typeLabel":"string"},{"type":"string","description":"An optional classification; clients must accept additional values.","enum":["potentially_unintended_data_transfer","potentially_unintended_data_access","potentially_unintended_destructive_activity","other"],"uniqueKey":"oneOf.56.response.error.oneOf.0.misalignment.error_type.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"oneOf.56.response.error.oneOf.0.misalignment.error_type","typeLabel":"string | enum\u003cstring>"},"detailed_explanation":{"type":"string","description":"The public explanation for this block.","uniqueKey":"oneOf.56.response.error.oneOf.0.misalignment.detailed_explanation","typeLabel":"string"},"steer":{"properties":{"message":{"type":"string","description":"The public continuation instruction.","isRequired":true,"uniqueKey":"oneOf.56.response.error.oneOf.0.misalignment.steer.message","typeLabel":"string"}},"type":"object","required":["message"],"description":"An optional public continuation instruction.","uniqueKey":"oneOf.56.response.error.oneOf.0.misalignment.steer","typeLabel":"object"}},"type":"object","required":[],"uniqueKey":"oneOf.56.response.error.oneOf.0.misalignment","typeLabel":"object"}},"isRequired":true,"uniqueKey":"oneOf.56.response.error.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.56.response.error.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.56.response.error","typeLabel":"object | null"},"incomplete_details":{"oneOf":[{"type":"object","description":"Details about why the response is incomplete.\n","properties":{"reason":{"type":"string","description":"The reason why the response is incomplete. `steered` means\nthe response stopped at a safe output boundary after a\nWebSocket `response.steer` event. The server can then create\na successor response automatically with the queued input.\n","enum":["max_output_tokens","max_messages","content_filter","steered"],"uniqueKey":"oneOf.56.response.incomplete_details.oneOf.0.reason","typeLabel":"enum\u003cstring>"}},"isRequired":true,"uniqueKey":"oneOf.56.response.incomplete_details.oneOf.0","typeLabel":"object"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.56.response.incomplete_details.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.56.response.incomplete_details","typeLabel":"object | null"},"output":{"type":"array","description":"An array of content items generated by the model.\n\n- The length and order of items in the `output` array is dependent\n on the model's response.\n- Rather than accessing the first item in the `output` array and\n assuming it's an `assistant` message with the content generated by\n the model, you might consider using the `output_text` property where\n supported in SDKs.\n","items":{"oneOf":[{"type":"object","title":"Output message","description":"An output message from the model.\n","required":["id","type","role","content","status"],"properties":{"id":{"type":"string","description":"The unique ID of the output message.\n","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.0.id","typeLabel":"string"},"type":{"type":"string","description":"The type of the output message. Always `message`.\n","const":"message","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.0.type","typeLabel":"string"},"role":{"type":"string","description":"The role of the output message. Always `assistant`.\n","const":"assistant","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.0.role","typeLabel":"string"},"content":{"type":"array","description":"The content of the output message.\n","items":{"type":"any","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.0.content.items.[INDEX]","typeLabel":"any"},"isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.0.content","typeLabel":"any[]"},"status":{"type":"string","description":"The status of the message input. One of `in_progress`, `completed`, or\n`incomplete`. Populated when input items are returned via API.\n","enum":["in_progress","completed","incomplete"],"isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.0.status","typeLabel":"enum\u003cstring>"},"phase":{"type":"any","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.0.phase","typeLabel":"any"}},"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.0","typeLabel":"Output message · object"},{"type":"object","title":"File search tool call","description":"The results of a file search tool call. See the\n[file search guide](https://developers.openai.com/api/docs/guides/tools-file-search) for more information.\n","required":["id","type","status","queries"],"properties":{"id":{"type":"string","description":"The unique ID of the file search tool call.\n","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.1.id","typeLabel":"string"},"type":{"type":"string","enum":["file_search_call"],"description":"The type of the file search tool call. Always `file_search_call`.\n","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.1.type","typeLabel":"enum\u003cstring>"},"status":{"type":"string","description":"The status of the file search tool call. One of `in_progress`,\n`searching`, `incomplete` or `failed`,\n","enum":["in_progress","searching","completed","incomplete","failed"],"isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.1.status","typeLabel":"enum\u003cstring>"},"queries":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.1.queries.items.[INDEX]","typeLabel":"string"},"description":"The queries used to search for files.\n","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.1.queries","typeLabel":"string[]"},"results":{"type":"any","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.1.results","typeLabel":"any"}},"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.1","typeLabel":"File search tool call · object"},{"type":"object","title":"Function tool call","description":"A tool call to run a function. See the\n[function calling guide](https://developers.openai.com/api/docs/guides/function-calling) for more information.\n","required":["type","call_id","name","arguments"],"properties":{"type":{"type":"string","const":"function_call","description":"The type of the function tool call. Always `function_call`.\n","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.2.type","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the function tool call generated by the model.\n","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.2.call_id","typeLabel":"string"},"name":{"type":"string","description":"The name of the function to run.\n","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.2.name","typeLabel":"string"},"arguments":{"type":"string","description":"A JSON string of the arguments to pass to the function.\n","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.2.arguments","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the function tool call.\n","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.2.id","typeLabel":"string"},"caller":{"type":"any","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.2.caller","typeLabel":"any"},"namespace":{"type":"string","description":"The namespace of the function to run.\n","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.2.namespace","typeLabel":"string"},"status":{"type":"string","description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.2.status","typeLabel":"enum\u003cstring>"},"async":{"type":"boolean","description":"Whether the function tool call runs asynchronously.\n","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.2.async","typeLabel":"boolean"}},"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.2","typeLabel":"Function tool call · object"},{"type":"object","title":"Function tool call output","description":"The output of a function tool call.\n","required":["id","status","type","output"],"properties":{"id":{"type":"string","description":"The unique ID of the function call tool output.\n","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.3.id","typeLabel":"string"},"type":{"type":"string","const":"function_call_output","description":"The type of the function tool call output. Always `function_call_output`.\n","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.3.type","typeLabel":"string"},"output":{"type":"any","description":"The output from the function call generated by your code.\nCan be a string or an list of output content.\n","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.3.output","typeLabel":"any"},"status":{"type":"string","description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.3.status","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","description":"The unique ID of the function tool call generated by the model.\n","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.3.call_id","typeLabel":"string"},"name":{"type":"string","description":"The name of the tool that produced the output.\n","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.3.name","typeLabel":"string"},"namespace":{"type":"string","description":"The namespace of the tool that produced the output.\n","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.3.namespace","typeLabel":"string"},"caller":{"type":"any","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.3.caller","typeLabel":"any"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.\n","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.3.created_by","typeLabel":"string"}},"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.3","typeLabel":"Function tool call output · object"},{"type":"object","title":"Web search tool call","description":"The results of a web search tool call. See the\n[web search guide](https://developers.openai.com/api/docs/guides/tools-web-search) for more information.\n","required":["id","type","status"],"properties":{"id":{"type":"string","description":"The unique ID of the web search tool call.\n","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.4.id","typeLabel":"string"},"type":{"type":"string","const":"web_search_call","description":"The type of the web search tool call. Always `web_search_call`.\n","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.4.type","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","searching","completed","failed","incomplete"],"description":"The status of the web search tool call.\n","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.4.status","typeLabel":"enum\u003cstring>"},"action":{"type":"any","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.4.action","typeLabel":"any"}},"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.4","typeLabel":"Web search tool call · object"},{"type":"object","title":"Computer tool call","description":"A tool call to a computer use tool. See the\n[computer use guide](https://developers.openai.com/api/docs/guides/tools-computer-use) for more information.\n","required":["type","id","call_id","pending_safety_checks","status"],"properties":{"type":{"type":"string","description":"The type of the computer call. Always `computer_call`.","enum":["computer_call"],"default":"computer_call","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.5.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the computer call.","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.5.id","typeLabel":"string"},"call_id":{"type":"string","description":"An identifier used when responding to the tool call with output.\n","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.5.call_id","typeLabel":"string"},"pending_safety_checks":{"type":"array","items":{"properties":{"id":{"type":"string","description":"The ID of the pending safety check.","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.5.pending_safety_checks.items.[INDEX].id","typeLabel":"string"},"code":{"type":"any","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.5.pending_safety_checks.items.[INDEX].code","typeLabel":"any"},"message":{"type":"any","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.5.pending_safety_checks.items.[INDEX].message","typeLabel":"any"}},"type":"object","required":["id"],"description":"A pending safety check for the computer call.","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.5.pending_safety_checks.items.[INDEX]","typeLabel":"object"},"description":"The pending safety checks for the computer call.\n","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.5.pending_safety_checks","typeLabel":"object[]"},"status":{"type":"string","description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.5.status","typeLabel":"enum\u003cstring>"},"action":{"type":"any","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.5.action","typeLabel":"any"},"actions":{"title":"Computer Action List","type":"array","description":"Flattened batched actions for `computer_use`. Each action includes an\n`type` discriminator and action-specific fields.\n","items":{"type":"any","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.5.actions.items.[INDEX]","typeLabel":"any"},"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.5.actions","typeLabel":"any[]"}},"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.5","typeLabel":"Computer tool call · object"},{"type":"object","title":"Computer tool call output","description":"The output of a computer tool call.\n","required":["id","status","type","call_id","output"],"properties":{"type":{"type":"string","description":"The type of the computer tool call output. Always `computer_call_output`.\n","const":"computer_call_output","default":"computer_call_output","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.6.type","typeLabel":"string"},"id":{"type":"string","description":"The ID of the computer tool call output.\n","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.6.id","typeLabel":"string"},"call_id":{"type":"string","description":"The ID of the computer tool call that produced the output.\n","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.6.call_id","typeLabel":"string"},"output":{"type":"object","description":"A computer screenshot image used with the computer use tool.\n","properties":{"type":{"type":"string","const":"computer_screenshot","default":"computer_screenshot","description":"Specifies the event type. For a computer screenshot, this property is \nalways set to `computer_screenshot`.\n","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.6.output.type","typeLabel":"string"},"image_url":{"type":"string","format":"uri","description":"The URL of the screenshot image.","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.6.output.image_url","typeLabel":"string\u003curi>"},"file_id":{"type":"string","description":"The identifier of an uploaded file that contains the screenshot.","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.6.output.file_id","typeLabel":"string"}},"required":["type"],"isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.6.output","typeLabel":"object"},"status":{"type":"string","description":"The status of the message input. One of `in_progress`, `completed`, or\n`incomplete`. Populated when input items are returned via API.\n","enum":["completed","incomplete"],"isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.6.status","typeLabel":"enum\u003cstring>"},"acknowledged_safety_checks":{"type":"array","description":"The safety checks reported by the API that have been acknowledged by the\ndeveloper.\n","items":{"properties":{"id":{"type":"string","description":"The ID of the pending safety check.","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.6.acknowledged_safety_checks.items.[INDEX].id","typeLabel":"string"},"code":{"type":"any","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.6.acknowledged_safety_checks.items.[INDEX].code","typeLabel":"any"},"message":{"type":"any","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.6.acknowledged_safety_checks.items.[INDEX].message","typeLabel":"any"}},"type":"object","required":["id"],"description":"A pending safety check for the computer call.","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.6.acknowledged_safety_checks.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.6.acknowledged_safety_checks","typeLabel":"object[]"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.\n","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.6.created_by","typeLabel":"string"}},"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.6","typeLabel":"Computer tool call output · object"},{"type":"object","title":"Reasoning","description":"A description of the chain of thought used by a reasoning model while generating\na response. Be sure to include these items in your `input` to the Responses API\nfor subsequent turns of a conversation if you are manually\n[managing context](https://developers.openai.com/api/docs/guides/conversation-state).\n","required":["id","summary","type"],"properties":{"type":{"type":"string","description":"The type of the object. Always `reasoning`.\n","enum":["reasoning"],"isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.7.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique identifier of the reasoning content.\n","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.7.id","typeLabel":"string"},"summary":{"type":"array","description":"Reasoning summary content.\n","items":{"properties":{"type":{"type":"string","enum":["summary_text"],"description":"The type of the object. Always `summary_text`.","default":"summary_text","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.7.summary.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"A summary of the reasoning output from the model so far.","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.7.summary.items.[INDEX].text","typeLabel":"string"}},"type":"object","required":["type","text"],"title":"Summary text","description":"A summary text from the model.","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.7.summary.items.[INDEX]","typeLabel":"Summary text · object"},"isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.7.summary","typeLabel":"Summary text · object[]"},"encrypted_content":{"type":"any","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.7.encrypted_content","typeLabel":"any"},"content":{"type":"array","description":"Reasoning text content.\n","items":{"properties":{"type":{"type":"string","enum":["reasoning_text"],"description":"The type of the reasoning text. Always `reasoning_text`.","default":"reasoning_text","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.7.content.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"The reasoning text from the model.","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.7.content.items.[INDEX].text","typeLabel":"string"}},"type":"object","required":["type","text"],"title":"Reasoning text","description":"Reasoning text from the model.","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.7.content.items.[INDEX]","typeLabel":"Reasoning text · object"},"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.7.content","typeLabel":"Reasoning text · object[]"},"status":{"type":"string","description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.7.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.7","typeLabel":"Reasoning · object"},{"type":"object","required":["type","id","call_id","code","fingerprint"],"properties":{"type":{"type":"string","enum":["program"],"description":"The type of the item. Always `program`.","default":"program","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.8.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the program item.","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.8.id","typeLabel":"string"},"call_id":{"type":"string","description":"The stable call ID of the program item.","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.8.call_id","typeLabel":"string"},"code":{"type":"string","description":"The JavaScript source executed by programmatic tool calling.","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.8.code","typeLabel":"string"},"fingerprint":{"type":"string","description":"Opaque program replay fingerprint that must be round-tripped.","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.8.fingerprint","typeLabel":"string"}},"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.8","typeLabel":"object"},{"type":"object","required":["type","id","call_id","result","status"],"properties":{"type":{"type":"string","enum":["program_output"],"description":"The type of the item. Always `program_output`.","default":"program_output","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.9.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the program output item.","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.9.id","typeLabel":"string"},"call_id":{"type":"string","description":"The call ID of the program item.","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.9.call_id","typeLabel":"string"},"result":{"type":"string","description":"The result produced by the program item.","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.9.result","typeLabel":"string"},"status":{"type":"string","enum":["completed","incomplete"],"description":"The terminal status of the program output item.","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.9.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.9","typeLabel":"object"},{"type":"object","required":["type","id","call_id","execution","arguments","status"],"properties":{"type":{"type":"string","enum":["tool_search_call"],"description":"The type of the item. Always `tool_search_call`.","default":"tool_search_call","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.10.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the tool search call item.","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.10.id","typeLabel":"string"},"call_id":{"type":"any","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.10.call_id","typeLabel":"any"},"execution":{"type":"string","enum":["server","client"],"description":"Whether tool search was executed by the server or by the client.","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.10.execution","typeLabel":"enum\u003cstring>"},"arguments":{"description":"Arguments used for the tool search call.","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.10.arguments","typeLabel":"any"},"status":{"type":"string","enum":["in_progress","completed","incomplete"],"description":"The status of the tool search call item that was recorded.","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.10.status","typeLabel":"enum\u003cstring>"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.10.created_by","typeLabel":"string"}},"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.10","typeLabel":"object"},{"type":"object","required":["type","id","call_id","execution","tools","status"],"properties":{"type":{"type":"string","enum":["tool_search_output"],"description":"The type of the item. Always `tool_search_output`.","default":"tool_search_output","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.11.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the tool search output item.","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.11.id","typeLabel":"string"},"call_id":{"type":"any","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.11.call_id","typeLabel":"any"},"execution":{"type":"string","enum":["server","client"],"description":"Whether tool search was executed by the server or by the client.","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.11.execution","typeLabel":"enum\u003cstring>"},"tools":{"items":{"type":"any","description":"A tool that can be used to generate a response.\n","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.11.tools.items.[INDEX]","typeLabel":"any"},"type":"array","description":"The loaded tool definitions returned by tool search.","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.11.tools","typeLabel":"any[]"},"status":{"type":"string","enum":["in_progress","completed","incomplete"],"description":"The status of the tool search output item that was recorded.","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.11.status","typeLabel":"enum\u003cstring>"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.11.created_by","typeLabel":"string"}},"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.11","typeLabel":"object"},{"type":"object","required":["type","id","role","tools"],"properties":{"type":{"type":"string","enum":["additional_tools"],"description":"The type of the item. Always `additional_tools`.","default":"additional_tools","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.12.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the additional tools item.","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.12.id","typeLabel":"string"},"role":{"type":"string","enum":["unknown","user","assistant","system","critic","discriminator","developer","tool"],"description":"The role that provided the additional tools.","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.12.role","typeLabel":"enum\u003cstring>"},"tools":{"items":{"type":"any","description":"A tool that can be used to generate a response.\n","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.12.tools.items.[INDEX]","typeLabel":"any"},"type":"array","description":"The additional tool definitions made available at this item.","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.12.tools","typeLabel":"any[]"}},"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.12","typeLabel":"object"},{"type":"object","title":"Compaction item","description":"A compaction item generated by the [`v1/responses/compact` API](https://developers.openai.com/api/reference/resources/responses/methods/compact).","required":["type","id","encrypted_content"],"properties":{"type":{"type":"string","enum":["compaction"],"description":"The type of the item. Always `compaction`.","default":"compaction","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.13.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the compaction item.","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.13.id","typeLabel":"string"},"encrypted_content":{"type":"string","description":"The encrypted content that was produced by compaction.","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.13.encrypted_content","typeLabel":"string"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.13.created_by","typeLabel":"string"}},"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.13","typeLabel":"Compaction item · object"},{"type":"object","title":"Image generation call","description":"An image generation request made by the model.","required":["type","id","status","result"],"properties":{"type":{"type":"string","enum":["image_generation_call"],"description":"The type of the image generation call. Always `image_generation_call`.","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.14.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the image generation call.","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.14.id","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","completed","generating","failed"],"description":"The status of the image generation call.","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.14.status","typeLabel":"enum\u003cstring>"},"result":{"type":"any","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.14.result","typeLabel":"any"},"error":{"properties":{"code":{"type":"any","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.14.error.code","typeLabel":"any"},"type":{"type":"string","description":"The error type.","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.14.error.type","typeLabel":"string"},"message":{"type":"string","description":"A description of the error.","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.14.error.message","typeLabel":"string"},"param":{"type":"any","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.14.error.param","typeLabel":"any"},"moderation_details":{"properties":{"moderation_stage":{"type":"string","enum":["input","output","unknown"],"description":"The stage where moderation blocked the image generation call.","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.14.error.moderation_details.moderation_stage","typeLabel":"enum\u003cstring>"},"categories":{"items":{"type":"string","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.14.error.moderation_details.categories.items.[INDEX]","typeLabel":"string"},"type":"array","description":"Public moderation categories. New category values may be added over time.","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.14.error.moderation_details.categories","typeLabel":"string[]"}},"type":"object","required":["moderation_stage","categories"],"description":"Public details for a `moderation_blocked` error, when available.","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.14.error.moderation_details","typeLabel":"object"}},"type":"object","required":["code","type","message","param"],"description":"Details of a moderation failure, when available.","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.14.error","typeLabel":"object"},"size":{"type":"any","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.14.size","typeLabel":"any"},"quality":{"type":"any","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.14.quality","typeLabel":"any"},"action":{"type":"any","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.14.action","typeLabel":"any"},"background":{"type":"any","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.14.background","typeLabel":"any"},"output_format":{"type":"any","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.14.output_format","typeLabel":"any"},"svg_usage":{"properties":{"model":{"type":"string","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.14.svg_usage.model","typeLabel":"string"},"input_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.14.svg_usage.input_tokens","typeLabel":"integer"},"output_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.14.svg_usage.output_tokens","typeLabel":"integer"},"total_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.14.svg_usage.total_tokens","typeLabel":"integer"},"reasoning_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.14.svg_usage.reasoning_tokens","typeLabel":"integer"}},"type":"object","required":["model","input_tokens","output_tokens","total_tokens","reasoning_tokens"],"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.14.svg_usage","typeLabel":"object"},"revised_prompt":{"type":"any","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.14.revised_prompt","typeLabel":"any"}},"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.14","typeLabel":"Image generation call · object"},{"type":"object","title":"Code interpreter tool call","description":"A tool call to run code.\n","required":["type","id","status","container_id","code","outputs"],"properties":{"type":{"type":"string","enum":["code_interpreter_call"],"default":"code_interpreter_call","description":"The type of the code interpreter tool call. Always `code_interpreter_call`.\n","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.15.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the code interpreter tool call.\n","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.15.id","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","completed","incomplete","interpreting","failed"],"description":"The status of the code interpreter tool call. Valid values are `in_progress`, `completed`, `incomplete`, `interpreting`, and `failed`.\n","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.15.status","typeLabel":"enum\u003cstring>"},"container_id":{"type":"string","description":"The ID of the container used to run the code.\n","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.15.container_id","typeLabel":"string"},"code":{"type":"any","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.15.code","typeLabel":"any"},"outputs":{"type":"any","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.15.outputs","typeLabel":"any"}},"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.15","typeLabel":"Code interpreter tool call · object"},{"type":"object","title":"Local shell call","description":"A tool call to run a command on the local shell.\n","required":["type","id","call_id","action","status"],"properties":{"type":{"type":"string","enum":["local_shell_call"],"description":"The type of the local shell call. Always `local_shell_call`.\n","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.16.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the local shell call.\n","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.16.id","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the local shell tool call generated by the model.\n","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.16.call_id","typeLabel":"string"},"action":{"properties":{"type":{"type":"string","enum":["exec"],"description":"The type of the local shell action. Always `exec`.","default":"exec","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.16.action.type","typeLabel":"enum\u003cstring>"},"command":{"items":{"type":"string","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.16.action.command.items.[INDEX]","typeLabel":"string"},"type":"array","description":"The command to run.","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.16.action.command","typeLabel":"string[]"},"env":{"additionalProperties":{"type":"string","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.16.action.env.additionalProperties","typeLabel":"string"},"type":"object","description":"Environment variables to set for the command.","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.16.action.env","typeLabel":"object"},"timeout_ms":{"type":"any","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.16.action.timeout_ms","typeLabel":"any"},"working_directory":{"type":"any","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.16.action.working_directory","typeLabel":"any"},"user":{"type":"any","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.16.action.user","typeLabel":"any"}},"type":"object","required":["type","command","env"],"title":"Local shell exec action","description":"Execute a shell command on the server.","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.16.action","typeLabel":"Local shell exec action · object"},"status":{"type":"string","enum":["in_progress","completed","incomplete"],"description":"The status of the local shell call.\n","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.16.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.16","typeLabel":"Local shell call · object"},{"type":"object","title":"Local shell call output","description":"The output of a local shell tool call.\n","required":["id","type","call_id","output"],"properties":{"type":{"type":"string","enum":["local_shell_call_output"],"description":"The type of the local shell tool call output. Always `local_shell_call_output`.\n","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.17.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the local shell tool call generated by the model.\n","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.17.id","typeLabel":"string"},"output":{"type":"string","description":"A JSON string of the output of the local shell tool call.\n","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.17.output","typeLabel":"string"},"status":{"type":"any","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.17.status","typeLabel":"any"}},"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.17","typeLabel":"Local shell call output · object"},{"type":"object","title":"Shell tool call","description":"A tool call that executes one or more shell commands in a managed environment.","required":["type","id","call_id","action","status","environment"],"properties":{"type":{"type":"string","enum":["shell_call"],"description":"The type of the item. Always `shell_call`.","default":"shell_call","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.18.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the shell tool call. Populated when this item is returned via API.","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.18.id","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the shell tool call generated by the model.","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.18.call_id","typeLabel":"string"},"action":{"properties":{"commands":{"items":{"type":"string","description":"A list of commands to run.","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.18.action.commands.items.[INDEX]","typeLabel":"string"},"type":"array","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.18.action.commands","typeLabel":"string[]"},"timeout_ms":{"type":"any","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.18.action.timeout_ms","typeLabel":"any"},"max_output_length":{"type":"any","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.18.action.max_output_length","typeLabel":"any"}},"type":"object","required":["commands","timeout_ms","max_output_length"],"title":"Shell exec action","description":"The shell commands and limits that describe how to run the tool call.","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.18.action","typeLabel":"Shell exec action · object"},"status":{"type":"string","enum":["in_progress","completed","incomplete"],"description":"The status of the shell call. One of `in_progress`, `completed`, or `incomplete`.","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.18.status","typeLabel":"enum\u003cstring>"},"environment":{"type":"any","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.18.environment","typeLabel":"any"},"caller":{"type":"any","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.18.caller","typeLabel":"any"},"created_by":{"type":"string","description":"The ID of the entity that created this tool call.","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.18.created_by","typeLabel":"string"}},"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.18","typeLabel":"Shell tool call · object"},{"type":"object","title":"Shell call output","description":"The output of a shell tool call that was emitted.","required":["type","id","call_id","status","output","max_output_length"],"properties":{"type":{"type":"string","enum":["shell_call_output"],"description":"The type of the shell call output. Always `shell_call_output`.","default":"shell_call_output","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.19.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the shell call output. Populated when this item is returned via API.","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.19.id","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the shell tool call generated by the model.","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.19.call_id","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","completed","incomplete"],"description":"The status of the shell call output. One of `in_progress`, `completed`, or `incomplete`.","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.19.status","typeLabel":"enum\u003cstring>"},"output":{"items":{"properties":{"stdout":{"type":"string","description":"The standard output that was captured.","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.19.output.items.[INDEX].stdout","typeLabel":"string"},"stderr":{"type":"string","description":"The standard error output that was captured.","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.19.output.items.[INDEX].stderr","typeLabel":"string"},"outcome":{"type":"any","title":"Shell call outcome","description":"Represents either an exit outcome (with an exit code) or a timeout outcome for a shell call output chunk.","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.19.output.items.[INDEX].outcome","typeLabel":"any"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.19.output.items.[INDEX].created_by","typeLabel":"string"}},"type":"object","required":["stdout","stderr","outcome"],"title":"Shell call output content","description":"The content of a shell tool call output that was emitted.","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.19.output.items.[INDEX]","typeLabel":"Shell call output content · object"},"type":"array","description":"An array of shell call output contents","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.19.output","typeLabel":"Shell call output content · object[]"},"max_output_length":{"type":"any","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.19.max_output_length","typeLabel":"any"},"caller":{"type":"any","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.19.caller","typeLabel":"any"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.19.created_by","typeLabel":"string"}},"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.19","typeLabel":"Shell call output · object"},{"type":"object","title":"Apply patch tool call","description":"A tool call that applies file diffs by creating, deleting, or updating files.","required":["type","id","call_id","status","operation"],"properties":{"type":{"type":"string","enum":["apply_patch_call"],"description":"The type of the item. Always `apply_patch_call`.","default":"apply_patch_call","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.20.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the apply patch tool call. Populated when this item is returned via API.","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.20.id","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the apply patch tool call generated by the model.","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.20.call_id","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","completed"],"description":"The status of the apply patch tool call. One of `in_progress` or `completed`.","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.20.status","typeLabel":"enum\u003cstring>"},"operation":{"type":"any","title":"Apply patch operation","description":"One of the create_file, delete_file, or update_file operations applied via apply_patch.","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.20.operation","typeLabel":"any"},"caller":{"type":"any","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.20.caller","typeLabel":"any"},"created_by":{"type":"string","description":"The ID of the entity that created this tool call.","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.20.created_by","typeLabel":"string"}},"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.20","typeLabel":"Apply patch tool call · object"},{"type":"object","title":"Apply patch tool call output","description":"The output emitted by an apply patch tool call.","required":["type","id","call_id","status"],"properties":{"type":{"type":"string","enum":["apply_patch_call_output"],"description":"The type of the item. Always `apply_patch_call_output`.","default":"apply_patch_call_output","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.21.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the apply patch tool call output. Populated when this item is returned via API.","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.21.id","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the apply patch tool call generated by the model.","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.21.call_id","typeLabel":"string"},"status":{"type":"string","enum":["completed","failed"],"description":"The status of the apply patch tool call output. One of `completed` or `failed`.","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.21.status","typeLabel":"enum\u003cstring>"},"caller":{"type":"any","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.21.caller","typeLabel":"any"},"output":{"type":"any","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.21.output","typeLabel":"any"},"created_by":{"type":"string","description":"The ID of the entity that created this tool call output.","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.21.created_by","typeLabel":"string"}},"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.21","typeLabel":"Apply patch tool call output · object"},{"type":"object","title":"MCP tool call","description":"An invocation of a tool on an MCP server.\n","required":["type","id","server_label","name","arguments"],"properties":{"type":{"type":"string","const":"mcp_call","description":"The type of the item. Always `mcp_call`.\n","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.22.type","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the tool call.\n","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.22.id","typeLabel":"string"},"server_label":{"type":"string","description":"The label of the MCP server running the tool.\n","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.22.server_label","typeLabel":"string"},"name":{"type":"string","description":"The name of the tool that was run.\n","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.22.name","typeLabel":"string"},"arguments":{"type":"string","description":"A JSON string of the arguments passed to the tool.\n","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.22.arguments","typeLabel":"string"},"output":{"type":"any","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.22.output","typeLabel":"any"},"error":{"type":"any","description":"The error from the tool call, if any.","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.22.error","typeLabel":"any"},"status":{"type":"string","enum":["in_progress","completed","incomplete","calling","failed"],"description":"The status of the tool call. One of `in_progress`, `completed`, `incomplete`, `calling`, or `failed`.\n","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.22.status","typeLabel":"enum\u003cstring>"},"approval_request_id":{"type":"any","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.22.approval_request_id","typeLabel":"any"}},"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.22","typeLabel":"MCP tool call · object"},{"type":"object","title":"MCP list tools","description":"A list of tools available on an MCP server.\n","required":["type","id","server_label","tools"],"properties":{"type":{"type":"string","const":"mcp_list_tools","description":"The type of the item. Always `mcp_list_tools`.\n","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.23.type","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the list.\n","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.23.id","typeLabel":"string"},"server_label":{"type":"string","description":"The label of the MCP server.\n","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.23.server_label","typeLabel":"string"},"tools":{"type":"array","items":{"type":"object","title":"MCP list tools tool","description":"A tool available on an MCP server.\n","properties":{"name":{"type":"string","description":"The name of the tool.\n","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.23.tools.items.[INDEX].name","typeLabel":"string"},"input_schema":{"type":"object","description":"The JSON schema describing the tool's input.\n","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.23.tools.items.[INDEX].input_schema","typeLabel":"object"},"description":{"type":"any","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.23.tools.items.[INDEX].description","typeLabel":"any"},"annotations":{"type":"any","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.23.tools.items.[INDEX].annotations","typeLabel":"any"}},"required":["name","input_schema"],"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.23.tools.items.[INDEX]","typeLabel":"MCP list tools tool · object"},"description":"The tools available on the server.\n","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.23.tools","typeLabel":"MCP list tools tool · object[]"},"error":{"type":"any","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.23.error","typeLabel":"any"}},"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.23","typeLabel":"MCP list tools · object"},{"type":"object","title":"MCP approval request","description":"A request for human approval of a tool invocation.\n","required":["type","id","server_label","name","arguments"],"properties":{"type":{"type":"string","const":"mcp_approval_request","description":"The type of the item. Always `mcp_approval_request`.\n","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.24.type","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the approval request.\n","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.24.id","typeLabel":"string"},"server_label":{"type":"string","description":"The label of the MCP server making the request.\n","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.24.server_label","typeLabel":"string"},"name":{"type":"string","description":"The name of the tool to run.\n","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.24.name","typeLabel":"string"},"arguments":{"type":"string","description":"A JSON string of arguments for the tool.\n","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.24.arguments","typeLabel":"string"}},"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.24","typeLabel":"MCP approval request · object"},{"type":"object","title":"MCP approval response","description":"A response to an MCP approval request.\n","required":["type","id","request_id","approve","approval_request_id"],"properties":{"type":{"type":"string","const":"mcp_approval_response","description":"The type of the item. Always `mcp_approval_response`.\n","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.25.type","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the approval response\n","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.25.id","typeLabel":"string"},"approval_request_id":{"type":"string","description":"The ID of the approval request being answered.\n","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.25.approval_request_id","typeLabel":"string"},"approve":{"type":"boolean","description":"Whether the request was approved.\n","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.25.approve","typeLabel":"boolean"},"reason":{"type":"any","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.25.reason","typeLabel":"any"}},"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.25","typeLabel":"MCP approval response · object"},{"type":"object","title":"Custom tool call","description":"A call to a custom tool created by the model.\n","required":["type","call_id","name","input"],"properties":{"type":{"type":"string","enum":["custom_tool_call"],"description":"The type of the custom tool call. Always `custom_tool_call`.\n","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.26.type","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","description":"An identifier used to map this custom tool call to a tool call output.\n","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.26.call_id","typeLabel":"string"},"name":{"type":"string","description":"The name of the custom tool being called.\n","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.26.name","typeLabel":"string"},"input":{"type":"string","description":"The input for the custom tool call generated by the model.\n","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.26.input","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the custom tool call in the OpenAI platform.\n","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.26.id","typeLabel":"string"},"caller":{"type":"any","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.26.caller","typeLabel":"any"},"namespace":{"type":"string","description":"The namespace of the custom tool being called.\n","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.26.namespace","typeLabel":"string"},"async":{"type":"boolean","description":"Whether the custom tool call runs asynchronously.\n","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.26.async","typeLabel":"boolean"}},"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.26","typeLabel":"Custom tool call · object"},{"type":"object","title":"ResponseCustomToolCallOutputItem","description":"The output of a custom tool call from your code, being sent back to the model.\n","required":["id","status","type","call_id","output"],"properties":{"type":{"type":"string","enum":["custom_tool_call_output"],"description":"The type of the custom tool call output. Always `custom_tool_call_output`.\n","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.27.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the custom tool call output item.\n","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.27.id","typeLabel":"string"},"call_id":{"type":"string","description":"The call ID, used to map this custom tool call output to a custom tool call.\n","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.27.call_id","typeLabel":"string"},"output":{"type":"any","description":"The output from the custom tool call generated by your code.\nCan be a string or an list of output content.\n","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.27.output","typeLabel":"any"},"status":{"type":"string","enum":["in_progress","completed","incomplete"],"description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","isRequired":true,"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.27.status","typeLabel":"enum\u003cstring>"},"caller":{"type":"any","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.27.caller","typeLabel":"any"},"created_by":{"type":"string","description":"The identifier of the actor that created the item.\n","uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.27.created_by","typeLabel":"string"}},"uniqueKey":"oneOf.56.response.output.items.[INDEX].oneOf.27","typeLabel":"ResponseCustomToolCallOutputItem · object"}],"uniqueKey":"oneOf.56.response.output.items.[INDEX]","typeLabel":"Output message · object · File search tool call · object · Function tool call · object · Function tool call output · object · Web search tool call · object · Computer tool call · object · Computer tool call output · object · Reasoning · object · object · object · object · object · object · Compaction item · object · Image generation call · object · Code interpreter tool call · object · Local shell call · object · Local shell call output · object · Shell tool call · object · Shell call output · object · Apply patch tool call · object · Apply patch tool call output · object · MCP tool call · object · MCP list tools · object · MCP approval request · object · MCP approval response · object · Custom tool call · object · ResponseCustomToolCallOutputItem · object"},"isRequired":true,"uniqueKey":"oneOf.56.response.output","typeLabel":"Output message · object · File search tool call · object · Function tool call · object · Function tool call output · object · Web search tool call · object · Computer tool call · object · Computer tool call output · object · Reasoning · object · object · object · object · object · object · Compaction item · object · Image generation call · object · Code interpreter tool call · object · Local shell call · object · Local shell call output · object · Shell tool call · object · Shell call output · object · Apply patch tool call · object · Apply patch tool call output · object · MCP tool call · object · MCP list tools · object · MCP approval request · object · MCP approval response · object · Custom tool call · object · ResponseCustomToolCallOutputItem · object[]"},"instructions":{"oneOf":[{"type":"string","description":"A system (or developer) message inserted into the model's context.\n\nWhen using along with `previous_response_id`, the instructions from a previous\nresponse will not be carried over to the next response. This makes it simple\nto swap out system (or developer) messages in new responses.\n","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.0","typeLabel":"string"},{"type":"array","items":{"oneOf":[{"type":"object","title":"Input message","description":"A message input to the model with a role indicating instruction following\nhierarchy. Instructions given with the `developer` or `system` role take\nprecedence over instructions given with the `user` role. Messages with the\n`assistant` role are presumed to have been generated by the model in previous\ninteractions.\n","required":["role","content"],"properties":{"role":{"type":"string","description":"The role of the message input. One of `user`, `assistant`, `system`, or\n`developer`.\n","enum":["user","assistant","system","developer"],"isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.0.role","typeLabel":"enum\u003cstring>"},"content":{"type":"any","description":"Text, image, or audio input to the model, used to generate a response.\nCan also contain previous assistant responses.\n","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.0.content","typeLabel":"any"},"phase":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.0.phase","typeLabel":"any"},"type":{"type":"string","description":"The type of the message input. Always `message`.\n","enum":["message"],"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.0.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.0","typeLabel":"Input message · object"},{"type":"object","title":"Input message","description":"A message input to the model with a role indicating instruction following\nhierarchy. Instructions given with the `developer` or `system` role take\nprecedence over instructions given with the `user` role.\n","required":["role","content"],"properties":{"role":{"type":"string","description":"The role of the message input. One of `user`, `system`, or `developer`.\n","enum":["user","system","developer"],"isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.1.role","typeLabel":"enum\u003cstring>"},"content":{"type":"array","title":"Input item content list","description":"A list of one or many input items to the model, containing different content \ntypes.\n","items":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.1.content.items.[INDEX]","typeLabel":"any"},"isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.1.content","typeLabel":"any[]"},"type":{"type":"string","description":"The type of the message input. Always set to `message`.\n","const":"message","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.1.type","typeLabel":"string"},"status":{"type":"string","description":"The status of item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.1.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.1","typeLabel":"Input message · object"},{"type":"object","title":"Output message","description":"An output message from the model.\n","required":["id","type","role","content","status"],"properties":{"id":{"type":"string","description":"The unique ID of the output message.\n","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.2.id","typeLabel":"string"},"type":{"type":"string","description":"The type of the output message. Always `message`.\n","const":"message","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.2.type","typeLabel":"string"},"role":{"type":"string","description":"The role of the output message. Always `assistant`.\n","const":"assistant","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.2.role","typeLabel":"string"},"content":{"type":"array","description":"The content of the output message.\n","items":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.2.content.items.[INDEX]","typeLabel":"any"},"isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.2.content","typeLabel":"any[]"},"status":{"type":"string","description":"The status of the message input. One of `in_progress`, `completed`, or\n`incomplete`. Populated when input items are returned via API.\n","enum":["in_progress","completed","incomplete"],"isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.2.status","typeLabel":"enum\u003cstring>"},"phase":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.2.phase","typeLabel":"any"}},"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.2","typeLabel":"Output message · object"},{"type":"object","title":"File search tool call","description":"The results of a file search tool call. See the\n[file search guide](https://developers.openai.com/api/docs/guides/tools-file-search) for more information.\n","required":["id","type","status","queries"],"properties":{"id":{"type":"string","description":"The unique ID of the file search tool call.\n","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.3.id","typeLabel":"string"},"type":{"type":"string","enum":["file_search_call"],"description":"The type of the file search tool call. Always `file_search_call`.\n","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.3.type","typeLabel":"enum\u003cstring>"},"status":{"type":"string","description":"The status of the file search tool call. One of `in_progress`,\n`searching`, `incomplete` or `failed`,\n","enum":["in_progress","searching","completed","incomplete","failed"],"isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.3.status","typeLabel":"enum\u003cstring>"},"queries":{"type":"array","items":{"type":"string","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.3.queries.items.[INDEX]","typeLabel":"string"},"description":"The queries used to search for files.\n","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.3.queries","typeLabel":"string[]"},"results":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.3.results","typeLabel":"any"}},"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.3","typeLabel":"File search tool call · object"},{"type":"object","title":"Computer tool call","description":"A tool call to a computer use tool. See the\n[computer use guide](https://developers.openai.com/api/docs/guides/tools-computer-use) for more information.\n","required":["type","id","call_id","pending_safety_checks","status"],"properties":{"type":{"type":"string","description":"The type of the computer call. Always `computer_call`.","enum":["computer_call"],"default":"computer_call","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.4.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the computer call.","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.4.id","typeLabel":"string"},"call_id":{"type":"string","description":"An identifier used when responding to the tool call with output.\n","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.4.call_id","typeLabel":"string"},"pending_safety_checks":{"type":"array","items":{"properties":{"id":{"type":"string","description":"The ID of the pending safety check.","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.4.pending_safety_checks.items.[INDEX].id","typeLabel":"string"},"code":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.4.pending_safety_checks.items.[INDEX].code","typeLabel":"any"},"message":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.4.pending_safety_checks.items.[INDEX].message","typeLabel":"any"}},"type":"object","required":["id"],"description":"A pending safety check for the computer call.","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.4.pending_safety_checks.items.[INDEX]","typeLabel":"object"},"description":"The pending safety checks for the computer call.\n","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.4.pending_safety_checks","typeLabel":"object[]"},"status":{"type":"string","description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.4.status","typeLabel":"enum\u003cstring>"},"action":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.4.action","typeLabel":"any"},"actions":{"title":"Computer Action List","type":"array","description":"Flattened batched actions for `computer_use`. Each action includes an\n`type` discriminator and action-specific fields.\n","items":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.4.actions.items.[INDEX]","typeLabel":"any"},"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.4.actions","typeLabel":"any[]"}},"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.4","typeLabel":"Computer tool call · object"},{"type":"object","title":"Computer tool call output","description":"The output of a computer tool call.","required":["call_id","type","output"],"properties":{"call_id":{"type":"string","maxLength":64,"minLength":1,"description":"The ID of the computer tool call that produced the output.","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.5.call_id","typeLabel":"string"},"type":{"type":"string","enum":["computer_call_output"],"description":"The type of the computer tool call output. Always `computer_call_output`.","default":"computer_call_output","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.5.type","typeLabel":"enum\u003cstring>"},"output":{"type":"object","description":"A computer screenshot image used with the computer use tool.\n","properties":{"type":{"type":"string","const":"computer_screenshot","default":"computer_screenshot","description":"Specifies the event type. For a computer screenshot, this property is \nalways set to `computer_screenshot`.\n","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.5.output.type","typeLabel":"string"},"image_url":{"type":"string","format":"uri","description":"The URL of the screenshot image.","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.5.output.image_url","typeLabel":"string\u003curi>"},"file_id":{"type":"string","description":"The identifier of an uploaded file that contains the screenshot.","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.5.output.file_id","typeLabel":"string"}},"required":["type"],"isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.5.output","typeLabel":"object"},"id":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.5.id","typeLabel":"any"},"acknowledged_safety_checks":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.5.acknowledged_safety_checks","typeLabel":"any"},"status":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.5.status","typeLabel":"any"}},"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.5","typeLabel":"Computer tool call output · object"},{"type":"object","title":"Web search tool call","description":"The results of a web search tool call. See the\n[web search guide](https://developers.openai.com/api/docs/guides/tools-web-search) for more information.\n","required":["id","type","status"],"properties":{"id":{"type":"string","description":"The unique ID of the web search tool call.\n","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.6.id","typeLabel":"string"},"type":{"type":"string","const":"web_search_call","description":"The type of the web search tool call. Always `web_search_call`.\n","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.6.type","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","searching","completed","failed","incomplete"],"description":"The status of the web search tool call.\n","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.6.status","typeLabel":"enum\u003cstring>"},"action":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.6.action","typeLabel":"any"}},"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.6","typeLabel":"Web search tool call · object"},{"type":"object","title":"Function tool call","description":"A tool call to run a function. See the\n[function calling guide](https://developers.openai.com/api/docs/guides/function-calling) for more information.\n","required":["type","call_id","name","arguments"],"properties":{"type":{"type":"string","const":"function_call","description":"The type of the function tool call. Always `function_call`.\n","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.7.type","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the function tool call generated by the model.\n","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.7.call_id","typeLabel":"string"},"name":{"type":"string","description":"The name of the function to run.\n","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.7.name","typeLabel":"string"},"arguments":{"type":"string","description":"A JSON string of the arguments to pass to the function.\n","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.7.arguments","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the function tool call.\n","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.7.id","typeLabel":"string"},"caller":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.7.caller","typeLabel":"any"},"namespace":{"type":"string","description":"The namespace of the function to run.\n","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.7.namespace","typeLabel":"string"},"status":{"type":"string","description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.7.status","typeLabel":"enum\u003cstring>"},"async":{"type":"boolean","description":"Whether the function tool call runs asynchronously.\n","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.7.async","typeLabel":"boolean"}},"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.7","typeLabel":"Function tool call · object"},{"type":"object","title":"Function tool call output","description":"The output of a function tool call.","required":["type","output"],"properties":{"type":{"type":"string","enum":["function_call_output"],"description":"The type of the function tool call output. Always `function_call_output`.","default":"function_call_output","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.8.type","typeLabel":"enum\u003cstring>"},"output":{"type":"any","description":"Text, image, or file output of the function tool call.","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.8.output","typeLabel":"any"},"id":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.8.id","typeLabel":"any"},"call_id":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.8.call_id","typeLabel":"any"},"name":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.8.name","typeLabel":"any"},"namespace":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.8.namespace","typeLabel":"any"},"caller":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.8.caller","typeLabel":"any"},"status":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.8.status","typeLabel":"any"}},"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.8","typeLabel":"Function tool call output · object"},{"type":"object","title":"Item","description":"An item representing part of the context for the response to be\ngenerated by the model. Can contain text, images, and audio inputs,\nas well as previous assistant responses and tool call outputs.\n","required":["type","arguments"],"properties":{"type":{"type":"string","enum":["tool_search_call"],"description":"The item type. Always `tool_search_call`.","default":"tool_search_call","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.9.type","typeLabel":"enum\u003cstring>"},"arguments":{"properties":{},"type":"object","required":[],"description":"The arguments supplied to the tool search call.","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.9.arguments","typeLabel":"object"},"id":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.9.id","typeLabel":"any"},"call_id":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.9.call_id","typeLabel":"any"},"execution":{"type":"string","enum":["server","client"],"description":"Whether tool search was executed by the server or by the client.","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.9.execution","typeLabel":"enum\u003cstring>"},"status":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.9.status","typeLabel":"any"}},"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.9","typeLabel":"Item · object"},{"type":"object","title":"Item","description":"An item representing part of the context for the response to be\ngenerated by the model. Can contain text, images, and audio inputs,\nas well as previous assistant responses and tool call outputs.\n","required":["type","tools"],"properties":{"type":{"type":"string","enum":["tool_search_output"],"description":"The item type. Always `tool_search_output`.","default":"tool_search_output","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.10.type","typeLabel":"enum\u003cstring>"},"tools":{"items":{"type":"any","description":"A tool definition returned by a tool search output.\n","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.10.tools.items.[INDEX]","typeLabel":"any"},"type":"array","description":"The loaded tool definitions returned by the tool search output.","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.10.tools","typeLabel":"any[]"},"id":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.10.id","typeLabel":"any"},"call_id":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.10.call_id","typeLabel":"any"},"execution":{"type":"string","enum":["server","client"],"description":"Whether tool search was executed by the server or by the client.","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.10.execution","typeLabel":"enum\u003cstring>"},"status":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.10.status","typeLabel":"any"}},"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.10","typeLabel":"Item · object"},{"type":"object","title":"Item","description":"An item representing part of the context for the response to be\ngenerated by the model. Can contain text, images, and audio inputs,\nas well as previous assistant responses and tool call outputs.\n","required":["type","role","tools"],"properties":{"type":{"type":"string","enum":["additional_tools"],"description":"The item type. Always `additional_tools`.","default":"additional_tools","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.11.type","typeLabel":"enum\u003cstring>"},"role":{"type":"string","enum":["developer"],"description":"The role that provided the additional tools. Only `developer` is supported.","default":"developer","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.11.role","typeLabel":"enum\u003cstring>"},"tools":{"items":{"type":"any","description":"A tool that can be used to generate a response.\n","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.11.tools.items.[INDEX]","typeLabel":"any"},"type":"array","description":"A list of additional tools made available at this item.","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.11.tools","typeLabel":"any[]"},"id":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.11.id","typeLabel":"any"}},"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.11","typeLabel":"Item · object"},{"type":"object","title":"Item","description":"An update to the conversation's response configuration. Supply reasoning,\ntext, or both. Each setting stays in effect until a later update replaces it.\n","required":["type"],"properties":{"type":{"type":"string","const":"configuration_update","description":"The item type. Always `configuration_update`.","default":"configuration_update","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.12.type","typeLabel":"string"},"id":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.12.id","typeLabel":"any"},"reasoning":{"type":"object","description":"Updates to reasoning configuration. Only effort is supported.","properties":{"effort":{"type":"any","description":"The reasoning effort to use for subsequent responses until another\nconfiguration update replaces it.\n","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.12.reasoning.effort","typeLabel":"any"}},"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.12.reasoning","typeLabel":"object"},"text":{"type":"object","description":"The text output configuration for subsequent responses.","properties":{"format":{"type":"any","description":"Use a JSON schema for structured output or text to return to plain text.","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.12.text.format","typeLabel":"any"}},"required":["format"],"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.12.text","typeLabel":"object"}},"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.12","typeLabel":"Item · object"},{"type":"object","title":"Reasoning","description":"A description of the chain of thought used by a reasoning model while generating\na response. Be sure to include these items in your `input` to the Responses API\nfor subsequent turns of a conversation if you are manually\n[managing context](https://developers.openai.com/api/docs/guides/conversation-state).\n","required":["id","summary","type"],"properties":{"type":{"type":"string","description":"The type of the object. Always `reasoning`.\n","enum":["reasoning"],"isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.13.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique identifier of the reasoning content.\n","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.13.id","typeLabel":"string"},"summary":{"type":"array","description":"Reasoning summary content.\n","items":{"properties":{"type":{"type":"string","enum":["summary_text"],"description":"The type of the object. Always `summary_text`.","default":"summary_text","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.13.summary.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"A summary of the reasoning output from the model so far.","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.13.summary.items.[INDEX].text","typeLabel":"string"}},"type":"object","required":["type","text"],"title":"Summary text","description":"A summary text from the model.","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.13.summary.items.[INDEX]","typeLabel":"Summary text · object"},"isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.13.summary","typeLabel":"Summary text · object[]"},"encrypted_content":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.13.encrypted_content","typeLabel":"any"},"content":{"type":"array","description":"Reasoning text content.\n","items":{"properties":{"type":{"type":"string","enum":["reasoning_text"],"description":"The type of the reasoning text. Always `reasoning_text`.","default":"reasoning_text","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.13.content.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"The reasoning text from the model.","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.13.content.items.[INDEX].text","typeLabel":"string"}},"type":"object","required":["type","text"],"title":"Reasoning text","description":"Reasoning text from the model.","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.13.content.items.[INDEX]","typeLabel":"Reasoning text · object"},"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.13.content","typeLabel":"Reasoning text · object[]"},"status":{"type":"string","description":"The status of the item. One of `in_progress`, `completed`, or\n`incomplete`. Populated when items are returned via API.\n","enum":["in_progress","completed","incomplete"],"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.13.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.13","typeLabel":"Reasoning · object"},{"type":"object","title":"Compaction item","description":"A compaction item generated by the [`v1/responses/compact` API](https://developers.openai.com/api/reference/resources/responses/methods/compact).","required":["type","encrypted_content"],"properties":{"type":{"type":"string","enum":["compaction"],"description":"The type of the item. Always `compaction`.","default":"compaction","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.14.type","typeLabel":"enum\u003cstring>"},"encrypted_content":{"type":"string","maxLength":104857600,"description":"The encrypted content of the compaction summary.","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.14.encrypted_content","typeLabel":"string"},"id":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.14.id","typeLabel":"any"}},"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.14","typeLabel":"Compaction item · object"},{"type":"object","title":"Image generation call","description":"An image generation request made by the model.","required":["type","id","status","result"],"properties":{"type":{"type":"string","enum":["image_generation_call"],"description":"The type of the image generation call. Always `image_generation_call`.","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.15.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the image generation call.","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.15.id","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","completed","generating","failed"],"description":"The status of the image generation call.","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.15.status","typeLabel":"enum\u003cstring>"},"result":{"type":"any","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.15.result","typeLabel":"any"},"error":{"properties":{"code":{"type":"any","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.15.error.code","typeLabel":"any"},"type":{"type":"string","description":"The error type.","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.15.error.type","typeLabel":"string"},"message":{"type":"string","description":"A description of the error.","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.15.error.message","typeLabel":"string"},"param":{"type":"any","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.15.error.param","typeLabel":"any"},"moderation_details":{"properties":{"moderation_stage":{"type":"string","enum":["input","output","unknown"],"description":"The stage where moderation blocked the image generation call.","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.15.error.moderation_details.moderation_stage","typeLabel":"enum\u003cstring>"},"categories":{"items":{"type":"string","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.15.error.moderation_details.categories.items.[INDEX]","typeLabel":"string"},"type":"array","description":"Public moderation categories. New category values may be added over time.","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.15.error.moderation_details.categories","typeLabel":"string[]"}},"type":"object","required":["moderation_stage","categories"],"description":"Public details for a `moderation_blocked` error, when available.","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.15.error.moderation_details","typeLabel":"object"}},"type":"object","required":["code","type","message","param"],"description":"Details of a moderation failure, when available.","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.15.error","typeLabel":"object"},"size":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.15.size","typeLabel":"any"},"quality":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.15.quality","typeLabel":"any"},"action":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.15.action","typeLabel":"any"},"background":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.15.background","typeLabel":"any"},"output_format":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.15.output_format","typeLabel":"any"},"svg_usage":{"properties":{"model":{"type":"string","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.15.svg_usage.model","typeLabel":"string"},"input_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.15.svg_usage.input_tokens","typeLabel":"integer"},"output_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.15.svg_usage.output_tokens","typeLabel":"integer"},"total_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.15.svg_usage.total_tokens","typeLabel":"integer"},"reasoning_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.15.svg_usage.reasoning_tokens","typeLabel":"integer"}},"type":"object","required":["model","input_tokens","output_tokens","total_tokens","reasoning_tokens"],"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.15.svg_usage","typeLabel":"object"},"revised_prompt":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.15.revised_prompt","typeLabel":"any"}},"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.15","typeLabel":"Image generation call · object"},{"type":"object","title":"Code interpreter tool call","description":"A tool call to run code.\n","required":["type","id","status","container_id","code","outputs"],"properties":{"type":{"type":"string","enum":["code_interpreter_call"],"default":"code_interpreter_call","description":"The type of the code interpreter tool call. Always `code_interpreter_call`.\n","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.16.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the code interpreter tool call.\n","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.16.id","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","completed","incomplete","interpreting","failed"],"description":"The status of the code interpreter tool call. Valid values are `in_progress`, `completed`, `incomplete`, `interpreting`, and `failed`.\n","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.16.status","typeLabel":"enum\u003cstring>"},"container_id":{"type":"string","description":"The ID of the container used to run the code.\n","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.16.container_id","typeLabel":"string"},"code":{"type":"any","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.16.code","typeLabel":"any"},"outputs":{"type":"any","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.16.outputs","typeLabel":"any"}},"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.16","typeLabel":"Code interpreter tool call · object"},{"type":"object","title":"Local shell call","description":"A tool call to run a command on the local shell.\n","required":["type","id","call_id","action","status"],"properties":{"type":{"type":"string","enum":["local_shell_call"],"description":"The type of the local shell call. Always `local_shell_call`.\n","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.17.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the local shell call.\n","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.17.id","typeLabel":"string"},"call_id":{"type":"string","description":"The unique ID of the local shell tool call generated by the model.\n","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.17.call_id","typeLabel":"string"},"action":{"properties":{"type":{"type":"string","enum":["exec"],"description":"The type of the local shell action. Always `exec`.","default":"exec","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.17.action.type","typeLabel":"enum\u003cstring>"},"command":{"items":{"type":"string","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.17.action.command.items.[INDEX]","typeLabel":"string"},"type":"array","description":"The command to run.","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.17.action.command","typeLabel":"string[]"},"env":{"additionalProperties":{"type":"string","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.17.action.env.additionalProperties","typeLabel":"string"},"type":"object","description":"Environment variables to set for the command.","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.17.action.env","typeLabel":"object"},"timeout_ms":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.17.action.timeout_ms","typeLabel":"any"},"working_directory":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.17.action.working_directory","typeLabel":"any"},"user":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.17.action.user","typeLabel":"any"}},"type":"object","required":["type","command","env"],"title":"Local shell exec action","description":"Execute a shell command on the server.","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.17.action","typeLabel":"Local shell exec action · object"},"status":{"type":"string","enum":["in_progress","completed","incomplete"],"description":"The status of the local shell call.\n","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.17.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.17","typeLabel":"Local shell call · object"},{"type":"object","title":"Local shell call output","description":"The output of a local shell tool call.\n","required":["id","type","call_id","output"],"properties":{"type":{"type":"string","enum":["local_shell_call_output"],"description":"The type of the local shell tool call output. Always `local_shell_call_output`.\n","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.18.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The unique ID of the local shell tool call generated by the model.\n","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.18.id","typeLabel":"string"},"output":{"type":"string","description":"A JSON string of the output of the local shell tool call.\n","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.18.output","typeLabel":"string"},"status":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.18.status","typeLabel":"any"}},"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.18","typeLabel":"Local shell call output · object"},{"type":"object","title":"Shell tool call","description":"A tool representing a request to execute one or more shell commands.","required":["call_id","type","action"],"properties":{"call_id":{"type":"string","maxLength":64,"minLength":1,"description":"The unique ID of the shell tool call generated by the model.","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.19.call_id","typeLabel":"string"},"type":{"type":"string","enum":["shell_call"],"description":"The type of the item. Always `shell_call`.","default":"shell_call","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.19.type","typeLabel":"enum\u003cstring>"},"action":{"properties":{"commands":{"items":{"type":"string","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.19.action.commands.items.[INDEX]","typeLabel":"string"},"type":"array","description":"Ordered shell commands for the execution environment to run.","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.19.action.commands","typeLabel":"string[]"},"timeout_ms":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.19.action.timeout_ms","typeLabel":"any"},"max_output_length":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.19.action.max_output_length","typeLabel":"any"}},"type":"object","required":["commands"],"title":"Shell action","description":"The shell commands and limits that describe how to run the tool call.","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.19.action","typeLabel":"Shell action · object"},"id":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.19.id","typeLabel":"any"},"caller":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.19.caller","typeLabel":"any"},"status":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.19.status","typeLabel":"any"},"environment":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.19.environment","typeLabel":"any"}},"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.19","typeLabel":"Shell tool call · object"},{"type":"object","title":"Shell tool call output","description":"The streamed output items emitted by a shell tool call.","required":["call_id","type","output"],"properties":{"call_id":{"type":"string","maxLength":64,"minLength":1,"description":"The unique ID of the shell tool call generated by the model.","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.20.call_id","typeLabel":"string"},"type":{"type":"string","enum":["shell_call_output"],"description":"The type of the item. Always `shell_call_output`.","default":"shell_call_output","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.20.type","typeLabel":"enum\u003cstring>"},"output":{"items":{"properties":{"stdout":{"type":"string","maxLength":10485760,"description":"Captured stdout output for the shell call.","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.20.output.items.[INDEX].stdout","typeLabel":"string"},"stderr":{"type":"string","maxLength":10485760,"description":"Captured stderr output for the shell call.","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.20.output.items.[INDEX].stderr","typeLabel":"string"},"outcome":{"type":"any","title":"Shell call outcome","description":"The exit or timeout outcome associated with this shell call.","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.20.output.items.[INDEX].outcome","typeLabel":"any"}},"type":"object","required":["stdout","stderr","outcome"],"title":"Shell output content","description":"Captured stdout and stderr for a portion of a shell tool call output.","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.20.output.items.[INDEX]","typeLabel":"Shell output content · object"},"type":"array","description":"Captured chunks of stdout and stderr output, along with their associated outcomes.","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.20.output","typeLabel":"Shell output content · object[]"},"id":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.20.id","typeLabel":"any"},"caller":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.20.caller","typeLabel":"any"},"status":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.20.status","typeLabel":"any"},"max_output_length":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.20.max_output_length","typeLabel":"any"}},"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.20","typeLabel":"Shell tool call output · object"},{"type":"object","title":"Apply patch tool call","description":"A tool call representing a request to create, delete, or update files using diff patches.","required":["type","call_id","status","operation"],"properties":{"type":{"type":"string","enum":["apply_patch_call"],"description":"The type of the item. Always `apply_patch_call`.","default":"apply_patch_call","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.21.type","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","maxLength":64,"minLength":1,"description":"The unique ID of the apply patch tool call generated by the model.","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.21.call_id","typeLabel":"string"},"status":{"type":"string","enum":["in_progress","completed"],"title":"Apply patch call status","description":"The status of the apply patch tool call. One of `in_progress` or `completed`.","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.21.status","typeLabel":"enum\u003cstring>"},"operation":{"type":"any","title":"Apply patch operation","description":"The specific create, delete, or update instruction for the apply_patch tool call.","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.21.operation","typeLabel":"any"},"id":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.21.id","typeLabel":"any"},"caller":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.21.caller","typeLabel":"any"}},"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.21","typeLabel":"Apply patch tool call · object"},{"type":"object","title":"Apply patch tool call output","description":"The streamed output emitted by an apply patch tool call.","required":["type","call_id","status"],"properties":{"type":{"type":"string","enum":["apply_patch_call_output"],"description":"The type of the item. Always `apply_patch_call_output`.","default":"apply_patch_call_output","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.22.type","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","maxLength":64,"minLength":1,"description":"The unique ID of the apply patch tool call generated by the model.","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.22.call_id","typeLabel":"string"},"status":{"type":"string","enum":["completed","failed"],"title":"Apply patch call output status","description":"The status of the apply patch tool call output. One of `completed` or `failed`.","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.22.status","typeLabel":"enum\u003cstring>"},"id":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.22.id","typeLabel":"any"},"caller":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.22.caller","typeLabel":"any"},"output":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.22.output","typeLabel":"any"}},"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.22","typeLabel":"Apply patch tool call output · object"},{"type":"object","title":"MCP list tools","description":"A list of tools available on an MCP server.\n","required":["type","id","server_label","tools"],"properties":{"type":{"type":"string","const":"mcp_list_tools","description":"The type of the item. Always `mcp_list_tools`.\n","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.23.type","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the list.\n","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.23.id","typeLabel":"string"},"server_label":{"type":"string","description":"The label of the MCP server.\n","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.23.server_label","typeLabel":"string"},"tools":{"type":"array","items":{"type":"object","title":"MCP list tools tool","description":"A tool available on an MCP server.\n","properties":{"name":{"type":"string","description":"The name of the tool.\n","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.23.tools.items.[INDEX].name","typeLabel":"string"},"input_schema":{"type":"object","description":"The JSON schema describing the tool's input.\n","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.23.tools.items.[INDEX].input_schema","typeLabel":"object"},"description":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.23.tools.items.[INDEX].description","typeLabel":"any"},"annotations":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.23.tools.items.[INDEX].annotations","typeLabel":"any"}},"required":["name","input_schema"],"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.23.tools.items.[INDEX]","typeLabel":"MCP list tools tool · object"},"description":"The tools available on the server.\n","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.23.tools","typeLabel":"MCP list tools tool · object[]"},"error":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.23.error","typeLabel":"any"}},"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.23","typeLabel":"MCP list tools · object"},{"type":"object","title":"MCP approval request","description":"A request for human approval of a tool invocation.\n","required":["type","id","server_label","name","arguments"],"properties":{"type":{"type":"string","const":"mcp_approval_request","description":"The type of the item. Always `mcp_approval_request`.\n","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.24.type","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the approval request.\n","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.24.id","typeLabel":"string"},"server_label":{"type":"string","description":"The label of the MCP server making the request.\n","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.24.server_label","typeLabel":"string"},"name":{"type":"string","description":"The name of the tool to run.\n","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.24.name","typeLabel":"string"},"arguments":{"type":"string","description":"A JSON string of arguments for the tool.\n","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.24.arguments","typeLabel":"string"}},"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.24","typeLabel":"MCP approval request · object"},{"type":"object","title":"MCP approval response","description":"A response to an MCP approval request.\n","required":["type","request_id","approve","approval_request_id"],"properties":{"type":{"type":"string","const":"mcp_approval_response","description":"The type of the item. Always `mcp_approval_response`.\n","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.25.type","typeLabel":"string"},"approval_request_id":{"type":"string","description":"The ID of the approval request being answered.\n","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.25.approval_request_id","typeLabel":"string"},"approve":{"type":"boolean","description":"Whether the request was approved.\n","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.25.approve","typeLabel":"boolean"},"id":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.25.id","typeLabel":"any"},"reason":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.25.reason","typeLabel":"any"}},"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.25","typeLabel":"MCP approval response · object"},{"type":"object","title":"MCP tool call","description":"An invocation of a tool on an MCP server.\n","required":["type","id","server_label","name","arguments"],"properties":{"type":{"type":"string","const":"mcp_call","description":"The type of the item. Always `mcp_call`.\n","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.26.type","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the tool call.\n","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.26.id","typeLabel":"string"},"server_label":{"type":"string","description":"The label of the MCP server running the tool.\n","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.26.server_label","typeLabel":"string"},"name":{"type":"string","description":"The name of the tool that was run.\n","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.26.name","typeLabel":"string"},"arguments":{"type":"string","description":"A JSON string of the arguments passed to the tool.\n","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.26.arguments","typeLabel":"string"},"output":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.26.output","typeLabel":"any"},"error":{"type":"any","description":"The error from the tool call, if any.","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.26.error","typeLabel":"any"},"status":{"type":"string","enum":["in_progress","completed","incomplete","calling","failed"],"description":"The status of the tool call. One of `in_progress`, `completed`, `incomplete`, `calling`, or `failed`.\n","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.26.status","typeLabel":"enum\u003cstring>"},"approval_request_id":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.26.approval_request_id","typeLabel":"any"}},"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.26","typeLabel":"MCP tool call · object"},{"type":"object","title":"Custom tool call output","description":"The output of a custom tool call from your code, being sent back to the model.\n","required":["type","call_id","output"],"properties":{"type":{"type":"string","enum":["custom_tool_call_output"],"description":"The type of the custom tool call output. Always `custom_tool_call_output`.\n","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.27.type","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","description":"The call ID, used to map this custom tool call output to a custom tool call.\n","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.27.call_id","typeLabel":"string"},"output":{"type":"any","description":"The output from the custom tool call generated by your code.\nCan be a string or an list of output content.\n","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.27.output","typeLabel":"any"},"id":{"type":"string","description":"The unique ID of the custom tool call output in the OpenAI platform.\n","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.27.id","typeLabel":"string"},"caller":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.27.caller","typeLabel":"any"}},"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.27","typeLabel":"Custom tool call output · object"},{"type":"object","title":"Custom tool call","description":"A call to a custom tool created by the model.\n","required":["type","call_id","name","input"],"properties":{"type":{"type":"string","enum":["custom_tool_call"],"description":"The type of the custom tool call. Always `custom_tool_call`.\n","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.28.type","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","description":"An identifier used to map this custom tool call to a tool call output.\n","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.28.call_id","typeLabel":"string"},"name":{"type":"string","description":"The name of the custom tool being called.\n","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.28.name","typeLabel":"string"},"input":{"type":"string","description":"The input for the custom tool call generated by the model.\n","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.28.input","typeLabel":"string"},"id":{"type":"string","description":"The unique ID of the custom tool call in the OpenAI platform.\n","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.28.id","typeLabel":"string"},"caller":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.28.caller","typeLabel":"any"},"namespace":{"type":"string","description":"The namespace of the custom tool being called.\n","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.28.namespace","typeLabel":"string"},"async":{"type":"boolean","description":"Whether the custom tool call runs asynchronously.\n","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.28.async","typeLabel":"boolean"}},"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.28","typeLabel":"Custom tool call · object"},{"type":"object","title":"Compaction trigger","description":"Compacts the current context. Must be the final input item.","required":["type"],"properties":{"type":{"type":"string","enum":["compaction_trigger"],"description":"The type of the item. Always `compaction_trigger`.","default":"compaction_trigger","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.29.type","typeLabel":"enum\u003cstring>"},"id":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.29.id","typeLabel":"any"}},"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.29","typeLabel":"Compaction trigger · object"},{"type":"object","title":"Item reference","description":"An internal identifier for an item to reference.","required":["id"],"properties":{"id":{"type":"string","description":"The ID of the item to reference.","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.30.id","typeLabel":"string"},"type":{"type":"any","uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.30.type","typeLabel":"any"}},"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.30","typeLabel":"Item reference · object"},{"type":"object","required":["id","type","call_id","code","fingerprint"],"properties":{"id":{"type":"string","description":"The unique ID of this program item.","example":"cm_123","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.31.id","typeLabel":"string"},"type":{"type":"string","enum":["program"],"description":"The item type. Always `program`.","default":"program","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.31.type","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","maxLength":64,"minLength":1,"description":"The stable call ID of the program item.","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.31.call_id","typeLabel":"string"},"code":{"type":"string","maxLength":10485760,"description":"The JavaScript source executed by programmatic tool calling.","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.31.code","typeLabel":"string"},"fingerprint":{"type":"string","maxLength":10485760,"description":"Opaque program replay fingerprint that must be round-tripped.","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.31.fingerprint","typeLabel":"string"}},"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.31","typeLabel":"object"},{"type":"object","required":["id","type","call_id","result","status"],"properties":{"id":{"type":"string","description":"The unique ID of this program output item.","example":"cmo_123","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.32.id","typeLabel":"string"},"type":{"type":"string","enum":["program_output"],"description":"The item type. Always `program_output`.","default":"program_output","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.32.type","typeLabel":"enum\u003cstring>"},"call_id":{"type":"string","maxLength":64,"minLength":1,"description":"The call ID of the program item.","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.32.call_id","typeLabel":"string"},"result":{"type":"string","maxLength":10485760,"description":"The result produced by the program item.","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.32.result","typeLabel":"string"},"status":{"type":"string","enum":["completed","incomplete"],"description":"The terminal status of the program output.","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.32.status","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX].oneOf.32","typeLabel":"object"}],"uniqueKey":"oneOf.56.response.instructions.oneOf.1.items.[INDEX]","typeLabel":"Input message · object · Input message · object · Output message · object · File search tool call · object · Computer tool call · object · Computer tool call output · object · Web search tool call · object · Function tool call · object · Function tool call output · object · Item · object · Item · object · Item · object · Item · object · Reasoning · object · Compaction item · object · Image generation call · object · Code interpreter tool call · object · Local shell call · object · Local shell call output · object · Shell tool call · object · Shell tool call output · object · Apply patch tool call · object · Apply patch tool call output · object · MCP list tools · object · MCP approval request · object · MCP approval response · object · MCP tool call · object · Custom tool call output · object · Custom tool call · object · Compaction trigger · object · Item reference · object · object · object"},"title":"Input item list","description":"A system (or developer) message inserted into the model's context.\n\nWhen using along with `previous_response_id`, the instructions from a previous\nresponse will not be carried over to the next response. This makes it simple\nto swap out system (or developer) messages in new responses.\n","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.1","typeLabel":"Input message · object · Input message · object · Output message · object · File search tool call · object · Computer tool call · object · Computer tool call output · object · Web search tool call · object · Function tool call · object · Function tool call output · object · Item · object · Item · object · Item · object · Item · object · Reasoning · object · Compaction item · object · Image generation call · object · Code interpreter tool call · object · Local shell call · object · Local shell call output · object · Shell tool call · object · Shell tool call output · object · Apply patch tool call · object · Apply patch tool call output · object · MCP list tools · object · MCP approval request · object · MCP approval response · object · MCP tool call · object · Custom tool call output · object · Custom tool call · object · Compaction trigger · object · Item reference · object · object · object[]"},{"type":"null","isRequired":true,"uniqueKey":"oneOf.56.response.instructions.oneOf.2","typeLabel":"null"}],"isRequired":true,"uniqueKey":"oneOf.56.response.instructions","typeLabel":"string | Input message · object · Input message · object · Output message · object · File search tool call · object · Computer tool call · object · Computer tool call output · object · Web search tool call · object · Function tool call · object · Function tool call output · object · Item · object · Item · object · Item · object · Item · object · Reasoning · object · Compaction item · object · Image generation call · object · Code interpreter tool call · object · Local shell call · object · Local shell call output · object · Shell tool call · object · Shell tool call output · object · Apply patch tool call · object · Apply patch tool call output · object · MCP list tools · object · MCP approval request · object · MCP approval response · object · MCP tool call · object · Custom tool call output · object · Custom tool call · object · Compaction trigger · object · Item reference · object · object · object[] | null"},"parallel_tool_calls":{"type":"boolean","description":"Whether to allow the model to run tool calls in parallel.\n","default":true,"isRequired":true,"uniqueKey":"oneOf.56.response.parallel_tool_calls","typeLabel":"boolean"},"top_logprobs":{"oneOf":[{"type":"integer","description":"An integer between 0 and 20 specifying the maximum number of most likely\ntokens to return at each token position, each with an associated log\nprobability. In some cases, the number of returned tokens may be fewer than\nrequested.\n","maximum":20,"minimum":0,"uniqueKey":"oneOf.56.response.top_logprobs.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"oneOf.56.response.top_logprobs.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.56.response.top_logprobs","typeLabel":"integer | null"},"user":{"oneOf":[{"type":"string","example":"user-1234","deprecated":true,"description":"This field is being replaced by `safety_identifier` and `prompt_cache_key`. Use `prompt_cache_key` instead to maintain caching optimizations.\nA stable identifier for your end-users.\nUsed to boost cache hit rates by better bucketing similar requests and to help OpenAI detect and prevent abuse. [Learn more](https://developers.openai.com/api/docs/guides/safety-best-practices#implement-safety-identifiers).\n","uniqueKey":"oneOf.56.response.user.oneOf.0","typeLabel":"string"},{"type":"null","example":"user-1234","deprecated":true,"description":"This field is being replaced by `safety_identifier` and `prompt_cache_key`. Use `prompt_cache_key` instead to maintain caching optimizations.\nA stable identifier for your end-users.\nUsed to boost cache hit rates by better bucketing similar requests and to help OpenAI detect and prevent abuse. [Learn more](https://developers.openai.com/api/docs/guides/safety-best-practices#implement-safety-identifiers).\n","uniqueKey":"oneOf.56.response.user.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.56.response.user","typeLabel":"string | null"},"safety_identifier":{"oneOf":[{"type":"string","description":"A stable identifier used to help detect users of your application that may be violating OpenAI's usage policies.\nThe IDs should be a string that uniquely identifies each user, with a maximum length of 128 characters. We recommend hashing their username or email address, in order to avoid sending us any identifying information. [Learn more](https://developers.openai.com/api/docs/guides/safety-best-practices#implement-safety-identifiers).\n","maxLength":128,"example":"safety-identifier-1234","uniqueKey":"oneOf.56.response.safety_identifier.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.56.response.safety_identifier.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.56.response.safety_identifier","typeLabel":"string | null"},"prompt_cache_key":{"oneOf":[{"type":"string","description":"Used by OpenAI to cache responses for similar requests to optimize your cache hit rates. Replaces the `user` field. [Learn more](https://developers.openai.com/api/docs/guides/prompt-caching).\n","example":"prompt-cache-key-1234","uniqueKey":"oneOf.56.response.prompt_cache_key.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.56.response.prompt_cache_key.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.56.response.prompt_cache_key","typeLabel":"string | null"},"prompt_cache_retention":{"oneOf":[{"type":"string","description":"Deprecated. Use `prompt_cache_options.ttl` instead.\n\nThe retention policy for the prompt cache. Set to `24h` to enable extended prompt caching, which keeps cached prefixes active for longer, up to a maximum of 24 hours. [Learn more](https://developers.openai.com/api/docs/guides/prompt-caching#prompt-cache-retention).\nThis field expresses a maximum retention policy, while\n`prompt_cache_options.ttl` expresses a minimum cache lifetime. The two\nfields are independent and do not interact.\nFor `gpt-5.5`, `gpt-5.5-pro`, and future models, only `24h` is supported.\n\nFor older models that support both `in_memory` and `24h`, the default depends on your organization's data retention policy:\n - Organizations without ZDR enabled default to `24h`.\n - Organizations with ZDR enabled default to `in_memory` when `prompt_cache_retention` is not specified.\n","enum":["in_memory","24h"],"deprecated":true,"uniqueKey":"oneOf.56.response.prompt_cache_retention.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","deprecated":true,"uniqueKey":"oneOf.56.response.prompt_cache_retention.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.56.response.prompt_cache_retention","typeLabel":"enum\u003cstring> | null"},"previous_response_id":{"oneOf":[{"type":"string","description":"The unique ID of the previous response to the model. Use this to\ncreate multi-turn conversations. Learn more about\n[conversation state](https://developers.openai.com/api/docs/guides/conversation-state). Cannot be used in conjunction with `conversation`.\n","uniqueKey":"oneOf.56.response.previous_response_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.56.response.previous_response_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.56.response.previous_response_id","typeLabel":"string | null"},"background":{"oneOf":[{"type":"boolean","description":"Whether to run the model response in the background.\n[Learn more](https://developers.openai.com/api/docs/guides/background).\n","default":false,"uniqueKey":"oneOf.56.response.background.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"oneOf.56.response.background.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.56.response.background","typeLabel":"boolean | null"},"max_tool_calls":{"oneOf":[{"type":"integer","description":"The maximum number of total calls to built-in tools that can be processed in a response. This maximum number applies across all built-in tool calls, not per individual tool. Any further attempts to call a tool by the model will be ignored.\n","uniqueKey":"oneOf.56.response.max_tool_calls.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"oneOf.56.response.max_tool_calls.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.56.response.max_tool_calls","typeLabel":"integer | null"},"text":{"type":"object","description":"Configuration options for a text response from the model. Can be plain\ntext or structured JSON data. Learn more:\n- [Text inputs and outputs](https://developers.openai.com/api/docs/guides/text)\n- [Structured Outputs](https://developers.openai.com/api/docs/guides/structured-outputs)\n","properties":{"format":{"oneOf":[{"type":"object","title":"Text","description":"An object specifying the format that the model must output.\n\nConfiguring `{ \"type\": \"json_schema\" }` enables Structured Outputs,\nwhich ensures the model will match your supplied JSON schema. Learn more in the\n[Structured Outputs guide](https://developers.openai.com/api/docs/guides/structured-outputs).\n\nThe default format is `{ \"type\": \"text\" }` with no additional options.\n\n**Not recommended for gpt-4o and newer models:**\n\nSetting to `{ \"type\": \"json_object\" }` enables the older JSON mode, which\nensures the message the model generates is valid JSON. Using `json_schema`\nis preferred for models that support it.\n","required":["type"],"properties":{"type":{"type":"string","description":"The type of response format being defined. Always `text`.","const":"text","isRequired":true,"uniqueKey":"oneOf.56.response.text.format.oneOf.0.type","typeLabel":"string"}},"uniqueKey":"oneOf.56.response.text.format.oneOf.0","typeLabel":"Text · object"},{"type":"object","title":"JSON schema","description":"An object specifying the format that the model must output.\n\nConfiguring `{ \"type\": \"json_schema\" }` enables Structured Outputs,\nwhich ensures the model will match your supplied JSON schema. Learn more in the\n[Structured Outputs guide](https://developers.openai.com/api/docs/guides/structured-outputs).\n\nThe default format is `{ \"type\": \"text\" }` with no additional options.\n\n**Not recommended for gpt-4o and newer models:**\n\nSetting to `{ \"type\": \"json_object\" }` enables the older JSON mode, which\nensures the message the model generates is valid JSON. Using `json_schema`\nis preferred for models that support it.\n","required":["type","schema","name"],"properties":{"type":{"type":"string","description":"The type of response format being defined. Always `json_schema`.","enum":["json_schema"],"isRequired":true,"uniqueKey":"oneOf.56.response.text.format.oneOf.1.type","typeLabel":"enum\u003cstring>"},"name":{"type":"string","description":"The name of the response format. Must be a-z, A-Z, 0-9, or contain\nunderscores and dashes, with a maximum length of 64.\n","isRequired":true,"uniqueKey":"oneOf.56.response.text.format.oneOf.1.name","typeLabel":"string"},"schema":{"type":"object","title":"JSON schema","description":"The schema for the response format, described as a JSON Schema object.\nLearn how to build JSON schemas [here](https://json-schema.org/).\n","additionalProperties":true,"isRequired":true,"uniqueKey":"oneOf.56.response.text.format.oneOf.1.schema","typeLabel":"JSON schema · object"},"description":{"type":"string","description":"A description of what the response format is for, used by the model to\ndetermine how to respond in the format.\n","uniqueKey":"oneOf.56.response.text.format.oneOf.1.description","typeLabel":"string"},"strict":{"oneOf":[{"type":"boolean","description":"Whether to enable strict schema adherence when generating the output.\nIf set to true, the model will always follow the exact schema defined\nin the `schema` field. Only a subset of JSON Schema is supported when\n`strict` is `true`. To learn more, read the [Structured Outputs\nguide](https://developers.openai.com/api/docs/guides/structured-outputs).\n","default":false,"uniqueKey":"oneOf.56.response.text.format.oneOf.1.strict.oneOf.0","typeLabel":"boolean"},{"type":"null","uniqueKey":"oneOf.56.response.text.format.oneOf.1.strict.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.56.response.text.format.oneOf.1.strict","typeLabel":"boolean | null"}},"uniqueKey":"oneOf.56.response.text.format.oneOf.1","typeLabel":"JSON schema · object"},{"type":"object","title":"JSON object","description":"An object specifying the format that the model must output.\n\nConfiguring `{ \"type\": \"json_schema\" }` enables Structured Outputs,\nwhich ensures the model will match your supplied JSON schema. Learn more in the\n[Structured Outputs guide](https://developers.openai.com/api/docs/guides/structured-outputs).\n\nThe default format is `{ \"type\": \"text\" }` with no additional options.\n\n**Not recommended for gpt-4o and newer models:**\n\nSetting to `{ \"type\": \"json_object\" }` enables the older JSON mode, which\nensures the message the model generates is valid JSON. Using `json_schema`\nis preferred for models that support it.\n","required":["type"],"properties":{"type":{"type":"string","description":"The type of response format being defined. Always `json_object`.","const":"json_object","isRequired":true,"uniqueKey":"oneOf.56.response.text.format.oneOf.2.type","typeLabel":"string"}},"uniqueKey":"oneOf.56.response.text.format.oneOf.2","typeLabel":"JSON object · object"}],"uniqueKey":"oneOf.56.response.text.format","typeLabel":"Text · object | JSON schema · object | JSON object · object"},"verbosity":{"oneOf":[{"type":"string","description":"Constrains the verbosity of the model's response. Lower values will result in\nmore concise responses, while higher values will result in more verbose responses.\nCurrently supported values are `low`, `medium`, and `high`. The default is\n`medium`.\n","default":"medium","enum":["low","medium","high"],"uniqueKey":"oneOf.56.response.text.verbosity.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"oneOf.56.response.text.verbosity.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.56.response.text.verbosity","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"oneOf.56.response.text","typeLabel":"object"},"prompt":{"oneOf":[{"type":"object","description":"Reference to a prompt template and its variables.\n[Learn more](https://developers.openai.com/api/docs/guides/text?api-mode=responses#version-prompts-in-code).\n","required":["id"],"properties":{"id":{"type":"string","description":"The unique identifier of the prompt template to use.","isRequired":true,"uniqueKey":"oneOf.56.response.prompt.oneOf.0.id","typeLabel":"string"},"version":{"oneOf":[{"type":"string","description":"Optional version of the prompt template.","uniqueKey":"oneOf.56.response.prompt.oneOf.0.version.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.56.response.prompt.oneOf.0.version.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.56.response.prompt.oneOf.0.version","typeLabel":"string | null"},"variables":{"oneOf":[{"type":"object","title":"Prompt Variables","description":"Optional map of values to substitute in for variables in your\nprompt. The substitution values can either be strings, or other\nResponse input types like images or files.\n","additionalProperties":{"oneOf":[{"type":"string","uniqueKey":"oneOf.56.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.0","typeLabel":"string"},{"type":"object","title":"Input text","description":"A text input to the model.","required":["type","text"],"properties":{"type":{"type":"string","enum":["input_text"],"description":"The type of the input item. Always `input_text`.","default":"input_text","isRequired":true,"uniqueKey":"oneOf.56.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.1.type","typeLabel":"enum\u003cstring>"},"text":{"type":"string","description":"The text input to the model.","isRequired":true,"uniqueKey":"oneOf.56.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.1.text","typeLabel":"string"},"prompt_cache_breakpoint":{"properties":{"mode":{"type":"string","enum":["explicit"],"description":"The breakpoint mode. Always `explicit`.","default":"explicit","isRequired":true,"uniqueKey":"oneOf.56.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.1.prompt_cache_breakpoint.mode","typeLabel":"enum\u003cstring>"},"ttl":{"type":"string","enum":["30m","12h"],"description":"The minimum lifetime of this cache breakpoint. Defaults to the request TTL.","uniqueKey":"oneOf.56.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.1.prompt_cache_breakpoint.ttl","typeLabel":"enum\u003cstring>"}},"type":"object","required":["mode"],"title":"Prompt cache breakpoint","description":"Marks the exact end of a reusable prompt prefix. When `ttl` is omitted, the breakpoint inherits the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block.","uniqueKey":"oneOf.56.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.1.prompt_cache_breakpoint","typeLabel":"Prompt cache breakpoint · object"}},"uniqueKey":"oneOf.56.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.1","typeLabel":"Input text · object"},{"type":"object","title":"Input image","description":"An image input to the model. Learn about [image inputs](https://developers.openai.com/api/docs/guides/images-vision).","required":["type","detail"],"properties":{"type":{"type":"string","enum":["input_image"],"description":"The type of the input item. Always `input_image`.","default":"input_image","isRequired":true,"uniqueKey":"oneOf.56.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2.type","typeLabel":"enum\u003cstring>"},"detail":{"type":"string","enum":["low","high","auto","original"],"description":"The detail level of the image to be sent to the model. One of `high`, `low`, `auto`, or `original`. Defaults to `auto`.","isRequired":true,"uniqueKey":"oneOf.56.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2.detail","typeLabel":"enum\u003cstring>"},"image_url":{"type":"any","uniqueKey":"oneOf.56.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2.image_url","typeLabel":"any"},"file_id":{"type":"any","uniqueKey":"oneOf.56.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2.file_id","typeLabel":"any"},"prompt_cache_breakpoint":{"properties":{"mode":{"type":"string","enum":["explicit"],"description":"The breakpoint mode. Always `explicit`.","default":"explicit","isRequired":true,"uniqueKey":"oneOf.56.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2.prompt_cache_breakpoint.mode","typeLabel":"enum\u003cstring>"},"ttl":{"type":"string","enum":["30m","12h"],"description":"The minimum lifetime of this cache breakpoint. Defaults to the request TTL.","uniqueKey":"oneOf.56.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2.prompt_cache_breakpoint.ttl","typeLabel":"enum\u003cstring>"}},"type":"object","required":["mode"],"title":"Prompt cache breakpoint","description":"Marks the exact end of a reusable prompt prefix. When `ttl` is omitted, the breakpoint inherits the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block.","uniqueKey":"oneOf.56.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2.prompt_cache_breakpoint","typeLabel":"Prompt cache breakpoint · object"}},"uniqueKey":"oneOf.56.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.2","typeLabel":"Input image · object"},{"type":"object","title":"Input file","description":"A file input to the model.","required":["type"],"properties":{"type":{"type":"string","enum":["input_file"],"description":"The type of the input item. Always `input_file`.","default":"input_file","isRequired":true,"uniqueKey":"oneOf.56.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.type","typeLabel":"enum\u003cstring>"},"file_id":{"type":"any","uniqueKey":"oneOf.56.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.file_id","typeLabel":"any"},"filename":{"type":"string","description":"The name of the file to be sent to the model.","uniqueKey":"oneOf.56.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.filename","typeLabel":"string"},"file_data":{"type":"string","description":"The content of the file to be sent to the model.\n","uniqueKey":"oneOf.56.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.file_data","typeLabel":"string"},"prompt_cache_breakpoint":{"properties":{"mode":{"type":"string","enum":["explicit"],"description":"The breakpoint mode. Always `explicit`.","default":"explicit","isRequired":true,"uniqueKey":"oneOf.56.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.prompt_cache_breakpoint.mode","typeLabel":"enum\u003cstring>"},"ttl":{"type":"string","enum":["30m","12h"],"description":"The minimum lifetime of this cache breakpoint. Defaults to the request TTL.","uniqueKey":"oneOf.56.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.prompt_cache_breakpoint.ttl","typeLabel":"enum\u003cstring>"}},"type":"object","required":["mode"],"title":"Prompt cache breakpoint","description":"Marks the exact end of a reusable prompt prefix. When `ttl` is omitted, the breakpoint inherits the request's `prompt_cache_options.ttl`; the boundary is not rounded to a token block.","uniqueKey":"oneOf.56.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.prompt_cache_breakpoint","typeLabel":"Prompt cache breakpoint · object"},"file_url":{"type":"string","format":"uri","description":"The URL of the file to be sent to the model.","uniqueKey":"oneOf.56.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.file_url","typeLabel":"string\u003curi>"},"detail":{"type":"string","enum":["auto","low","high"],"description":"The detail level of the file to be sent to the model. Use `auto` to let the system select the detail level; for GPT-5.6 and later models, `auto` uses high-quality rendering, which may increase input token usage. Use `low` for lower-cost rendering, or `high` to render the file at higher quality. Defaults to `auto`.","uniqueKey":"oneOf.56.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3.detail","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.56.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties.oneOf.3","typeLabel":"Input file · object"}],"uniqueKey":"oneOf.56.response.prompt.oneOf.0.variables.oneOf.0.additionalProperties","typeLabel":"string | Input text · object | Input image · object | Input file · object"},"uniqueKey":"oneOf.56.response.prompt.oneOf.0.variables.oneOf.0","typeLabel":"Prompt Variables · object"},{"type":"null","uniqueKey":"oneOf.56.response.prompt.oneOf.0.variables.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.56.response.prompt.oneOf.0.variables","typeLabel":"Prompt Variables · object | null"}},"uniqueKey":"oneOf.56.response.prompt.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"oneOf.56.response.prompt.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.56.response.prompt","typeLabel":"object | null"},"image":{"properties":{"context_compression":{"type":"string","enum":["enabled","disabled"],"description":"Effective image context optimization policy.","isRequired":true,"uniqueKey":"oneOf.56.response.image.context_compression","typeLabel":"enum\u003cstring>"}},"type":"object","required":["context_compression"],"uniqueKey":"oneOf.56.response.image","typeLabel":"object"},"service_tier":{"oneOf":[{"type":"string","description":"Specifies the processing type used for serving the request.\n - If set to 'auto', then the request will be processed with the service tier configured in the Project settings. Unless otherwise configured, the Project will use 'default'.\n - If set to 'default', then the request will be processed with the standard pricing and performance for the selected model.\n - If set to '[flex](https://developers.openai.com/api/docs/guides/flex-processing)', then the request will be processed with the Flex Processing service tier.\n - To opt-in to [Fast mode](https://developers.openai.com/api/docs/guides/fast-mode) at the request level, include the `service_tier=fast` or `service_tier=priority` parameter for Responses or Chat Completions. The response will show `service_tier=priority` regardless of if you specify `service_tier=fast` or `priority` in your request.\n - If set to 'ultrafast', then the request will be processed with the access-controlled Ultrafast Processing service tier. This tier is currently available for `gpt-5.6-sol`; a response served through it will show `service_tier=ultrafast`.\n - When not set, the default behavior is 'auto'.\n\n When the `service_tier` parameter is set, the response body will include the `service_tier` value based on the processing mode actually used to serve the request. This response value may be different from the value set in the parameter.\n","default":"auto","enum":["auto","default","flex","scale","priority","fast","ultrafast"],"uniqueKey":"oneOf.56.response.service_tier.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"oneOf.56.response.service_tier.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.56.response.service_tier","typeLabel":"enum\u003cstring> | null"},"truncation":{"oneOf":[{"type":"string","description":"The truncation strategy to use for the model response.\n- `auto`: If the input to this Response exceeds\n the model's context window size, the model will truncate the\n response to fit the context window by dropping items from the beginning of the conversation.\n On some models, trimming can begin earlier because the API subtracts the model's\n maximum output allowance from its input limit, even if you set a lower `max_output_tokens`.\n- `disabled` (default): If the input size will exceed the context window\n size for a model, the request will fail with a 400 error.\n","default":"disabled","enum":["auto","disabled"],"uniqueKey":"oneOf.56.response.truncation.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"oneOf.56.response.truncation.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.56.response.truncation","typeLabel":"enum\u003cstring> | null"},"status":{"type":"string","description":"The status of the response generation. One of `completed`, `failed`,\n`in_progress`, `cancelled`, `queued`, or `incomplete`.\n","enum":["completed","failed","in_progress","cancelled","queued","incomplete"],"uniqueKey":"oneOf.56.response.status","typeLabel":"enum\u003cstring>"},"completed_at":{"oneOf":[{"type":"number","description":"Unix timestamp (in seconds) of when this Response was completed.\nOnly present when the status is `completed`.\n","format":"unixtime","uniqueKey":"oneOf.56.response.completed_at.oneOf.0","typeLabel":"number\u003cunixtime>"},{"type":"null","uniqueKey":"oneOf.56.response.completed_at.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.56.response.completed_at","typeLabel":"number\u003cunixtime> | null"},"input_transformations":{"type":"array","description":"Reasoning inputs withheld from the model, in input order.","items":{"properties":{"type":{"type":"string","enum":["reasoning"],"default":"reasoning","isRequired":true,"uniqueKey":"oneOf.56.response.input_transformations.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","description":"The original reasoning item ID.","isRequired":true,"uniqueKey":"oneOf.56.response.input_transformations.items.[INDEX].id","typeLabel":"string"},"action":{"type":"string","enum":["removed"],"default":"removed","isRequired":true,"uniqueKey":"oneOf.56.response.input_transformations.items.[INDEX].action","typeLabel":"enum\u003cstring>"},"reason":{"type":"string","enum":["organization_mismatch","end_user_mismatch","model_mismatch","prefix_mismatch","turn_boundary"],"isRequired":true,"uniqueKey":"oneOf.56.response.input_transformations.items.[INDEX].reason","typeLabel":"enum\u003cstring>"}},"type":"object","required":["type","id","action","reason"],"uniqueKey":"oneOf.56.response.input_transformations.items.[INDEX]","typeLabel":"object"},"uniqueKey":"oneOf.56.response.input_transformations","typeLabel":"object[]"},"reasoning":{"oneOf":[{"type":"object","title":"Reasoning","description":"Configuration options for\n[reasoning models](https://developers.openai.com/api/docs/guides/reasoning).\n","properties":{"mode":{"oneOf":[{"type":"string","description":"Controls the reasoning execution mode for the request.\n\nWhen returned on a response, this is the effective execution mode.\n","uniqueKey":"oneOf.56.response.reasoning.oneOf.0.mode.oneOf.0","typeLabel":"string"},{"type":"string","description":"Controls the reasoning execution mode for the request.\n\nWhen returned on a response, this is the effective execution mode.\n","enum":["standard","pro"],"uniqueKey":"oneOf.56.response.reasoning.oneOf.0.mode.oneOf.1","typeLabel":"enum\u003cstring>"}],"uniqueKey":"oneOf.56.response.reasoning.oneOf.0.mode","typeLabel":"string | enum\u003cstring>"},"effort":{"oneOf":[{"type":"string","description":"Constrains effort on reasoning for reasoning models. Currently supported\nvalues are `none`, `minimal`, `low`, `medium`, `high`, `xhigh`, and `max`.\nReducing reasoning effort can result in faster responses and fewer tokens\nused on reasoning in a response. Not all reasoning models support every\nvalue. See the\n[reasoning guide](https://developers.openai.com/api/docs/guides/reasoning)\nfor model-specific support.\n","default":"medium","enum":["none","minimal","low","medium","high","xhigh","max"],"uniqueKey":"oneOf.56.response.reasoning.oneOf.0.effort.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"oneOf.56.response.reasoning.oneOf.0.effort.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.56.response.reasoning.oneOf.0.effort","typeLabel":"enum\u003cstring> | null"},"summary":{"oneOf":[{"type":"string","description":"A summary of the reasoning performed by the model. This can be\nuseful for debugging and understanding the model's reasoning process.\nOne of `auto`, `concise`, or `detailed`.\n\n`concise` is supported for `computer-use-preview` models and all reasoning models after `gpt-5`.\n","enum":["auto","concise","detailed"],"uniqueKey":"oneOf.56.response.reasoning.oneOf.0.summary.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"oneOf.56.response.reasoning.oneOf.0.summary.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.56.response.reasoning.oneOf.0.summary","typeLabel":"enum\u003cstring> | null"},"context":{"oneOf":[{"type":"string","description":"Controls which reasoning items are rendered back to the model on later turns.\nIf omitted or set to `auto`, the model determines the context mode. The\n`gpt-5.6` model family defaults to `all_turns`; earlier models default to\n`current_turn`.\n\nWhen returned on a response, this is the effective reasoning context mode\nused for the response.\n","enum":["auto","current_turn","all_turns"],"uniqueKey":"oneOf.56.response.reasoning.oneOf.0.context.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"oneOf.56.response.reasoning.oneOf.0.context.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.56.response.reasoning.oneOf.0.context","typeLabel":"enum\u003cstring> | null"},"generate_summary":{"oneOf":[{"type":"string","description":"**Deprecated:** use `summary` instead.\n\nA summary of the reasoning performed by the model. This can be\nuseful for debugging and understanding the model's reasoning process.\nOne of `auto`, `concise`, or `detailed`.\n","enum":["auto","concise","detailed"],"deprecated":true,"uniqueKey":"oneOf.56.response.reasoning.oneOf.0.generate_summary.oneOf.0","typeLabel":"enum\u003cstring>"},{"type":"null","uniqueKey":"oneOf.56.response.reasoning.oneOf.0.generate_summary.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.56.response.reasoning.oneOf.0.generate_summary","typeLabel":"enum\u003cstring> | null"}},"uniqueKey":"oneOf.56.response.reasoning.oneOf.0","typeLabel":"Reasoning · object"},{"type":"null","uniqueKey":"oneOf.56.response.reasoning.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.56.response.reasoning","typeLabel":"Reasoning · object | null"},"output_text":{"oneOf":[{"type":"string","description":"SDK-only convenience property that contains the aggregated text output\nfrom all `output_text` items in the `output` array, if any are present.\nSupported in the Python and JavaScript SDKs.\n","uniqueKey":"oneOf.56.response.output_text.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.56.response.output_text.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.56.response.output_text","typeLabel":"string | null"},"usage":{"oneOf":[{"type":"object","description":"Represents token usage details including input tokens, output tokens,\na breakdown of output tokens, and the total tokens used.\n","required":["input_tokens","input_tokens_details","output_tokens","output_tokens_details","total_tokens"],"properties":{"input_tokens":{"type":"integer","description":"The number of input tokens.","isRequired":true,"uniqueKey":"oneOf.56.response.usage.oneOf.0.input_tokens","typeLabel":"integer"},"input_tokens_details":{"type":"object","description":"A detailed breakdown of the input tokens.","properties":{"cached_tokens":{"type":"integer","description":"The number of tokens that were retrieved from the cache.\n[More on prompt caching](https://developers.openai.com/api/docs/guides/prompt-caching).\n","isRequired":true,"uniqueKey":"oneOf.56.response.usage.oneOf.0.input_tokens_details.cached_tokens","typeLabel":"integer"},"cache_write_tokens":{"type":"integer","description":"The number of input tokens that were written to the cache.","isRequired":true,"uniqueKey":"oneOf.56.response.usage.oneOf.0.input_tokens_details.cache_write_tokens","typeLabel":"integer"},"cache_write_tokens_details":{"properties":{"ttl_30m_tokens":{"type":"integer","description":"The number of input tokens written with 30-minute retention.","isRequired":true,"uniqueKey":"oneOf.56.response.usage.oneOf.0.input_tokens_details.cache_write_tokens_details.ttl_30m_tokens","typeLabel":"integer"},"ttl_12h_tokens":{"type":"integer","description":"The number of input tokens written with 12-hour retention.","isRequired":true,"uniqueKey":"oneOf.56.response.usage.oneOf.0.input_tokens_details.cache_write_tokens_details.ttl_12h_tokens","typeLabel":"integer"}},"type":"object","required":["ttl_30m_tokens","ttl_12h_tokens"],"uniqueKey":"oneOf.56.response.usage.oneOf.0.input_tokens_details.cache_write_tokens_details","typeLabel":"object"}},"required":["cached_tokens","cache_write_tokens"],"isRequired":true,"uniqueKey":"oneOf.56.response.usage.oneOf.0.input_tokens_details","typeLabel":"object"},"output_tokens":{"type":"integer","description":"The number of output tokens.","isRequired":true,"uniqueKey":"oneOf.56.response.usage.oneOf.0.output_tokens","typeLabel":"integer"},"output_tokens_details":{"type":"object","description":"A detailed breakdown of the output tokens.","properties":{"reasoning_tokens":{"type":"integer","description":"The number of reasoning tokens.","isRequired":true,"uniqueKey":"oneOf.56.response.usage.oneOf.0.output_tokens_details.reasoning_tokens","typeLabel":"integer"}},"required":["reasoning_tokens"],"isRequired":true,"uniqueKey":"oneOf.56.response.usage.oneOf.0.output_tokens_details","typeLabel":"object"},"total_tokens":{"type":"integer","description":"The total number of tokens used.","isRequired":true,"uniqueKey":"oneOf.56.response.usage.oneOf.0.total_tokens","typeLabel":"integer"}},"uniqueKey":"oneOf.56.response.usage.oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"oneOf.56.response.usage.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.56.response.usage","typeLabel":"object | null"},"tool_usage":{"properties":{"image_gen":{"properties":{"input_tokens":{"type":"integer","description":"The number of tokens (images and text) in the input prompt.","isRequired":true,"uniqueKey":"oneOf.56.response.tool_usage.image_gen.input_tokens","typeLabel":"integer"},"total_tokens":{"type":"integer","description":"The total number of tokens (images and text) used for the image generation.","isRequired":true,"uniqueKey":"oneOf.56.response.tool_usage.image_gen.total_tokens","typeLabel":"integer"},"output_tokens":{"type":"integer","description":"The number of output tokens generated by the model.","isRequired":true,"uniqueKey":"oneOf.56.response.tool_usage.image_gen.output_tokens","typeLabel":"integer"},"input_tokens_details":{"properties":{"text_tokens":{"type":"integer","description":"The number of text tokens in the input prompt.","isRequired":true,"uniqueKey":"oneOf.56.response.tool_usage.image_gen.input_tokens_details.text_tokens","typeLabel":"integer"},"image_tokens":{"type":"integer","description":"The number of image tokens in the input prompt.","isRequired":true,"uniqueKey":"oneOf.56.response.tool_usage.image_gen.input_tokens_details.image_tokens","typeLabel":"integer"}},"type":"object","required":["text_tokens","image_tokens"],"title":"Input usage details","description":"The input tokens detailed information for the image generation.","isRequired":true,"uniqueKey":"oneOf.56.response.tool_usage.image_gen.input_tokens_details","typeLabel":"Input usage details · object"},"output_tokens_details":{"properties":{"image_tokens":{"type":"integer","description":"The number of image output tokens generated by the model.","isRequired":true,"uniqueKey":"oneOf.56.response.tool_usage.image_gen.output_tokens_details.image_tokens","typeLabel":"integer"},"text_tokens":{"type":"integer","description":"The number of text output tokens generated by the model.","isRequired":true,"uniqueKey":"oneOf.56.response.tool_usage.image_gen.output_tokens_details.text_tokens","typeLabel":"integer"}},"type":"object","required":["image_tokens","text_tokens"],"title":"Image generation output token details","description":"The output token details for the image generation.","uniqueKey":"oneOf.56.response.tool_usage.image_gen.output_tokens_details","typeLabel":"Image generation output token details · object"},"cached_tokens":{"type":"integer","uniqueKey":"oneOf.56.response.tool_usage.image_gen.cached_tokens","typeLabel":"integer"},"cached_tokens_details":{"properties":{"cached_text_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.56.response.tool_usage.image_gen.cached_tokens_details.cached_text_tokens","typeLabel":"integer"},"cached_image_tokens":{"type":"integer","isRequired":true,"uniqueKey":"oneOf.56.response.tool_usage.image_gen.cached_tokens_details.cached_image_tokens","typeLabel":"integer"}},"type":"object","required":["cached_text_tokens","cached_image_tokens"],"uniqueKey":"oneOf.56.response.tool_usage.image_gen.cached_tokens_details","typeLabel":"object"}},"type":"object","required":["input_tokens","total_tokens","output_tokens","input_tokens_details"],"title":"Image generation tool usage","description":"Aggregated usage statistics for image generation tool calls.","isRequired":true,"uniqueKey":"oneOf.56.response.tool_usage.image_gen","typeLabel":"Image generation tool usage · object"},"web_search":{"properties":{"num_requests":{"type":"integer","description":"The number of billable web search requests issued.","isRequired":true,"uniqueKey":"oneOf.56.response.tool_usage.web_search.num_requests","typeLabel":"integer"}},"type":"object","required":["num_requests"],"title":"Web search usage","description":"Aggregated billable usage statistics for web search tool calls.","isRequired":true,"uniqueKey":"oneOf.56.response.tool_usage.web_search","typeLabel":"Web search usage · object"}},"type":"object","required":["image_gen","web_search"],"title":"Response tool usage","description":"Usage reported by hosted tools, separate from base model `usage`. The field\ncan be omitted when tool usage is unavailable. When present, tool families\nwith no recorded usage have zero counts.\n\n`image_gen` sums available token counts across image generation calls.\nCalls with missing or incomplete usage records may be skipped. Output\ntoken details and cached input counts can be omitted. An omitted cache\ncount means cache usage is unknown.\n\n`web_search.num_requests` counts billable searches. Discounted searches\nand actions such as opening a page are excluded. Use billing records to\nreconcile final charges.\n","uniqueKey":"oneOf.56.response.tool_usage","typeLabel":"Response tool usage · object"},"prompt_cache_options":{"properties":{"ttl":{"type":"string","enum":["30m","12h"],"description":"The minimum lifetime applied to each cache breakpoint.","isRequired":true,"uniqueKey":"oneOf.56.response.prompt_cache_options.ttl","typeLabel":"enum\u003cstring>"},"mode":{"type":"string","enum":["implicit","explicit"],"description":"Whether implicit prompt-cache breakpoints were enabled.","isRequired":true,"uniqueKey":"oneOf.56.response.prompt_cache_options.mode","typeLabel":"enum\u003cstring>"},"comparison_response_id":{"oneOf":[{"type":"string","description":"The response ID supplied as the prompt cache diagnostics comparison.","uniqueKey":"oneOf.56.response.prompt_cache_options.comparison_response_id.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"oneOf.56.response.prompt_cache_options.comparison_response_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.56.response.prompt_cache_options.comparison_response_id","typeLabel":"string | null"}},"type":"object","required":["ttl","mode"],"title":"Prompt cache options","description":"The prompt-caching options that were applied to the response. Supported for `gpt-5.6` and later models.","uniqueKey":"oneOf.56.response.prompt_cache_options","typeLabel":"Prompt cache options · object"},"prompt_cache_diagnostics":{"oneOf":[{"type":"object","description":"Prompt cache diagnostics requested for this response.","required":["type","reason","cache_missed_tokens"],"properties":{"type":{"type":"string","enum":["cache_miss"],"default":"cache_miss","isRequired":true,"uniqueKey":"oneOf.56.response.prompt_cache_diagnostics.oneOf.0.type","typeLabel":"enum\u003cstring>"},"reason":{"type":"string","enum":["model_changed","prompt_cache_key_changed","tools_changed","text_format_changed","reasoning_effort_changed","verbosity_changed","context_compacted","input_changed","service_tier_changed"],"description":"The reason prompt cache reuse did not occur.","isRequired":true,"uniqueKey":"oneOf.56.response.prompt_cache_diagnostics.oneOf.0.reason","typeLabel":"enum\u003cstring>"},"cache_missed_tokens":{"type":"integer","description":"The estimated number of input tokens affected after the first detected divergence.","isRequired":true,"uniqueKey":"oneOf.56.response.prompt_cache_diagnostics.oneOf.0.cache_missed_tokens","typeLabel":"integer"},"comparison_reusable_tokens":{"type":"integer","description":"The raw token count of the reusable prefix in the compared response.","uniqueKey":"oneOf.56.response.prompt_cache_diagnostics.oneOf.0.comparison_reusable_tokens","typeLabel":"integer"}},"uniqueKey":"oneOf.56.response.prompt_cache_diagnostics.oneOf.0","typeLabel":"object"},{"type":"object","description":"Prompt cache diagnostics requested for this response.","required":["type"],"properties":{"type":{"type":"string","enum":["cache_hit"],"default":"cache_hit","isRequired":true,"uniqueKey":"oneOf.56.response.prompt_cache_diagnostics.oneOf.1.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.56.response.prompt_cache_diagnostics.oneOf.1","typeLabel":"object"},{"type":"object","description":"Prompt cache diagnostics requested for this response.","required":["type"],"properties":{"type":{"type":"string","enum":["comparison_response_not_found"],"default":"comparison_response_not_found","isRequired":true,"uniqueKey":"oneOf.56.response.prompt_cache_diagnostics.oneOf.2.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.56.response.prompt_cache_diagnostics.oneOf.2","typeLabel":"object"},{"type":"object","description":"Prompt cache diagnostics requested for this response.","required":["type"],"properties":{"type":{"type":"string","enum":["unavailable"],"default":"unavailable","isRequired":true,"uniqueKey":"oneOf.56.response.prompt_cache_diagnostics.oneOf.3.type","typeLabel":"enum\u003cstring>"}},"uniqueKey":"oneOf.56.response.prompt_cache_diagnostics.oneOf.3","typeLabel":"object"}],"uniqueKey":"oneOf.56.response.prompt_cache_diagnostics","typeLabel":"object"},"moderation":{"oneOf":[{"type":"object","title":"Moderation","description":"Moderation results for the response input and output, if moderated completions were requested.\n","required":["input","output"],"properties":{"input":{"oneOf":[{"type":"object","title":"Moderation result","description":"Moderation for the response input.","required":["type","model","flagged","categories","category_scores","category_applied_input_types"],"properties":{"type":{"type":"string","enum":["moderation_result"],"description":"The object type, which was always `moderation_result` for successful moderation results.","default":"moderation_result","isRequired":true,"uniqueKey":"oneOf.56.response.moderation.oneOf.0.input.oneOf.0.type","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"The moderation model that produced this result.","isRequired":true,"uniqueKey":"oneOf.56.response.moderation.oneOf.0.input.oneOf.0.model","typeLabel":"string"},"flagged":{"type":"boolean","description":"A boolean indicating whether the content was flagged by any category.","isRequired":true,"uniqueKey":"oneOf.56.response.moderation.oneOf.0.input.oneOf.0.flagged","typeLabel":"boolean"},"categories":{"additionalProperties":{"type":"boolean","uniqueKey":"oneOf.56.response.moderation.oneOf.0.input.oneOf.0.categories.additionalProperties","typeLabel":"boolean"},"type":"object","description":"A dictionary of moderation categories to booleans, True if the input is flagged under this category.","isRequired":true,"uniqueKey":"oneOf.56.response.moderation.oneOf.0.input.oneOf.0.categories","typeLabel":"object"},"category_scores":{"additionalProperties":{"type":"number","uniqueKey":"oneOf.56.response.moderation.oneOf.0.input.oneOf.0.category_scores.additionalProperties","typeLabel":"number"},"type":"object","description":"A dictionary of moderation categories to scores.","isRequired":true,"uniqueKey":"oneOf.56.response.moderation.oneOf.0.input.oneOf.0.category_scores","typeLabel":"object"},"category_applied_input_types":{"additionalProperties":{"items":{"type":"string","enum":["text","image"],"uniqueKey":"oneOf.56.response.moderation.oneOf.0.input.oneOf.0.category_applied_input_types.additionalProperties.items.[INDEX]","typeLabel":"enum\u003cstring>"},"type":"array","uniqueKey":"oneOf.56.response.moderation.oneOf.0.input.oneOf.0.category_applied_input_types.additionalProperties","typeLabel":"enum\u003cstring>[]"},"type":"object","description":"Which modalities of input are reflected by the score for each category.","isRequired":true,"uniqueKey":"oneOf.56.response.moderation.oneOf.0.input.oneOf.0.category_applied_input_types","typeLabel":"object"}},"isRequired":true,"uniqueKey":"oneOf.56.response.moderation.oneOf.0.input.oneOf.0","typeLabel":"Moderation result · object"},{"type":"object","title":"Moderation error","description":"Moderation for the response input.","required":["type","code","message"],"properties":{"type":{"type":"string","enum":["error"],"description":"The object type, which was always `error` for moderation failures.","default":"error","isRequired":true,"uniqueKey":"oneOf.56.response.moderation.oneOf.0.input.oneOf.1.type","typeLabel":"enum\u003cstring>"},"code":{"type":"string","description":"The error code.","isRequired":true,"uniqueKey":"oneOf.56.response.moderation.oneOf.0.input.oneOf.1.code","typeLabel":"string"},"message":{"type":"string","description":"The error message.","isRequired":true,"uniqueKey":"oneOf.56.response.moderation.oneOf.0.input.oneOf.1.message","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.56.response.moderation.oneOf.0.input.oneOf.1","typeLabel":"Moderation error · object"}],"isRequired":true,"uniqueKey":"oneOf.56.response.moderation.oneOf.0.input","typeLabel":"Moderation result · object | Moderation error · object"},"output":{"oneOf":[{"type":"object","title":"Moderation result","description":"Moderation for the response output.","required":["type","model","flagged","categories","category_scores","category_applied_input_types"],"properties":{"type":{"type":"string","enum":["moderation_result"],"description":"The object type, which was always `moderation_result` for successful moderation results.","default":"moderation_result","isRequired":true,"uniqueKey":"oneOf.56.response.moderation.oneOf.0.output.oneOf.0.type","typeLabel":"enum\u003cstring>"},"model":{"type":"string","description":"The moderation model that produced this result.","isRequired":true,"uniqueKey":"oneOf.56.response.moderation.oneOf.0.output.oneOf.0.model","typeLabel":"string"},"flagged":{"type":"boolean","description":"A boolean indicating whether the content was flagged by any category.","isRequired":true,"uniqueKey":"oneOf.56.response.moderation.oneOf.0.output.oneOf.0.flagged","typeLabel":"boolean"},"categories":{"additionalProperties":{"type":"boolean","uniqueKey":"oneOf.56.response.moderation.oneOf.0.output.oneOf.0.categories.additionalProperties","typeLabel":"boolean"},"type":"object","description":"A dictionary of moderation categories to booleans, True if the input is flagged under this category.","isRequired":true,"uniqueKey":"oneOf.56.response.moderation.oneOf.0.output.oneOf.0.categories","typeLabel":"object"},"category_scores":{"additionalProperties":{"type":"number","uniqueKey":"oneOf.56.response.moderation.oneOf.0.output.oneOf.0.category_scores.additionalProperties","typeLabel":"number"},"type":"object","description":"A dictionary of moderation categories to scores.","isRequired":true,"uniqueKey":"oneOf.56.response.moderation.oneOf.0.output.oneOf.0.category_scores","typeLabel":"object"},"category_applied_input_types":{"additionalProperties":{"items":{"type":"string","enum":["text","image"],"uniqueKey":"oneOf.56.response.moderation.oneOf.0.output.oneOf.0.category_applied_input_types.additionalProperties.items.[INDEX]","typeLabel":"enum\u003cstring>"},"type":"array","uniqueKey":"oneOf.56.response.moderation.oneOf.0.output.oneOf.0.category_applied_input_types.additionalProperties","typeLabel":"enum\u003cstring>[]"},"type":"object","description":"Which modalities of input are reflected by the score for each category.","isRequired":true,"uniqueKey":"oneOf.56.response.moderation.oneOf.0.output.oneOf.0.category_applied_input_types","typeLabel":"object"}},"isRequired":true,"uniqueKey":"oneOf.56.response.moderation.oneOf.0.output.oneOf.0","typeLabel":"Moderation result · object"},{"type":"object","title":"Moderation error","description":"Moderation for the response output.","required":["type","code","message"],"properties":{"type":{"type":"string","enum":["error"],"description":"The object type, which was always `error` for moderation failures.","default":"error","isRequired":true,"uniqueKey":"oneOf.56.response.moderation.oneOf.0.output.oneOf.1.type","typeLabel":"enum\u003cstring>"},"code":{"type":"string","description":"The error code.","isRequired":true,"uniqueKey":"oneOf.56.response.moderation.oneOf.0.output.oneOf.1.code","typeLabel":"string"},"message":{"type":"string","description":"The error message.","isRequired":true,"uniqueKey":"oneOf.56.response.moderation.oneOf.0.output.oneOf.1.message","typeLabel":"string"}},"isRequired":true,"uniqueKey":"oneOf.56.response.moderation.oneOf.0.output.oneOf.1","typeLabel":"Moderation error · object"}],"isRequired":true,"uniqueKey":"oneOf.56.response.moderation.oneOf.0.output","typeLabel":"Moderation result · object | Moderation error · object"}},"uniqueKey":"oneOf.56.response.moderation.oneOf.0","typeLabel":"Moderation · object"},{"type":"null","uniqueKey":"oneOf.56.response.moderation.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.56.response.moderation","typeLabel":"Moderation · object | null"},"conversation":{"oneOf":[{"type":"object","title":"Conversation","description":"The conversation that this response belonged to. Input items and output items from this response were automatically added to this conversation.","default":null,"required":["id"],"properties":{"id":{"type":"string","description":"The unique ID of the conversation that this response was associated with.","isRequired":true,"uniqueKey":"oneOf.56.response.conversation.oneOf.0.id","typeLabel":"string"}},"uniqueKey":"oneOf.56.response.conversation.oneOf.0","typeLabel":"Conversation · object"},{"type":"null","uniqueKey":"oneOf.56.response.conversation.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.56.response.conversation","typeLabel":"Conversation · object | null"},"max_output_tokens":{"oneOf":[{"type":"integer","description":"An upper bound for the number of tokens that can be generated for a response, including visible output tokens and [reasoning tokens](https://developers.openai.com/api/docs/guides/reasoning).\n","uniqueKey":"oneOf.56.response.max_output_tokens.oneOf.0","typeLabel":"integer"},{"type":"null","uniqueKey":"oneOf.56.response.max_output_tokens.oneOf.1","typeLabel":"null"}],"uniqueKey":"oneOf.56.response.max_output_tokens","typeLabel":"integer | null"}},"isRequired":true,"uniqueKey":"oneOf.56.response","typeLabel":"The response object · object"},"sequence_number":{"type":"integer","description":"The sequence number for this event.","isRequired":true,"uniqueKey":"oneOf.56.sequence_number","typeLabel":"integer"}},"uniqueKey":"oneOf.56","typeLabel":"ResponseQueuedEvent · object"},{"type":"object","title":"ResponseCustomToolCallInputDelta","description":"Event emitted while a response is streamed.","required":["type","output_index","item_id","delta","sequence_number"],"properties":{"type":{"type":"string","const":"response.custom_tool_call_input.delta","description":"The event type identifier.","isRequired":true,"uniqueKey":"oneOf.57.type","typeLabel":"string"},"sequence_number":{"type":"integer","description":"The sequence number of this event.","isRequired":true,"uniqueKey":"oneOf.57.sequence_number","typeLabel":"integer"},"output_index":{"type":"integer","description":"The index of the output this delta applies to.","isRequired":true,"uniqueKey":"oneOf.57.output_index","typeLabel":"integer"},"item_id":{"type":"string","description":"Unique identifier for the API item associated with this event.","isRequired":true,"uniqueKey":"oneOf.57.item_id","typeLabel":"string"},"delta":{"type":"string","description":"The incremental input data (delta) for the custom tool call.","isRequired":true,"uniqueKey":"oneOf.57.delta","typeLabel":"string"}},"uniqueKey":"oneOf.57","typeLabel":"ResponseCustomToolCallInputDelta · object"},{"type":"object","title":"ResponseCustomToolCallInputDone","description":"Event emitted while a response is streamed.","required":["type","output_index","item_id","input","sequence_number"],"properties":{"type":{"type":"string","const":"response.custom_tool_call_input.done","description":"The event type identifier.","isRequired":true,"uniqueKey":"oneOf.58.type","typeLabel":"string"},"sequence_number":{"type":"integer","description":"The sequence number of this event.","isRequired":true,"uniqueKey":"oneOf.58.sequence_number","typeLabel":"integer"},"output_index":{"type":"integer","description":"The index of the output this event applies to.","isRequired":true,"uniqueKey":"oneOf.58.output_index","typeLabel":"integer"},"item_id":{"type":"string","description":"Unique identifier for the API item associated with this event.","isRequired":true,"uniqueKey":"oneOf.58.item_id","typeLabel":"string"},"input":{"type":"string","description":"The complete input data for the custom tool call.","isRequired":true,"uniqueKey":"oneOf.58.input","typeLabel":"string"}},"uniqueKey":"oneOf.58","typeLabel":"ResponseCustomToolCallInputDone · object"}],"uniqueKey":"","typeLabel":"object · object · object · object · object · object · object · object · object · Response compaction compacting event · object · object · object · object · object · object · object · object · object · object · object · Response shell command added event · object · Response shell command delta event · object · Response shell command done event · object · Response shell call output content delta event · object · Response shell call output content done event · object · object · object · object · object · object · object · object · object · object · object · object · object · object · object · object · object · object · object · ResponseImageGenCallCompletedEvent · object · ResponseImageGenCallGeneratingEvent · object · ResponseImageGenCallInProgressEvent · object · ResponseImageGenCallPartialImageEvent · object · ResponseMCPCallArgumentsDeltaEvent · object · ResponseMCPCallArgumentsDoneEvent · object · ResponseMCPCallCompletedEvent · object · ResponseMCPCallFailedEvent · object · ResponseMCPCallInProgressEvent · object · ResponseMCPListToolsCompletedEvent · object · ResponseMCPListToolsFailedEvent · object · ResponseMCPListToolsInProgressEvent · object · ResponseOutputTextAnnotationAddedEvent · object · ResponseQueuedEvent · object · ResponseCustomToolCallInputDelta · object · ResponseCustomToolCallInputDone · object"},"examples":{"Example":{"title":"Example","value":{"type":"response.audio.delta","sequence_number":123,"delta":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"0defc5ec-a6c9-467e-b5ed-f7a3a7221aed":{"description":"Invalid request: malformed JSON, a missing required field, or a parameter the chosen model does not support. Fix it as `message` says and retry.","content":{"application/json":{"schema":{"type":"object","description":"Error response.","properties":{"error":{"type":"object","description":"Error details.","properties":{"code":{"type":"string","description":"Error code, for example `invalid_request`, `unauthorized`, `insufficient_balance` or `rate_limit_exceeded`. In a few parameter errors returned by the model side directly it is the numeric status code.","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Error description. Branch on the status code and `code`, not on this text.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"http_status":{"type":"integer","description":"Same as the HTTP status code of the response; a few errors returned by the model side directly omit it.","uniqueKey":"error.http_status","typeLabel":"integer"},"request_id":{"type":"string","description":"ID of this request, also returned in the `X-Request-Id` header; include it when reporting a problem. A few errors omit it, so prefer the header.","uniqueKey":"error.request_id","typeLabel":"string"},"type":{"type":"string","description":"Error category, for example `invalid_request_error`, `authentication_error`, `rate_limit_error` or `api_error`; a few errors omit it.","uniqueKey":"error.type","typeLabel":"string"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"example":{"title":"example","value":{"error":{"code":"invalid_request","http_status":400,"message":"Invalid request.","request_id":"req_3f9a1c2b7d4e5f60718293a4","type":"invalid_request_error"}}}},"exampleType":"examples"}},"exampleType":"examples"},"29d60a35-dd49-423a-9aac-bd62cc1a5ba8":{"description":"The API Key is missing or invalid.","content":{"application/json":{"schema":{"type":"object","description":"Error response.","properties":{"error":{"type":"object","description":"Error details.","properties":{"code":{"type":"string","description":"Error code, for example `invalid_request`, `unauthorized`, `insufficient_balance` or `rate_limit_exceeded`. In a few parameter errors returned by the model side directly it is the numeric status code.","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Error description. Branch on the status code and `code`, not on this text.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"http_status":{"type":"integer","description":"Same as the HTTP status code of the response; a few errors returned by the model side directly omit it.","uniqueKey":"error.http_status","typeLabel":"integer"},"request_id":{"type":"string","description":"ID of this request, also returned in the `X-Request-Id` header; include it when reporting a problem. A few errors omit it, so prefer the header.","uniqueKey":"error.request_id","typeLabel":"string"},"type":{"type":"string","description":"Error category, for example `invalid_request_error`, `authentication_error`, `rate_limit_error` or `api_error`; a few errors omit it.","uniqueKey":"error.type","typeLabel":"string"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"example":{"title":"example","value":{"error":{"code":"unauthorized","http_status":401,"message":"Unauthorized.","request_id":"req_3f9a1c2b7d4e5f60718293a4","type":"authentication_error"}}}},"exampleType":"examples"}},"exampleType":"examples"},"5fd106ba-e962-474e-b49c-b04147b91742":{"description":"Insufficient balance; top up and retry.","content":{"application/json":{"schema":{"type":"object","description":"Error response.","properties":{"error":{"type":"object","description":"Error details.","properties":{"code":{"type":"string","description":"Error code, for example `invalid_request`, `unauthorized`, `insufficient_balance` or `rate_limit_exceeded`. In a few parameter errors returned by the model side directly it is the numeric status code.","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Error description. Branch on the status code and `code`, not on this text.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"http_status":{"type":"integer","description":"Same as the HTTP status code of the response; a few errors returned by the model side directly omit it.","uniqueKey":"error.http_status","typeLabel":"integer"},"request_id":{"type":"string","description":"ID of this request, also returned in the `X-Request-Id` header; include it when reporting a problem. A few errors omit it, so prefer the header.","uniqueKey":"error.request_id","typeLabel":"string"},"type":{"type":"string","description":"Error category, for example `invalid_request_error`, `authentication_error`, `rate_limit_error` or `api_error`; a few errors omit it.","uniqueKey":"error.type","typeLabel":"string"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"example":{"title":"example","value":{"error":{"code":"insufficient_balance","http_status":402,"message":"Insufficient balance.","request_id":"req_3f9a1c2b7d4e5f60718293a4","type":"insufficient_balance_error"}}}},"exampleType":"examples"}},"exampleType":"examples"},"80297622-19ee-474b-a22d-d0b9ae3281ca":{"description":"This API Key is not allowed to use the model.","content":{"application/json":{"schema":{"type":"object","description":"Error response.","properties":{"error":{"type":"object","description":"Error details.","properties":{"code":{"type":"string","description":"Error code, for example `invalid_request`, `unauthorized`, `insufficient_balance` or `rate_limit_exceeded`. In a few parameter errors returned by the model side directly it is the numeric status code.","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Error description. Branch on the status code and `code`, not on this text.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"http_status":{"type":"integer","description":"Same as the HTTP status code of the response; a few errors returned by the model side directly omit it.","uniqueKey":"error.http_status","typeLabel":"integer"},"request_id":{"type":"string","description":"ID of this request, also returned in the `X-Request-Id` header; include it when reporting a problem. A few errors omit it, so prefer the header.","uniqueKey":"error.request_id","typeLabel":"string"},"type":{"type":"string","description":"Error category, for example `invalid_request_error`, `authentication_error`, `rate_limit_error` or `api_error`; a few errors omit it.","uniqueKey":"error.type","typeLabel":"string"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"example":{"title":"example","value":{"error":{"code":"forbidden","http_status":403,"message":"Access denied.","request_id":"req_3f9a1c2b7d4e5f60718293a4","type":"permission_error"}}}},"exampleType":"examples"}},"exampleType":"examples"},"1bf7d75a-21aa-4285-aa80-c83163aa9f97":{"description":"The model does not exist or is not available.","content":{"application/json":{"schema":{"type":"object","description":"Error response.","properties":{"error":{"type":"object","description":"Error details.","properties":{"code":{"type":"string","description":"Error code, for example `invalid_request`, `unauthorized`, `insufficient_balance` or `rate_limit_exceeded`. In a few parameter errors returned by the model side directly it is the numeric status code.","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Error description. Branch on the status code and `code`, not on this text.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"http_status":{"type":"integer","description":"Same as the HTTP status code of the response; a few errors returned by the model side directly omit it.","uniqueKey":"error.http_status","typeLabel":"integer"},"request_id":{"type":"string","description":"ID of this request, also returned in the `X-Request-Id` header; include it when reporting a problem. A few errors omit it, so prefer the header.","uniqueKey":"error.request_id","typeLabel":"string"},"type":{"type":"string","description":"Error category, for example `invalid_request_error`, `authentication_error`, `rate_limit_error` or `api_error`; a few errors omit it.","uniqueKey":"error.type","typeLabel":"string"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"example":{"title":"example","value":{"error":{"code":"not_found","http_status":404,"message":"The requested model was not found.","request_id":"req_3f9a1c2b7d4e5f60718293a4","type":"invalid_request_error"}}}},"exampleType":"examples"}},"exampleType":"examples"},"0eee7d81-c20e-4820-8eb0-21e7bb3c26c3":{"description":"Rate limit exceeded; back off and retry.","content":{"application/json":{"schema":{"type":"object","description":"Error response.","properties":{"error":{"type":"object","description":"Error details.","properties":{"code":{"type":"string","description":"Error code, for example `invalid_request`, `unauthorized`, `insufficient_balance` or `rate_limit_exceeded`. In a few parameter errors returned by the model side directly it is the numeric status code.","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Error description. Branch on the status code and `code`, not on this text.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"http_status":{"type":"integer","description":"Same as the HTTP status code of the response; a few errors returned by the model side directly omit it.","uniqueKey":"error.http_status","typeLabel":"integer"},"request_id":{"type":"string","description":"ID of this request, also returned in the `X-Request-Id` header; include it when reporting a problem. A few errors omit it, so prefer the header.","uniqueKey":"error.request_id","typeLabel":"string"},"type":{"type":"string","description":"Error category, for example `invalid_request_error`, `authentication_error`, `rate_limit_error` or `api_error`; a few errors omit it.","uniqueKey":"error.type","typeLabel":"string"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"example":{"title":"example","value":{"error":{"code":"rate_limit_exceeded","http_status":429,"message":"Rate limit exceeded. Please try again later.","request_id":"req_3f9a1c2b7d4e5f60718293a4","type":"rate_limit_error"}}}},"exampleType":"examples"}},"exampleType":"examples"},"4d37eb0f-45ed-4db4-a999-a6d7a8a72b94":{"description":"Internal error; retry later.","content":{"application/json":{"schema":{"type":"object","description":"Error response.","properties":{"error":{"type":"object","description":"Error details.","properties":{"code":{"type":"string","description":"Error code, for example `invalid_request`, `unauthorized`, `insufficient_balance` or `rate_limit_exceeded`. In a few parameter errors returned by the model side directly it is the numeric status code.","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Error description. Branch on the status code and `code`, not on this text.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"http_status":{"type":"integer","description":"Same as the HTTP status code of the response; a few errors returned by the model side directly omit it.","uniqueKey":"error.http_status","typeLabel":"integer"},"request_id":{"type":"string","description":"ID of this request, also returned in the `X-Request-Id` header; include it when reporting a problem. A few errors omit it, so prefer the header.","uniqueKey":"error.request_id","typeLabel":"string"},"type":{"type":"string","description":"Error category, for example `invalid_request_error`, `authentication_error`, `rate_limit_error` or `api_error`; a few errors omit it.","uniqueKey":"error.type","typeLabel":"string"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"example":{"title":"example","value":{"error":{"code":"api_error","http_status":500,"message":"Internal server error.","request_id":"req_3f9a1c2b7d4e5f60718293a4","type":"api_error"}}}},"exampleType":"examples"}},"exampleType":"examples"},"407459f3-fcda-4327-a208-ac1291d08dc8":{"description":"Service temporarily unavailable or timed out; retry later.","content":{"application/json":{"schema":{"type":"object","description":"Error response.","properties":{"error":{"type":"object","description":"Error details.","properties":{"code":{"type":"string","description":"Error code, for example `invalid_request`, `unauthorized`, `insufficient_balance` or `rate_limit_exceeded`. In a few parameter errors returned by the model side directly it is the numeric status code.","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","description":"Error description. Branch on the status code and `code`, not on this text.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"http_status":{"type":"integer","description":"Same as the HTTP status code of the response; a few errors returned by the model side directly omit it.","uniqueKey":"error.http_status","typeLabel":"integer"},"request_id":{"type":"string","description":"ID of this request, also returned in the `X-Request-Id` header; include it when reporting a problem. A few errors omit it, so prefer the header.","uniqueKey":"error.request_id","typeLabel":"string"},"type":{"type":"string","description":"Error category, for example `invalid_request_error`, `authentication_error`, `rate_limit_error` or `api_error`; a few errors omit it.","uniqueKey":"error.type","typeLabel":"string"}},"required":["code","message"],"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"required":["error"],"uniqueKey":"","typeLabel":"object"},"examples":{"example":{"title":"example","value":{"error":{"code":"service_unavailable","http_status":503,"message":"Service temporarily unavailable. Please try again later.","request_id":"req_3f9a1c2b7d4e5f60718293a4","type":"api_error"}}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"4cd243db-694c-4173-b1b7-7ab2f2e7a4c6":{"bearerAuth":{"type":"http","scheme":"bearer","description":"Send your DreamTo API Key in the `Authorization` header: `Authorization: Bearer \u003cAPI Key>`.","scopes":[],"schemeName":"bearerAuth"}}},"servers":{"94ed4e3a-d0e2-4fd8-a521-f19d3c29df19":{"url":"https://api.dreamto.ai"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Send your DreamTo API Key in the `Authorization` header: `Authorization: Bearer \u003cAPI Key>`.","scopes":[],"schemeName":"bearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Send your DreamTo API Key in the `Authorization` header: `Authorization: Bearer \u003cAPI Key>`.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"openapi/en/openai-responses.json"},"subdomain":"dreamto","siteName":"DreamTo API","title":"Create a model response - DreamTo API","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"zh":{"href":"/api-reference/openai-responses/create-response","matchLevel":1},"en":{"href":"/en/api-reference/openai-responses/create-response","matchLevel":0}}},"lastModified":"2026-11-29T16:12:29.605Z","originalFileLocation":"en/api-reference/openai-responses/create-response.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Creates a model response. Provide text or image inputs to generate text or JSON outputs. Have the model call your own custom code or use built-in tools like web search or file search to use your own data as input for the model\u0026#x27;s response.\">\u003cmeta data-mint-head name=\"application-name\" content=\"DreamTo API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/dreamto/qWhtKaUK2bd2rkG8/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/dreamto/qWhtKaUK2bd2rkG8/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/dreamto/qWhtKaUK2bd2rkG8/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/dreamto/qWhtKaUK2bd2rkG8/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/dreamto/qWhtKaUK2bd2rkG8/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/dreamto/qWhtKaUK2bd2rkG8/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/dreamto/qWhtKaUK2bd2rkG8/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/dreamto/qWhtKaUK2bd2rkG8/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/dreamto/qWhtKaUK2bd2rkG8/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create a model response - DreamTo API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Creates a model response. Provide text or image inputs to generate text or JSON outputs. Have the model call your own custom code or use built-in tools like web search or file search to use your own data as input for the model\u0026#x27;s response.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"DreamTo API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.dreamto.ai/en/api-reference/openai-responses/create-response\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://dreamto.mintlify.site/_mintlify/api/og/v2?division=OpenAI+Responses\u0026amp;title=Create+a+model+response\u0026amp;description=Creates+a+model+response.+Provide+%5Btext%5D%28https%3A%2F%2Fdevelopers.openai.com%2Fapi%2Fdocs%2Fguides%2Ftext%29+or%0A%5Bimage%5D%28https%3A%2F%2Fdevelopers.openai.com%2Fapi%2Fdocs%2Fguides%2Fimages-vis\u0026amp;theme=966bd5cf73c175936a3e4273\u0026amp;signature=e0e46069984d3ccfaec70d5f70fd68467e854cbcf7c59468bdd31d7dd75858ac\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Create a model response - DreamTo API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Creates a model response. Provide text or image inputs to generate text or JSON outputs. Have the model call your own custom code or use built-in tools like web search or file search to use your own data as input for the model\u0026#x27;s response.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://dreamto.mintlify.site/_mintlify/api/og/v2?division=OpenAI+Responses\u0026amp;title=Create+a+model+response\u0026amp;description=Creates+a+model+response.+Provide+%5Btext%5D%28https%3A%2F%2Fdevelopers.openai.com%2Fapi%2Fdocs%2Fguides%2Ftext%29+or%0A%5Bimage%5D%28https%3A%2F%2Fdevelopers.openai.com%2Fapi%2Fdocs%2Fguides%2Fimages-vis\u0026amp;theme=966bd5cf73c175936a3e4273\u0026amp;signature=e0e46069984d3ccfaec70d5f70fd68467e854cbcf7c59468bdd31d7dd75858ac\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/dreamto/qWhtKaUK2bd2rkG8/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"DreamTo API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3E3E3F\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.dreamto.ai/en/api-reference/openai-responses/create-response\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/en/api-reference/openai-responses/create-response.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.dreamto.ai/en/api-reference/openai-responses/create-response\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://docs.dreamto.ai/api-reference/openai-responses/create-response\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.dreamto.ai/api-reference/openai-responses/create-response\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.dreamto.ai/#organization\",\"name\":\"DreamTo API\",\"url\":\"https://docs.dreamto.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/dreamto/qdi4xMMMFQC2W0qR/logo/light.png?fit=max\u0026auto=format\u0026n=qdi4xMMMFQC2W0qR\u0026q=85\u0026s=34f5db7a934e6d8d4723f28e3524c21a\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.dreamto.ai#website\",\"name\":\"DreamTo API\",\"url\":\"https://docs.dreamto.ai\",\"publisher\":{\"@id\":\"https://docs.dreamto.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.dreamto.ai/en/api-reference/openai-responses/create-response#webpage\",\"url\":\"https://docs.dreamto.ai/en/api-reference/openai-responses/create-response\",\"name\":\"Create a model response\",\"description\":\"Creates a model response. Provide text or image inputs to generate text or JSON outputs. Have the model call your own custom code or use built-in tools like web search or file search to use your own data as input for the model's response.\",\"dateModified\":\"2026-11-29T16:12:29.605Z\",\"isPartOf\":{\"@id\":\"https://docs.dreamto.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.dreamto.ai/en/api-reference/openai-responses/create-response#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.dreamto.ai/en/api-reference/openai-responses/create-response#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Language models (LLM)\",\"item\":\"https://docs.dreamto.ai/en/llm/openai-chat-completions\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"OpenAI Responses\",\"item\":\"https://docs.dreamto.ai/en/llm/openai-responses\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Create a model response\",\"item\":\"https://docs.dreamto.ai/en/api-reference/openai-responses/create-response\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.dreamto.ai/en/api-reference/openai-responses/create-response#apireference\",\"headline\":\"Create a model response\",\"name\":\"Create a model response\",\"description\":\"Creates a model response. Provide text or image inputs to generate text or JSON outputs. Have the model call your own custom code or use built-in tools like web search or file search to use your own data as input for the model's response.\",\"url\":\"https://docs.dreamto.ai/en/api-reference/openai-responses/create-response\",\"mainEntityOfPage\":{\"@id\":\"https://docs.dreamto.ai/en/api-reference/openai-responses/create-response#webpage\"},\"dateModified\":\"2026-11-29T16:12:29.605Z\",\"publisher\":{\"@id\":\"https://docs.dreamto.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.dreamto.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"DreamTo API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"DreamTo API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/en/api-reference/openai-responses/create-response.md","siteName":"DreamTo API","nav":{"global":null,"languages":[{"language":"zh","default":true,"pages":[{"title":"zh","href":"/api-reference/openai-responses/create-response"}]},{"language":"en","groups":[{"group":"Get started","pages":[{"title":"DreamTo API Docs","sidebarTitle":"Introduction","href":"/en"},{"title":"Authentication","href":"/en/authentication"},{"title":"Errors","href":"/en/errors"}]},{"group":"Language models (LLM)","pages":[{"group":"OpenAI Chat Completions","icon":"/icons/openai.svg","pages":[{"title":"OpenAI Chat Completions","sidebarTitle":"Models","href":"/en/llm/openai-chat-completions"},{"title":"Create chat completion","deprecated":null,"version":null,"sidebarTitle":"Create chat completion","openapi":"/openapi/en/openai-chat-completions.json post /v1/chat/completions","href":"/en/api-reference/openai-chat-completions/create-chat-completion"}]},{"group":"OpenAI Responses","icon":"/icons/openai.svg","pages":[{"title":"OpenAI Responses","sidebarTitle":"Models","description":"Call GPT models with the OpenAI Responses protocol: text and image input, reasoning effort, streaming events, function calling and structured output.","href":"/en/llm/openai-responses"},{"title":"Create a model response","deprecated":null,"version":null,"sidebarTitle":"Create a model response","openapi":"/openapi/en/openai-responses.json post /v1/responses","href":"/en/api-reference/openai-responses/create-response"}]},{"group":"Gemini generateContent","icon":"/icons/gemini.svg","pages":[{"title":"Gemini generateContent","sidebarTitle":"Models","description":"Call Gemini models with the Gemini generateContent protocol (v1beta): multimodal input, thinking, streaming, function calling and structured output.","href":"/en/llm/gemini-generate-content"},{"title":"Generate content","deprecated":null,"version":null,"sidebarTitle":"Generate content","openapi":"/openapi/en/gemini-generate-content.json post /v1beta/models/{model}:generateContent","href":"/en/api-reference/gemini-generate-content/generate-content"},{"title":"Stream generate content","deprecated":null,"version":null,"sidebarTitle":"Stream generate content","openapi":"/openapi/en/gemini-generate-content.json post /v1beta/models/{model}:streamGenerateContent","href":"/en/api-reference/gemini-generate-content/stream-generate-content"}]},{"group":"Anthropic Messages","icon":"/icons/claude.svg","pages":[{"title":"Anthropic Messages","sidebarTitle":"Models","href":"/en/llm/anthropic-messages"},{"title":"Create a message","deprecated":null,"version":null,"sidebarTitle":"Create a message","openapi":"/openapi/en/anthropic-messages.json post /v1/messages","href":"/en/api-reference/anthropic-messages/create-message"}]}]},{"group":"Integrations","pages":[{"title":"Integrations overview","sidebarTitle":"Overview","icon":"plug","href":"/en/integrations/overview"},{"title":"Claude Code","icon":"https://mintlify.s3.us-west-1.amazonaws.com/dreamto/icons/claudecode.svg","href":"/en/integrations/claude-code"},{"title":"Codex CLI","icon":"https://mintlify.s3.us-west-1.amazonaws.com/dreamto/icons/codex.svg","href":"/en/integrations/codex"},{"title":"Gemini CLI","icon":"https://mintlify.s3.us-west-1.amazonaws.com/dreamto/icons/geminicli.svg","href":"/en/integrations/gemini-cli"},{"title":"Cursor","icon":"https://mintlify.s3.us-west-1.amazonaws.com/dreamto/icons/cursor.svg","href":"/en/integrations/cursor"},{"title":"CC Switch","icon":"https://mintlify.s3.us-west-1.amazonaws.com/dreamto/icons/cc-switch.png","href":"/en/integrations/cc-switch"},{"title":"OpenCode","icon":"https://mintlify.s3.us-west-1.amazonaws.com/dreamto/icons/opencode.svg","href":"/en/integrations/opencode"},{"title":"OpenClaw","icon":"https://mintlify.s3.us-west-1.amazonaws.com/dreamto/icons/openclaw.svg","href":"/en/integrations/openclaw"},{"title":"Hermes Agent","icon":"https://mintlify.s3.us-west-1.amazonaws.com/dreamto/icons/hermesagent.svg","href":"/en/integrations/hermes"},{"title":"Cline / Roo Code","icon":"https://mintlify.s3.us-west-1.amazonaws.com/dreamto/icons/cline.svg","href":"/en/integrations/cline"},{"title":"Continue","icon":"https://mintlify.s3.us-west-1.amazonaws.com/dreamto/icons/continue.png","href":"/en/integrations/continue"},{"title":"TRAE","icon":"https://mintlify.s3.us-west-1.amazonaws.com/dreamto/icons/trae.svg","href":"/en/integrations/trae"},{"title":"WorkBuddy","icon":"https://mintlify.s3.us-west-1.amazonaws.com/dreamto/icons/workbuddy.svg","href":"/en/integrations/workbuddy"},{"title":"Cherry Studio","icon":"https://mintlify.s3.us-west-1.amazonaws.com/dreamto/icons/cherrystudio.svg","href":"/en/integrations/cherry-studio"},{"title":"LobeChat / NextChat","icon":"https://mintlify.s3.us-west-1.amazonaws.com/dreamto/icons/lobehub.svg","href":"/en/integrations/lobechat-nextchat"},{"title":"SDK quickstart","icon":"cube","href":"/en/integrations/sdks"}]},{"group":"Image generation","pages":[{"group":"Gemini Nano Banana 2.1","icon":"/icons/gemini.svg","pages":[{"title":"Gemini Nano Banana 2.1","sidebarTitle":"Introduction","href":"/en/image/models/gemini-nano-banana-2-1"},{"title":"Generate content","deprecated":null,"version":null,"sidebarTitle":"Generate content","openapi":"/openapi/en/gemini-nano-banana-2-1.json post /v1beta/models/gemini-nano-banana-2.1:generateContent","href":"/en/api-reference/gemini-nano-banana-2-1/generate-content"}]},{"group":"Gemini 3.1 Flash Lite Image","icon":"/icons/gemini.svg","pages":[{"title":"Gemini 3.1 Flash Lite Image","sidebarTitle":"Introduction","href":"/en/image/models/gemini-3-1-flash-lite-image"},{"title":"Generate content","deprecated":null,"version":null,"sidebarTitle":"Generate content","openapi":"/openapi/en/gemini-3-1-flash-lite-image.json post /v1beta/models/gemini-3.1-flash-lite-image:generateContent","href":"/en/api-reference/gemini-3-1-flash-lite-image/generate-content"}]},{"group":"Gemini 3.1 Flash Image","icon":"/icons/gemini.svg","pages":[{"title":"Gemini 3.1 Flash Image","sidebarTitle":"Introduction","href":"/en/image/models/gemini-3-1-flash-image"},{"title":"Generate content","deprecated":null,"version":null,"sidebarTitle":"Generate content","openapi":"/openapi/en/gemini-3-1-flash-image.json post /v1beta/models/gemini-3.1-flash-image:generateContent","href":"/en/api-reference/gemini-3-1-flash-image/generate-content"}]},{"group":"Gemini 3 Pro Image","icon":"/icons/gemini.svg","pages":[{"title":"Gemini 3 Pro Image","sidebarTitle":"Introduction","href":"/en/image/models/gemini-3-pro-image"},{"title":"Generate content","deprecated":null,"version":null,"sidebarTitle":"Generate content","openapi":"/openapi/en/gemini-3-pro-image.json post /v1beta/models/gemini-3-pro-image:generateContent","href":"/en/api-reference/gemini-3-pro-image/generate-content"}]},{"group":"GPT Image 2.6","icon":"/icons/openai.svg","pages":[{"title":"GPT Image 2.6","sidebarTitle":"Introduction","href":"/en/image/models/gpt-image-2-6"},{"title":"Create image","deprecated":null,"version":null,"sidebarTitle":"Create image","openapi":"/openapi/en/gpt-image-2-6.json post /v1/images/generations","href":"/en/api-reference/gpt-image-2-6/create-image"},{"title":"Edit image","deprecated":null,"version":null,"sidebarTitle":"Edit image","openapi":"/openapi/en/gpt-image-2-6.json post /v1/images/edits","href":"/en/api-reference/gpt-image-2-6/edit-image"}]},{"group":"GPT Image 2.5","icon":"/icons/openai.svg","pages":[{"title":"GPT Image 2.5","sidebarTitle":"Introduction","href":"/en/image/models/gpt-image-2-5"},{"title":"Create image","deprecated":null,"version":null,"sidebarTitle":"Create image","openapi":"/openapi/en/gpt-image-2-5.json post /v1/images/generations","href":"/en/api-reference/gpt-image-2-5/create-image"},{"title":"Edit image","deprecated":null,"version":null,"sidebarTitle":"Edit image","openapi":"/openapi/en/gpt-image-2-5.json post /v1/images/edits","href":"/en/api-reference/gpt-image-2-5/edit-image"}]},{"group":"GPT Image 2","icon":"/icons/openai.svg","pages":[{"title":"GPT Image 2","sidebarTitle":"Introduction","href":"/en/image/models/gpt-image-2"},{"title":"Create image","deprecated":null,"version":null,"sidebarTitle":"Create image","openapi":"/openapi/en/gpt-image-2.json post /v1/images/generations","href":"/en/api-reference/gpt-image-2/create-image"},{"title":"Edit image","deprecated":null,"version":null,"sidebarTitle":"Edit image","openapi":"/openapi/en/gpt-image-2.json post /v1/images/edits","href":"/en/api-reference/gpt-image-2/edit-image"}]},{"group":"GPT Image 2.6 Economy","icon":"/icons/openai.svg","pages":[{"title":"GPT Image 2.6 Economy","sidebarTitle":"Introduction","href":"/en/image/models/gpt-image-2-6-economy"},{"title":"Create image","deprecated":null,"version":null,"sidebarTitle":"Create image","openapi":"/openapi/en/gpt-image-2-6-economy.json post /v1/images/generations","href":"/en/api-reference/gpt-image-2-6-economy/create-image"},{"title":"Edit image","deprecated":null,"version":null,"sidebarTitle":"Edit image","openapi":"/openapi/en/gpt-image-2-6-economy.json post /v1/images/edits","href":"/en/api-reference/gpt-image-2-6-economy/edit-image"}]},{"group":"GPT Image 2.5 Economy","icon":"/icons/openai.svg","pages":[{"title":"GPT Image 2.5 Economy","sidebarTitle":"Introduction","href":"/en/image/models/gpt-image-2-5-economy"},{"title":"Create image","deprecated":null,"version":null,"sidebarTitle":"Create image","openapi":"/openapi/en/gpt-image-2-5-economy.json post /v1/images/generations","href":"/en/api-reference/gpt-image-2-5-economy/create-image"},{"title":"Edit image","deprecated":null,"version":null,"sidebarTitle":"Edit image","openapi":"/openapi/en/gpt-image-2-5-economy.json post /v1/images/edits","href":"/en/api-reference/gpt-image-2-5-economy/edit-image"}]},{"group":"GPT Image 2 Economy","icon":"/icons/openai.svg","pages":[{"title":"GPT Image 2 Economy","sidebarTitle":"Introduction","href":"/en/image/models/gpt-image-2-economy"},{"title":"Create image","deprecated":null,"version":null,"sidebarTitle":"Create image","openapi":"/openapi/en/gpt-image-2-economy.json post /v1/images/generations","href":"/en/api-reference/gpt-image-2-economy/create-image"},{"title":"Edit image","deprecated":null,"version":null,"sidebarTitle":"Edit image","openapi":"/openapi/en/gpt-image-2-economy.json post /v1/images/edits","href":"/en/api-reference/gpt-image-2-economy/edit-image"}]},{"group":"Seedream 5.5","icon":"/icons/doubao.svg","pages":[{"title":"Seedream 5.5","sidebarTitle":"Introduction","href":"/en/image/models/seedream-5-5"},{"title":"Create image","deprecated":null,"version":null,"sidebarTitle":"Create image","openapi":"/openapi/en/seedream-5-5.json post /api/v3/images/generations","href":"/en/api-reference/seedream-5-5/create-image"},{"group":"Guides","icon":"wand-magic-sparkles","expanded":true,"pages":[{"title":"Multi-turn editing consistency","href":"/en/image/models/seedream-5-5/multi-turn-editing"},{"title":"Native RGBA images (transparent background)","href":"/en/image/models/seedream-5-5/native-rgba"},{"title":"Fine-grained layer decomposition","href":"/en/image/models/seedream-5-5/layer-decomposition"},{"title":"Rich-text OCR (text-layer content and styles)","href":"/en/image/models/seedream-5-5/rich-text-ocr"},{"title":"Image output options and limits","href":"/en/image/models/seedream-5-5/image-output"},{"title":"OCR supported fonts","href":"/en/image/models/seedream-5-5/ocr-supported-fonts"}]}]},{"group":"Qwen-Image 3.0 Pro","icon":"/icons/qwen.svg","pages":[{"title":"Qwen-Image 3.0 Pro","sidebarTitle":"Introduction","href":"/en/image/models/qwen-image-3-0-pro"},{"title":"Create image","deprecated":null,"version":null,"sidebarTitle":"Create image","openapi":"/openapi/en/qwen-image-3-0-pro.json post /api/v1/services/aigc/multimodal-generation/generation","href":"/en/api-reference/qwen-image-3-0-pro/create-image"},{"group":"Guides","icon":"wand-magic-sparkles","expanded":true,"pages":[{"title":"Text to image","href":"/en/image/models/qwen-image-3-0-pro/text-to-image"},{"title":"Image editing and multi-image fusion","href":"/en/image/models/qwen-image-3-0-pro/image-editing"},{"title":"Prompt rewriting","href":"/en/image/models/qwen-image-3-0-pro/prompt-rewriting"},{"title":"Sizes and billing tiers","href":"/en/image/models/qwen-image-3-0-pro/size-and-billing"}]}]},{"group":"Qwen-Image 3.0","icon":"/icons/qwen.svg","pages":[{"title":"Qwen-Image 3.0","sidebarTitle":"Introduction","href":"/en/image/models/qwen-image-3-0"},{"title":"Create image","deprecated":null,"version":null,"sidebarTitle":"Create image","openapi":"/openapi/en/qwen-image-3-0.json post /api/v1/services/aigc/multimodal-generation/generation","href":"/en/api-reference/qwen-image-3-0/create-image"},{"group":"Guides","icon":"wand-magic-sparkles","expanded":true,"pages":[{"title":"Text to image","href":"/en/image/models/qwen-image-3-0/text-to-image"},{"title":"Image editing and multi-image fusion","href":"/en/image/models/qwen-image-3-0/image-editing"},{"title":"Prompt rewriting","href":"/en/image/models/qwen-image-3-0/prompt-rewriting"},{"title":"Sizes and billing tiers","href":"/en/image/models/qwen-image-3-0/size-and-billing"}]}]},{"group":"Qwen-Image 2.1 Pro","icon":"/icons/qwen.svg","pages":[{"title":"Qwen-Image 2.1 Pro","sidebarTitle":"Introduction","href":"/en/image/models/qwen-image-2-1-pro"},{"title":"Create image","deprecated":null,"version":null,"sidebarTitle":"Create image","openapi":"/openapi/en/qwen-image-2-1-pro.json post /v1/images/generations","href":"/en/api-reference/qwen-image-2-1-pro/create-image"}]},{"group":"Qwen-Image 2.1 Turbo","icon":"/icons/qwen.svg","pages":[{"title":"Qwen-Image 2.1 Turbo","sidebarTitle":"Introduction","href":"/en/image/models/qwen-image-2-1-turbo"},{"title":"Create image","deprecated":null,"version":null,"sidebarTitle":"Create image","openapi":"/openapi/en/qwen-image-2-1-turbo.json post /v1/images/generations","href":"/en/api-reference/qwen-image-2-1-turbo/create-image"}]}]},{"group":"Seedance video","pages":[{"title":"Seedance video generation: shared guide","sidebarTitle":"Shared guide","href":"/en/video/seedance-2-0"},{"sidebarTitle":"Callbacks and signatures","title":"Task callback","href":"/en/webhooks/task-callback"},{"group":"Seedance 2.5","icon":"/icons/doubao.svg","pages":[{"title":"Seedance 2.5 video generation","sidebarTitle":"Introduction","href":"/en/video/models/seedance-2-5"},{"title":"Create video task","deprecated":null,"version":null,"sidebarTitle":"Create video task","openapi":"/openapi/en/seedance-2-5.json post /api/v3/contents/generations/tasks","href":"/en/api-reference/seedance-2-5/create-task"},{"title":"Get task","deprecated":null,"version":null,"sidebarTitle":"Get task","openapi":"/openapi/en/seedance-2-5.json get /api/v3/contents/generations/tasks/{id}","href":"/en/api-reference/seedance-2-5/get-task"},{"title":"List tasks","deprecated":null,"version":null,"sidebarTitle":"List tasks","openapi":"/openapi/en/seedance-2-5.json get /api/v3/contents/generations/tasks","href":"/en/api-reference/seedance-2-5/list-tasks"},{"title":"Task completed callback","version":null,"deprecated":null,"sidebarTitle":"Task completed callback","openapi":"/openapi/en/seedance-2-5.json webhook seedanceTaskCompleted","href":"/en/api-reference/seedance-2-5/task-callback"},{"group":"Examples","icon":"wand-magic-sparkles","expanded":true,"pages":[{"title":"Text to video","href":"/en/video/models/seedance-2-5/scenarios/text-to-video"},{"title":"Image to video (first frame)","href":"/en/video/models/seedance-2-5/scenarios/image-to-video"},{"title":"First and last frame","href":"/en/video/models/seedance-2-5/scenarios/first-last-frame"},{"title":"Multi-image reference","href":"/en/video/models/seedance-2-5/scenarios/multi-image-reference"},{"title":"Video editing","href":"/en/video/models/seedance-2-5/scenarios/video-edit"},{"title":"Video extension","href":"/en/video/models/seedance-2-5/scenarios/video-extend"},{"title":"Reference audio","href":"/en/video/models/seedance-2-5/scenarios/reference-audio"},{"title":"Web search","href":"/en/video/models/seedance-2-5/scenarios/web-search"},{"title":"Asset library reference","href":"/en/video/models/seedance-2-5/scenarios/asset-reference"},{"title":"Smart duration + callback","href":"/en/video/models/seedance-2-5/scenarios/smart-duration-callback"},{"title":"Seedance 2.5 long video","href":"/en/video/models/seedance-2-5/scenarios/seedance-2-5-long-video"}]}]},{"group":"Seedance 2.5 Flash","icon":"/icons/doubao.svg","pages":[{"title":"Seedance 2.5 Flash video generation","sidebarTitle":"Introduction","href":"/en/video/models/seedance-2-5-flash"},{"title":"Create video task","deprecated":null,"version":null,"sidebarTitle":"Create video task","openapi":"/openapi/en/seedance-2-5-flash.json post /api/v3/contents/generations/tasks","href":"/en/api-reference/seedance-2-5-flash/create-task"},{"title":"Get task","deprecated":null,"version":null,"sidebarTitle":"Get task","openapi":"/openapi/en/seedance-2-5-flash.json get /api/v3/contents/generations/tasks/{id}","href":"/en/api-reference/seedance-2-5-flash/get-task"},{"title":"List tasks","deprecated":null,"version":null,"sidebarTitle":"List tasks","openapi":"/openapi/en/seedance-2-5-flash.json get /api/v3/contents/generations/tasks","href":"/en/api-reference/seedance-2-5-flash/list-tasks"},{"group":"Examples","icon":"wand-magic-sparkles","expanded":true,"pages":[{"title":"Text to video","href":"/en/video/models/seedance-2-5-flash/scenarios/text-to-video"},{"title":"Image to video (first frame)","href":"/en/video/models/seedance-2-5-flash/scenarios/image-to-video"},{"title":"First and last frame","href":"/en/video/models/seedance-2-5-flash/scenarios/first-last-frame"},{"title":"Multi-image reference","href":"/en/video/models/seedance-2-5-flash/scenarios/multi-image-reference"},{"title":"Video editing","href":"/en/video/models/seedance-2-5-flash/scenarios/video-edit"},{"title":"Video extension","href":"/en/video/models/seedance-2-5-flash/scenarios/video-extend"},{"title":"Reference audio","href":"/en/video/models/seedance-2-5-flash/scenarios/reference-audio"},{"title":"Web search","href":"/en/video/models/seedance-2-5-flash/scenarios/web-search"}]}]},{"group":"Seedance 2.0","icon":"/icons/doubao.svg","pages":[{"title":"Seedance 2.0 video generation","sidebarTitle":"Introduction","href":"/en/video/models/seedance-2-0"},{"title":"Create video task","deprecated":null,"version":null,"sidebarTitle":"Create video task","openapi":"/openapi/en/seedance-2-0.json post /api/v3/contents/generations/tasks","href":"/en/api-reference/seedance-2-0/create-task"},{"title":"Get task","deprecated":null,"version":null,"sidebarTitle":"Get task","openapi":"/openapi/en/seedance-2-0.json get /api/v3/contents/generations/tasks/{id}","href":"/en/api-reference/seedance-2-0/get-task"},{"title":"List tasks","deprecated":null,"version":null,"sidebarTitle":"List tasks","openapi":"/openapi/en/seedance-2-0.json get /api/v3/contents/generations/tasks","href":"/en/api-reference/seedance-2-0/list-tasks"},{"title":"Task completed callback","version":null,"deprecated":null,"sidebarTitle":"Task completed callback","openapi":"/openapi/en/seedance-2-0.json webhook seedanceTaskCompleted","href":"/en/api-reference/seedance-2-0/task-callback"},{"group":"Examples","icon":"wand-magic-sparkles","expanded":true,"pages":[{"title":"Text to video","href":"/en/video/models/seedance-2-0/scenarios/text-to-video"},{"title":"Image to video (first frame)","href":"/en/video/models/seedance-2-0/scenarios/image-to-video"},{"title":"First and last frame","href":"/en/video/models/seedance-2-0/scenarios/first-last-frame"},{"title":"Multi-image reference","href":"/en/video/models/seedance-2-0/scenarios/multi-image-reference"},{"title":"Video editing","href":"/en/video/models/seedance-2-0/scenarios/video-edit"},{"title":"Video extension","href":"/en/video/models/seedance-2-0/scenarios/video-extend"},{"title":"Reference audio","href":"/en/video/models/seedance-2-0/scenarios/reference-audio"},{"title":"Web search","href":"/en/video/models/seedance-2-0/scenarios/web-search"},{"title":"Asset library reference","href":"/en/video/models/seedance-2-0/scenarios/asset-reference"},{"title":"Smart duration + callback","href":"/en/video/models/seedance-2-0/scenarios/smart-duration-callback"}]}]},{"group":"Seedance 2.0 Fast","icon":"/icons/doubao.svg","pages":[{"title":"Seedance 2.0 Fast video generation","sidebarTitle":"Introduction","href":"/en/video/models/seedance-2-0-fast"},{"title":"Create video task","deprecated":null,"version":null,"sidebarTitle":"Create video task","openapi":"/openapi/en/seedance-2-0-fast.json post /api/v3/contents/generations/tasks","href":"/en/api-reference/seedance-2-0-fast/create-task"},{"title":"Get task","deprecated":null,"version":null,"sidebarTitle":"Get task","openapi":"/openapi/en/seedance-2-0-fast.json get /api/v3/contents/generations/tasks/{id}","href":"/en/api-reference/seedance-2-0-fast/get-task"},{"title":"List tasks","deprecated":null,"version":null,"sidebarTitle":"List tasks","openapi":"/openapi/en/seedance-2-0-fast.json get /api/v3/contents/generations/tasks","href":"/en/api-reference/seedance-2-0-fast/list-tasks"},{"title":"Task completed callback","version":null,"deprecated":null,"sidebarTitle":"Task completed callback","openapi":"/openapi/en/seedance-2-0-fast.json webhook seedanceTaskCompleted","href":"/en/api-reference/seedance-2-0-fast/task-callback"},{"group":"Examples","icon":"wand-magic-sparkles","expanded":true,"pages":[{"title":"Text to video","href":"/en/video/models/seedance-2-0-fast/scenarios/text-to-video"},{"title":"Image to video (first frame)","href":"/en/video/models/seedance-2-0-fast/scenarios/image-to-video"},{"title":"First and last frame","href":"/en/video/models/seedance-2-0-fast/scenarios/first-last-frame"},{"title":"Multi-image reference","href":"/en/video/models/seedance-2-0-fast/scenarios/multi-image-reference"},{"title":"Reference audio","href":"/en/video/models/seedance-2-0-fast/scenarios/reference-audio"},{"title":"Web search","href":"/en/video/models/seedance-2-0-fast/scenarios/web-search"},{"title":"Asset library reference","href":"/en/video/models/seedance-2-0-fast/scenarios/asset-reference"},{"title":"Fast / Mini drafts","href":"/en/video/models/seedance-2-0-fast/scenarios/fast-draft"}]}]},{"group":"Seedance 2.0 Mini","icon":"/icons/doubao.svg","pages":[{"title":"Seedance 2.0 Mini video generation","sidebarTitle":"Introduction","href":"/en/video/models/seedance-2-0-mini"},{"title":"Create video task","deprecated":null,"version":null,"sidebarTitle":"Create video task","openapi":"/openapi/en/seedance-2-0-mini.json post /api/v3/contents/generations/tasks","href":"/en/api-reference/seedance-2-0-mini/create-task"},{"title":"Get task","deprecated":null,"version":null,"sidebarTitle":"Get task","openapi":"/openapi/en/seedance-2-0-mini.json get /api/v3/contents/generations/tasks/{id}","href":"/en/api-reference/seedance-2-0-mini/get-task"},{"title":"List tasks","deprecated":null,"version":null,"sidebarTitle":"List tasks","openapi":"/openapi/en/seedance-2-0-mini.json get /api/v3/contents/generations/tasks","href":"/en/api-reference/seedance-2-0-mini/list-tasks"},{"title":"Task completed callback","version":null,"deprecated":null,"sidebarTitle":"Task completed callback","openapi":"/openapi/en/seedance-2-0-mini.json webhook seedanceTaskCompleted","href":"/en/api-reference/seedance-2-0-mini/task-callback"},{"group":"Examples","icon":"wand-magic-sparkles","expanded":true,"pages":[{"title":"Text to video","href":"/en/video/models/seedance-2-0-mini/scenarios/text-to-video"},{"title":"Image to video (first frame)","href":"/en/video/models/seedance-2-0-mini/scenarios/image-to-video"},{"title":"First and last frame","href":"/en/video/models/seedance-2-0-mini/scenarios/first-last-frame"},{"title":"Multi-image reference","href":"/en/video/models/seedance-2-0-mini/scenarios/multi-image-reference"},{"title":"Reference audio","href":"/en/video/models/seedance-2-0-mini/scenarios/reference-audio"},{"title":"Web search","href":"/en/video/models/seedance-2-0-mini/scenarios/web-search"},{"title":"Asset library reference","href":"/en/video/models/seedance-2-0-mini/scenarios/asset-reference"},{"title":"Fast / Mini drafts","href":"/en/video/models/seedance-2-0-mini/scenarios/fast-draft"}]}]},{"group":"Seedance asset library","icon":"/icons/doubao.svg","pages":[{"title":"Seedance asset library","sidebarTitle":"Overview","href":"/en/assets/seedance-asset-library"},{"title":"CreateAssetGroup","deprecated":null,"version":null,"sidebarTitle":"CreateAssetGroup","openapi":"/openapi/en.json post /api/v3/assets?Action=CreateAssetGroup\u0026Version=2024-01-01","href":"/en/api-reference/assets/create-asset-group"},{"title":"GetAssetGroup","deprecated":null,"version":null,"sidebarTitle":"GetAssetGroup","openapi":"/openapi/en.json post /api/v3/assets?Action=GetAssetGroup\u0026Version=2024-01-01","href":"/en/api-reference/assets/get-asset-group"},{"title":"ListAssetGroups","deprecated":null,"version":null,"sidebarTitle":"ListAssetGroups","openapi":"/openapi/en.json post /api/v3/assets?Action=ListAssetGroups\u0026Version=2024-01-01","href":"/en/api-reference/assets/list-asset-groups"},{"title":"UpdateAssetGroup","deprecated":null,"version":null,"sidebarTitle":"UpdateAssetGroup","openapi":"/openapi/en.json post /api/v3/assets?Action=UpdateAssetGroup\u0026Version=2024-01-01","href":"/en/api-reference/assets/update-asset-group"},{"title":"DeleteAssetGroup","deprecated":null,"version":null,"sidebarTitle":"DeleteAssetGroup","openapi":"/openapi/en.json post /api/v3/assets?Action=DeleteAssetGroup\u0026Version=2024-01-01","href":"/en/api-reference/assets/delete-asset-group"},{"title":"CreateAsset","deprecated":null,"version":null,"sidebarTitle":"CreateAsset","openapi":"/openapi/en.json post /api/v3/assets?Action=CreateAsset\u0026Version=2024-01-01","href":"/en/api-reference/assets/create-asset"},{"title":"GetAsset","deprecated":null,"version":null,"sidebarTitle":"GetAsset","openapi":"/openapi/en.json post /api/v3/assets?Action=GetAsset\u0026Version=2024-01-01","href":"/en/api-reference/assets/get-asset"},{"title":"ListAssets","deprecated":null,"version":null,"sidebarTitle":"ListAssets","openapi":"/openapi/en.json post /api/v3/assets?Action=ListAssets\u0026Version=2024-01-01","href":"/en/api-reference/assets/list-assets"},{"title":"UpdateAsset","deprecated":null,"version":null,"sidebarTitle":"UpdateAsset","openapi":"/openapi/en.json post /api/v3/assets?Action=UpdateAsset\u0026Version=2024-01-01","href":"/en/api-reference/assets/update-asset"},{"title":"DeleteAsset","deprecated":null,"version":null,"sidebarTitle":"DeleteAsset","openapi":"/openapi/en.json post /api/v3/assets?Action=DeleteAsset\u0026Version=2024-01-01","href":"/en/api-reference/assets/delete-asset"}]}]},{"group":"MiniMax video","pages":[{"group":"MiniMax H3","icon":"/icons/minimax.svg","pages":[{"title":"MiniMax H3","sidebarTitle":"Introduction","href":"/en/video/models/minimax-h3"},{"title":"Create video generation task","deprecated":null,"version":null,"sidebarTitle":"Create video generation task","openapi":"/openapi/en/minimax-h3.json post /v2/video_generation","href":"/en/api-reference/minimax-h3/create-video-generation"},{"title":"Create video regeneration task","deprecated":null,"version":null,"sidebarTitle":"Create video regeneration task","openapi":"/openapi/en/minimax-h3.json post /v2/video_regeneration","href":"/en/api-reference/minimax-h3/create-video-regeneration"},{"title":"Create H3 Context IR task","deprecated":null,"version":null,"sidebarTitle":"Create H3 Context IR task","openapi":"/openapi/en/minimax-h3.json post /v2/h3_context_ir","href":"/en/api-reference/minimax-h3/create-context-ir"},{"title":"Query task","deprecated":null,"version":null,"sidebarTitle":"Query task","openapi":"/openapi/en/minimax-h3.json get /v2/query/video_generation/{task_id}","href":"/en/api-reference/minimax-h3/query-task"}]}]},{"group":"Kling video","pages":[{"group":"Kling 4.0","icon":"/icons/kling.svg","pages":[{"title":"Kling 4.0","sidebarTitle":"Introduction","href":"/en/video/models/kling-4-0"},{"title":"Create a video task","deprecated":null,"version":null,"sidebarTitle":"Create a video task","openapi":"/openapi/en/kling-4-0.json post /v1/videos","href":"/en/api-reference/kling-4-0/create-task"},{"title":"Query a video task","deprecated":null,"version":null,"sidebarTitle":"Query a video task","openapi":"/openapi/en/kling-4-0.json get /v1/videos/{task_id}","href":"/en/api-reference/kling-4-0/query-task"}]},{"group":"Kling 4.0 Omni","icon":"/icons/kling.svg","pages":[{"title":"Kling 4.0 Omni","sidebarTitle":"Introduction","href":"/en/video/models/kling-4-0-omni"},{"title":"Create a video task","deprecated":null,"version":null,"sidebarTitle":"Create a video task","openapi":"/openapi/en/kling-4-0-omni.json post /v1/videos","href":"/en/api-reference/kling-4-0-omni/create-task"},{"title":"Query a video task","deprecated":null,"version":null,"sidebarTitle":"Query a video task","openapi":"/openapi/en/kling-4-0-omni.json get /v1/videos/{task_id}","href":"/en/api-reference/kling-4-0-omni/query-task"}]}]},{"group":"Vidu video","pages":[{"group":"Vidu Q4 Preview","icon":"/icons/vidu.svg","pages":[{"title":"Vidu Q4 Preview","sidebarTitle":"Introduction","href":"/en/video/models/vidu-q4-preview"},{"title":"Create a video task","deprecated":null,"version":null,"sidebarTitle":"Create a video task","openapi":"/openapi/en/vidu-q4-preview.json post /v1/videos","href":"/en/api-reference/vidu-q4-preview/create-task"},{"title":"Query a video task","deprecated":null,"version":null,"sidebarTitle":"Query a video task","openapi":"/openapi/en/vidu-q4-preview.json get /v1/videos/{task_id}","href":"/en/api-reference/vidu-q4-preview/query-task"}]}]},{"group":"Wan video","pages":[{"group":"Wan 3.0","icon":"/icons/qwen.svg","pages":[{"title":"Wan 3.0","sidebarTitle":"Introduction","href":"/en/video/models/wan-3-0"},{"title":"Create video generation task","deprecated":null,"version":null,"sidebarTitle":"Create video generation task","openapi":"/openapi/en/wan-3-0.json post /api/v1/services/aigc/video-generation/video-synthesis","href":"/en/api-reference/wan-3-0/create-video-synthesis"},{"title":"Query task","deprecated":null,"version":null,"sidebarTitle":"Query task","openapi":"/openapi/en/wan-3-0.json get /api/v1/tasks/{task_id}","href":"/en/api-reference/wan-3-0/query-task"},{"group":"Examples","icon":"wand-magic-sparkles","expanded":true,"pages":[{"title":"Text to video","href":"/en/video/models/wan-3-0/scenarios/text-to-video"},{"title":"Image to video (first frame)","href":"/en/video/models/wan-3-0/scenarios/image-to-video"},{"title":"First \u0026 last frame to video","href":"/en/video/models/wan-3-0/scenarios/first-last-frame"},{"title":"Omni reference to video","href":"/en/video/models/wan-3-0/scenarios/multi-reference"},{"title":"Video edit","href":"/en/video/models/wan-3-0/scenarios/video-edit"},{"title":"Video extend","href":"/en/video/models/wan-3-0/scenarios/video-extend"}]}]},{"group":"Wan 3.0 Prime","icon":"/icons/qwen.svg","pages":[{"title":"Wan 3.0 Prime","sidebarTitle":"Introduction","href":"/en/video/models/wan-3-0-prime"},{"title":"Create video generation task","deprecated":null,"version":null,"sidebarTitle":"Create video generation task","openapi":"/openapi/en/wan-3-0-prime.json post /api/v1/services/aigc/video-generation/video-synthesis","href":"/en/api-reference/wan-3-0-prime/create-video-synthesis"},{"title":"Query task","deprecated":null,"version":null,"sidebarTitle":"Query task","openapi":"/openapi/en/wan-3-0-prime.json get /api/v1/tasks/{task_id}","href":"/en/api-reference/wan-3-0-prime/query-task"},{"group":"Examples","icon":"wand-magic-sparkles","expanded":true,"pages":[{"title":"Text to video","href":"/en/video/models/wan-3-0-prime/scenarios/text-to-video"},{"title":"Image to video (first frame)","href":"/en/video/models/wan-3-0-prime/scenarios/image-to-video"},{"title":"First \u0026 last frame to video","href":"/en/video/models/wan-3-0-prime/scenarios/first-last-frame"},{"title":"Omni reference to video","href":"/en/video/models/wan-3-0-prime/scenarios/multi-reference"},{"title":"Video edit","href":"/en/video/models/wan-3-0-prime/scenarios/video-edit"},{"title":"Video extend","href":"/en/video/models/wan-3-0-prime/scenarios/video-extend"}]}]},{"group":"Wan 3.0 Spicy","icon":"/icons/qwen.svg","pages":[{"title":"Wan 3.0 Spicy","sidebarTitle":"Introduction","href":"/en/video/models/wan-3-0-spicy"},{"title":"Create video generation task","deprecated":null,"version":null,"sidebarTitle":"Create video generation task","openapi":"/openapi/en/wan-3-0-spicy.json post /api/v1/services/aigc/video-generation/video-synthesis","href":"/en/api-reference/wan-3-0-spicy/create-video-synthesis"},{"title":"Query task","deprecated":null,"version":null,"sidebarTitle":"Query task","openapi":"/openapi/en/wan-3-0-spicy.json get /api/v1/tasks/{task_id}","href":"/en/api-reference/wan-3-0-spicy/query-task"},{"group":"Examples","icon":"wand-magic-sparkles","expanded":true,"pages":[{"title":"Text to video","href":"/en/video/models/wan-3-0-spicy/scenarios/text-to-video"},{"title":"Image to video (first frame)","href":"/en/video/models/wan-3-0-spicy/scenarios/image-to-video"},{"title":"First \u0026 last frame to video","href":"/en/video/models/wan-3-0-spicy/scenarios/first-last-frame"},{"title":"Omni reference to video","href":"/en/video/models/wan-3-0-spicy/scenarios/multi-reference"},{"title":"Video edit","href":"/en/video/models/wan-3-0-spicy/scenarios/video-edit"},{"title":"Video extend","href":"/en/video/models/wan-3-0-spicy/scenarios/video-extend"}]}]}]},{"group":"PixVerse video","pages":[{"group":"PixVerse V6 Max Text to Video","icon":"/icons/pixverse.svg","pages":[{"title":"PixVerse V6 Max Text to Video","sidebarTitle":"Introduction","href":"/en/video/models/pixverse-v6-max-text-to-video"},{"title":"Create task","deprecated":null,"version":null,"sidebarTitle":"Create task","openapi":"/openapi/en/pixverse-v6-max-text-to-video.json post /api/v1/jobs/createTask","href":"/en/api-reference/pixverse-v6-max-text-to-video/create-task"},{"title":"Get task","deprecated":null,"version":null,"sidebarTitle":"Get task","openapi":"/openapi/en/pixverse-v6-max-text-to-video.json get /api/v1/jobs/recordInfo","href":"/en/api-reference/pixverse-v6-max-text-to-video/query-task"},{"title":"Task callback","version":null,"deprecated":null,"sidebarTitle":"Task callback","openapi":"/openapi/en/pixverse-v6-max-text-to-video.json webhook pixverseTaskCompleted","href":"/en/api-reference/pixverse-v6-max-text-to-video/task-callback"}]},{"group":"PixVerse V6 Max Image to Video","icon":"/icons/pixverse.svg","pages":[{"title":"PixVerse V6 Max Image to Video","sidebarTitle":"Introduction","href":"/en/video/models/pixverse-v6-max-image-to-video"},{"title":"Create task","deprecated":null,"version":null,"sidebarTitle":"Create task","openapi":"/openapi/en/pixverse-v6-max-image-to-video.json post /api/v1/jobs/createTask","href":"/en/api-reference/pixverse-v6-max-image-to-video/create-task"},{"title":"Get task","deprecated":null,"version":null,"sidebarTitle":"Get task","openapi":"/openapi/en/pixverse-v6-max-image-to-video.json get /api/v1/jobs/recordInfo","href":"/en/api-reference/pixverse-v6-max-image-to-video/query-task"},{"title":"Task callback","version":null,"deprecated":null,"sidebarTitle":"Task callback","openapi":"/openapi/en/pixverse-v6-max-image-to-video.json webhook pixverseTaskCompleted","href":"/en/api-reference/pixverse-v6-max-image-to-video/task-callback"}]},{"group":"PixVerse V6 Text to Video","icon":"/icons/pixverse.svg","pages":[{"title":"PixVerse V6 Text to Video","sidebarTitle":"Introduction","href":"/en/video/models/pixverse-v6-text-to-video"},{"title":"Create task","deprecated":null,"version":null,"sidebarTitle":"Create task","openapi":"/openapi/en/pixverse-v6-text-to-video.json post /api/v1/jobs/createTask","href":"/en/api-reference/pixverse-v6-text-to-video/create-task"},{"title":"Get task","deprecated":null,"version":null,"sidebarTitle":"Get task","openapi":"/openapi/en/pixverse-v6-text-to-video.json get /api/v1/jobs/recordInfo","href":"/en/api-reference/pixverse-v6-text-to-video/query-task"},{"title":"Task callback","version":null,"deprecated":null,"sidebarTitle":"Task callback","openapi":"/openapi/en/pixverse-v6-text-to-video.json webhook pixverseTaskCompleted","href":"/en/api-reference/pixverse-v6-text-to-video/task-callback"}]},{"group":"PixVerse V6 Image to Video","icon":"/icons/pixverse.svg","pages":[{"title":"PixVerse V6 Image to Video","sidebarTitle":"Introduction","href":"/en/video/models/pixverse-v6-image-to-video"},{"title":"Create task","deprecated":null,"version":null,"sidebarTitle":"Create task","openapi":"/openapi/en/pixverse-v6-image-to-video.json post /api/v1/jobs/createTask","href":"/en/api-reference/pixverse-v6-image-to-video/create-task"},{"title":"Get task","deprecated":null,"version":null,"sidebarTitle":"Get task","openapi":"/openapi/en/pixverse-v6-image-to-video.json get /api/v1/jobs/recordInfo","href":"/en/api-reference/pixverse-v6-image-to-video/query-task"},{"title":"Task callback","version":null,"deprecated":null,"sidebarTitle":"Task callback","openapi":"/openapi/en/pixverse-v6-image-to-video.json webhook pixverseTaskCompleted","href":"/en/api-reference/pixverse-v6-image-to-video/task-callback"}]},{"group":"PixVerse V6 Transition","icon":"/icons/pixverse.svg","pages":[{"title":"PixVerse V6 Transition","sidebarTitle":"Introduction","href":"/en/video/models/pixverse-v6-transition"},{"title":"Create task","deprecated":null,"version":null,"sidebarTitle":"Create task","openapi":"/openapi/en/pixverse-v6-transition.json post /api/v1/jobs/createTask","href":"/en/api-reference/pixverse-v6-transition/create-task"},{"title":"Get task","deprecated":null,"version":null,"sidebarTitle":"Get task","openapi":"/openapi/en/pixverse-v6-transition.json get /api/v1/jobs/recordInfo","href":"/en/api-reference/pixverse-v6-transition/query-task"},{"title":"Task callback","version":null,"deprecated":null,"sidebarTitle":"Task callback","openapi":"/openapi/en/pixverse-v6-transition.json webhook pixverseTaskCompleted","href":"/en/api-reference/pixverse-v6-transition/task-callback"}]},{"group":"PixVerse V6 Extend","icon":"/icons/pixverse.svg","pages":[{"title":"PixVerse V6 Extend","sidebarTitle":"Introduction","href":"/en/video/models/pixverse-v6-extend"},{"title":"Create task","deprecated":null,"version":null,"sidebarTitle":"Create task","openapi":"/openapi/en/pixverse-v6-extend.json post /api/v1/jobs/createTask","href":"/en/api-reference/pixverse-v6-extend/create-task"},{"title":"Get task","deprecated":null,"version":null,"sidebarTitle":"Get task","openapi":"/openapi/en/pixverse-v6-extend.json get /api/v1/jobs/recordInfo","href":"/en/api-reference/pixverse-v6-extend/query-task"},{"title":"Task callback","version":null,"deprecated":null,"sidebarTitle":"Task callback","openapi":"/openapi/en/pixverse-v6-extend.json webhook pixverseTaskCompleted","href":"/en/api-reference/pixverse-v6-extend/task-callback"}]},{"group":"PixVerse V6 Reference to Video","icon":"/icons/pixverse.svg","pages":[{"title":"PixVerse V6 Reference to Video","sidebarTitle":"Introduction","href":"/en/video/models/pixverse-v6-reference-to-video"},{"title":"Create task","deprecated":null,"version":null,"sidebarTitle":"Create task","openapi":"/openapi/en/pixverse-v6-reference-to-video.json post /api/v1/jobs/createTask","href":"/en/api-reference/pixverse-v6-reference-to-video/create-task"},{"title":"Get task","deprecated":null,"version":null,"sidebarTitle":"Get task","openapi":"/openapi/en/pixverse-v6-reference-to-video.json get /api/v1/jobs/recordInfo","href":"/en/api-reference/pixverse-v6-reference-to-video/query-task"},{"title":"Task callback","version":null,"deprecated":null,"sidebarTitle":"Task callback","openapi":"/openapi/en/pixverse-v6-reference-to-video.json webhook pixverseTaskCompleted","href":"/en/api-reference/pixverse-v6-reference-to-video/task-callback"}]}]},{"group":"MAGI-2 video","pages":[{"group":"MAGI-2 Text to Video","icon":"video","pages":[{"title":"MAGI-2 Text to Video","sidebarTitle":"Introduction","href":"/en/video/models/magi-2-text-to-video"},{"title":"Create task","deprecated":null,"version":null,"sidebarTitle":"Create task","openapi":"/openapi/en/magi-2-text-to-video.json post /api/v1/jobs/createTask","href":"/en/api-reference/magi-2-text-to-video/create-task"},{"title":"Get task","deprecated":null,"version":null,"sidebarTitle":"Get task","openapi":"/openapi/en/magi-2-text-to-video.json get /api/v1/jobs/recordInfo","href":"/en/api-reference/magi-2-text-to-video/query-task"},{"title":"Task callback","version":null,"deprecated":null,"sidebarTitle":"Task callback","openapi":"/openapi/en/magi-2-text-to-video.json webhook magi2TaskCompleted","href":"/en/api-reference/magi-2-text-to-video/task-callback"}]},{"group":"MAGI-2 Image to Video","icon":"video","pages":[{"title":"MAGI-2 Image to Video","sidebarTitle":"Introduction","href":"/en/video/models/magi-2-image-to-video"},{"title":"Create task","deprecated":null,"version":null,"sidebarTitle":"Create task","openapi":"/openapi/en/magi-2-image-to-video.json post /api/v1/jobs/createTask","href":"/en/api-reference/magi-2-image-to-video/create-task"},{"title":"Get task","deprecated":null,"version":null,"sidebarTitle":"Get task","openapi":"/openapi/en/magi-2-image-to-video.json get /api/v1/jobs/recordInfo","href":"/en/api-reference/magi-2-image-to-video/query-task"},{"title":"Task callback","version":null,"deprecated":null,"sidebarTitle":"Task callback","openapi":"/openapi/en/magi-2-image-to-video.json webhook magi2TaskCompleted","href":"/en/api-reference/magi-2-image-to-video/task-callback"}]},{"group":"MAGI-2 Reference to Video","icon":"video","pages":[{"title":"MAGI-2 Reference to Video","sidebarTitle":"Introduction","href":"/en/video/models/magi-2-reference-to-video"},{"title":"Create task","deprecated":null,"version":null,"sidebarTitle":"Create task","openapi":"/openapi/en/magi-2-reference-to-video.json post /api/v1/jobs/createTask","href":"/en/api-reference/magi-2-reference-to-video/create-task"},{"title":"Get task","deprecated":null,"version":null,"sidebarTitle":"Get task","openapi":"/openapi/en/magi-2-reference-to-video.json get /api/v1/jobs/recordInfo","href":"/en/api-reference/magi-2-reference-to-video/query-task"},{"title":"Task callback","version":null,"deprecated":null,"sidebarTitle":"Task callback","openapi":"/openapi/en/magi-2-reference-to-video.json webhook magi2TaskCompleted","href":"/en/api-reference/magi-2-reference-to-video/task-callback"}]}]},{"group":"Music generation","pages":[{"group":"Suno","icon":"music","pages":[{"title":"Suno","sidebarTitle":"Introduction","href":"/en/music/suno"},{"group":"Songs","pages":[{"group":"Generate music","pages":[{"title":"Suno Generate music","sidebarTitle":"Introduction","href":"/en/music/suno/generate"},{"title":"Generate music: Create task","deprecated":null,"version":null,"sidebarTitle":"Create task","openapi":"/openapi/en/suno-generate.json post /api/v1/jobs/createTask","href":"/en/api-reference/suno-generate/create-task"},{"title":"Generate music: Get task","deprecated":null,"version":null,"sidebarTitle":"Get task","openapi":"/openapi/en/suno-generate.json get /api/v1/jobs/recordInfo","href":"/en/api-reference/suno-generate/query-task"},{"title":"Generate music: Task callback","version":null,"deprecated":null,"sidebarTitle":"Task callback","openapi":"/openapi/en/suno-generate.json webhook sunoTaskCompleted","href":"/en/api-reference/suno-generate/task-callback"}]},{"group":"Extend music","pages":[{"title":"Suno Extend music","sidebarTitle":"Introduction","href":"/en/music/suno/extend"},{"title":"Extend music: Create task","deprecated":null,"version":null,"sidebarTitle":"Create task","openapi":"/openapi/en/suno-extend.json post /api/v1/jobs/createTask","href":"/en/api-reference/suno-extend/create-task"},{"title":"Extend music: Get task","deprecated":null,"version":null,"sidebarTitle":"Get task","openapi":"/openapi/en/suno-extend.json get /api/v1/jobs/recordInfo","href":"/en/api-reference/suno-extend/query-task"},{"title":"Extend music: Task callback","version":null,"deprecated":null,"sidebarTitle":"Task callback","openapi":"/openapi/en/suno-extend.json webhook sunoTaskCompleted","href":"/en/api-reference/suno-extend/task-callback"}]},{"group":"Upload and cover audio","pages":[{"title":"Suno Upload and cover audio","sidebarTitle":"Introduction","href":"/en/music/suno/upload-and-cover-audio"},{"title":"Upload and cover audio: Create task","deprecated":null,"version":null,"sidebarTitle":"Create task","openapi":"/openapi/en/suno-upload-and-cover-audio.json post /api/v1/jobs/createTask","href":"/en/api-reference/suno-upload-and-cover-audio/create-task"},{"title":"Upload and cover audio: Get task","deprecated":null,"version":null,"sidebarTitle":"Get task","openapi":"/openapi/en/suno-upload-and-cover-audio.json get /api/v1/jobs/recordInfo","href":"/en/api-reference/suno-upload-and-cover-audio/query-task"},{"title":"Upload and cover audio: Task callback","version":null,"deprecated":null,"sidebarTitle":"Task callback","openapi":"/openapi/en/suno-upload-and-cover-audio.json webhook sunoTaskCompleted","href":"/en/api-reference/suno-upload-and-cover-audio/task-callback"}]},{"group":"Upload and extend audio","pages":[{"title":"Suno Upload and extend audio","sidebarTitle":"Introduction","href":"/en/music/suno/upload-extend"},{"title":"Upload and extend audio: Create task","deprecated":null,"version":null,"sidebarTitle":"Create task","openapi":"/openapi/en/suno-upload-extend.json post /api/v1/jobs/createTask","href":"/en/api-reference/suno-upload-extend/create-task"},{"title":"Upload and extend audio: Get task","deprecated":null,"version":null,"sidebarTitle":"Get task","openapi":"/openapi/en/suno-upload-extend.json get /api/v1/jobs/recordInfo","href":"/en/api-reference/suno-upload-extend/query-task"},{"title":"Upload and extend audio: Task callback","version":null,"deprecated":null,"sidebarTitle":"Task callback","openapi":"/openapi/en/suno-upload-extend.json webhook sunoTaskCompleted","href":"/en/api-reference/suno-upload-extend/task-callback"}]},{"group":"Add instrumental","pages":[{"title":"Suno Add instrumental","sidebarTitle":"Introduction","href":"/en/music/suno/add-instrumental"},{"title":"Add instrumental: Create task","deprecated":null,"version":null,"sidebarTitle":"Create task","openapi":"/openapi/en/suno-add-instrumental.json post /api/v1/jobs/createTask","href":"/en/api-reference/suno-add-instrumental/create-task"},{"title":"Add instrumental: Get task","deprecated":null,"version":null,"sidebarTitle":"Get task","openapi":"/openapi/en/suno-add-instrumental.json get /api/v1/jobs/recordInfo","href":"/en/api-reference/suno-add-instrumental/query-task"},{"title":"Add instrumental: Task callback","version":null,"deprecated":null,"sidebarTitle":"Task callback","openapi":"/openapi/en/suno-add-instrumental.json webhook sunoTaskCompleted","href":"/en/api-reference/suno-add-instrumental/task-callback"}]},{"group":"Add vocals","pages":[{"title":"Suno Add vocals","sidebarTitle":"Introduction","href":"/en/music/suno/add-vocals"},{"title":"Add vocals: Create task","deprecated":null,"version":null,"sidebarTitle":"Create task","openapi":"/openapi/en/suno-add-vocals.json post /api/v1/jobs/createTask","href":"/en/api-reference/suno-add-vocals/create-task"},{"title":"Add vocals: Get task","deprecated":null,"version":null,"sidebarTitle":"Get task","openapi":"/openapi/en/suno-add-vocals.json get /api/v1/jobs/recordInfo","href":"/en/api-reference/suno-add-vocals/query-task"},{"title":"Add vocals: Task callback","version":null,"deprecated":null,"sidebarTitle":"Task callback","openapi":"/openapi/en/suno-add-vocals.json webhook sunoTaskCompleted","href":"/en/api-reference/suno-add-vocals/task-callback"}]},{"group":"Get timestamped lyrics","pages":[{"title":"Suno Get timestamped lyrics","sidebarTitle":"Introduction","href":"/en/music/suno/timestamped-lyrics"},{"title":"Get timestamped lyrics: Create task","deprecated":null,"version":null,"sidebarTitle":"Create task","openapi":"/openapi/en/suno-timestamped-lyrics.json post /api/v1/jobs/createTask","href":"/en/api-reference/suno-timestamped-lyrics/create-task"},{"title":"Get timestamped lyrics: Get task","deprecated":null,"version":null,"sidebarTitle":"Get task","openapi":"/openapi/en/suno-timestamped-lyrics.json get /api/v1/jobs/recordInfo","href":"/en/api-reference/suno-timestamped-lyrics/query-task"}]},{"group":"Boost music style","pages":[{"title":"Suno Boost music style","sidebarTitle":"Introduction","href":"/en/music/suno/boost-style"},{"title":"Boost music style: Create task","deprecated":null,"version":null,"sidebarTitle":"Create task","openapi":"/openapi/en/suno-boost-style.json post /api/v1/jobs/createTask","href":"/en/api-reference/suno-boost-style/create-task"},{"title":"Boost music style: Get task","deprecated":null,"version":null,"sidebarTitle":"Get task","openapi":"/openapi/en/suno-boost-style.json get /api/v1/jobs/recordInfo","href":"/en/api-reference/suno-boost-style/query-task"},{"title":"Boost music style: Task callback","version":null,"deprecated":null,"sidebarTitle":"Task callback","openapi":"/openapi/en/suno-boost-style.json webhook sunoTaskCompleted","href":"/en/api-reference/suno-boost-style/task-callback"}]},{"group":"Generate music cover","pages":[{"title":"Suno Generate music cover","sidebarTitle":"Introduction","href":"/en/music/suno/cover"},{"title":"Generate music cover: Create task","deprecated":null,"version":null,"sidebarTitle":"Create task","openapi":"/openapi/en/suno-cover.json post /api/v1/jobs/createTask","href":"/en/api-reference/suno-cover/create-task"},{"title":"Generate music cover: Get task","deprecated":null,"version":null,"sidebarTitle":"Get task","openapi":"/openapi/en/suno-cover.json get /api/v1/jobs/recordInfo","href":"/en/api-reference/suno-cover/query-task"},{"title":"Generate music cover: Task callback","version":null,"deprecated":null,"sidebarTitle":"Task callback","openapi":"/openapi/en/suno-cover.json webhook sunoTaskCompleted","href":"/en/api-reference/suno-cover/task-callback"}]},{"group":"Replace music section","pages":[{"title":"Suno Replace music section","sidebarTitle":"Introduction","href":"/en/music/suno/replace-section"},{"title":"Replace music section: Create task","deprecated":null,"version":null,"sidebarTitle":"Create task","openapi":"/openapi/en/suno-replace-section.json post /api/v1/jobs/createTask","href":"/en/api-reference/suno-replace-section/create-task"},{"title":"Replace music section: Get task","deprecated":null,"version":null,"sidebarTitle":"Get task","openapi":"/openapi/en/suno-replace-section.json get /api/v1/jobs/recordInfo","href":"/en/api-reference/suno-replace-section/query-task"},{"title":"Replace music section: Task callback","version":null,"deprecated":null,"sidebarTitle":"Task callback","openapi":"/openapi/en/suno-replace-section.json webhook sunoTaskCompleted","href":"/en/api-reference/suno-replace-section/task-callback"}]},{"group":"Generate Persona","pages":[{"title":"Suno Generate Persona","sidebarTitle":"Introduction","href":"/en/music/suno/persona"},{"title":"Generate Persona: Create task","deprecated":null,"version":null,"sidebarTitle":"Create task","openapi":"/openapi/en/suno-persona.json post /api/v1/jobs/createTask","href":"/en/api-reference/suno-persona/create-task"},{"title":"Generate Persona: Get task","deprecated":null,"version":null,"sidebarTitle":"Get task","openapi":"/openapi/en/suno-persona.json get /api/v1/jobs/recordInfo","href":"/en/api-reference/suno-persona/query-task"}]},{"group":"Generate mashup","pages":[{"title":"Suno Generate mashup","sidebarTitle":"Introduction","href":"/en/music/suno/mashup"},{"title":"Generate mashup: Create task","deprecated":null,"version":null,"sidebarTitle":"Create task","openapi":"/openapi/en/suno-mashup.json post /api/v1/jobs/createTask","href":"/en/api-reference/suno-mashup/create-task"},{"title":"Generate mashup: Get task","deprecated":null,"version":null,"sidebarTitle":"Get task","openapi":"/openapi/en/suno-mashup.json get /api/v1/jobs/recordInfo","href":"/en/api-reference/suno-mashup/query-task"},{"title":"Generate mashup: Task callback","version":null,"deprecated":null,"sidebarTitle":"Task callback","openapi":"/openapi/en/suno-mashup.json webhook sunoTaskCompleted","href":"/en/api-reference/suno-mashup/task-callback"}]},{"group":"Recover audio","pages":[{"title":"Suno Recover audio","sidebarTitle":"Introduction","href":"/en/music/suno/recovery-audio"},{"title":"Recover audio: Create task","deprecated":null,"version":null,"sidebarTitle":"Create task","openapi":"/openapi/en/suno-recovery-audio.json post /api/v1/jobs/createTask","href":"/en/api-reference/suno-recovery-audio/create-task"},{"title":"Recover audio: Get task","deprecated":null,"version":null,"sidebarTitle":"Get task","openapi":"/openapi/en/suno-recovery-audio.json get /api/v1/jobs/recordInfo","href":"/en/api-reference/suno-recovery-audio/query-task"},{"title":"Recover audio: Task callback","version":null,"deprecated":null,"sidebarTitle":"Task callback","openapi":"/openapi/en/suno-recovery-audio.json webhook sunoTaskCompleted","href":"/en/api-reference/suno-recovery-audio/task-callback"}]}]},{"group":"WAV conversion","pages":[{"group":"Convert to WAV format","pages":[{"title":"Suno Convert to WAV format","sidebarTitle":"Introduction","href":"/en/music/suno/wav"},{"title":"Convert to WAV format: Create task","deprecated":null,"version":null,"sidebarTitle":"Create task","openapi":"/openapi/en/suno-wav.json post /api/v1/jobs/createTask","href":"/en/api-reference/suno-wav/create-task"},{"title":"Convert to WAV format: Get task","deprecated":null,"version":null,"sidebarTitle":"Get task","openapi":"/openapi/en/suno-wav.json get /api/v1/jobs/recordInfo","href":"/en/api-reference/suno-wav/query-task"},{"title":"Convert to WAV format: Task callback","version":null,"deprecated":null,"sidebarTitle":"Task callback","openapi":"/openapi/en/suno-wav.json webhook sunoTaskCompleted","href":"/en/api-reference/suno-wav/task-callback"}]}]},{"group":"Music video","pages":[{"group":"Create music video","pages":[{"title":"Suno Create music video","sidebarTitle":"Introduction","href":"/en/music/suno/music-video"},{"title":"Create music video: Create task","deprecated":null,"version":null,"sidebarTitle":"Create task","openapi":"/openapi/en/suno-music-video.json post /api/v1/jobs/createTask","href":"/en/api-reference/suno-music-video/create-task"},{"title":"Create music video: Get task","deprecated":null,"version":null,"sidebarTitle":"Get task","openapi":"/openapi/en/suno-music-video.json get /api/v1/jobs/recordInfo","href":"/en/api-reference/suno-music-video/query-task"},{"title":"Create music video: Task callback","version":null,"deprecated":null,"sidebarTitle":"Task callback","openapi":"/openapi/en/suno-music-video.json webhook sunoTaskCompleted","href":"/en/api-reference/suno-music-video/task-callback"}]}]},{"group":"Lyrics","pages":[{"group":"Generate lyrics","pages":[{"title":"Suno Generate lyrics","sidebarTitle":"Introduction","href":"/en/music/suno/lyrics"},{"title":"Generate lyrics: Create task","deprecated":null,"version":null,"sidebarTitle":"Create task","openapi":"/openapi/en/suno-lyrics.json post /api/v1/jobs/createTask","href":"/en/api-reference/suno-lyrics/create-task"},{"title":"Generate lyrics: Get task","deprecated":null,"version":null,"sidebarTitle":"Get task","openapi":"/openapi/en/suno-lyrics.json get /api/v1/jobs/recordInfo","href":"/en/api-reference/suno-lyrics/query-task"},{"title":"Generate lyrics: Task callback","version":null,"deprecated":null,"sidebarTitle":"Task callback","openapi":"/openapi/en/suno-lyrics.json webhook sunoTaskCompleted","href":"/en/api-reference/suno-lyrics/task-callback"}]}]},{"group":"Custom voice","pages":[{"group":"Generate validation phrase","pages":[{"title":"Suno Generate validation phrase","sidebarTitle":"Introduction","href":"/en/music/suno/voice-validate"},{"title":"Generate validation phrase: Create task","deprecated":null,"version":null,"sidebarTitle":"Create task","openapi":"/openapi/en/suno-voice-validate.json post /api/v1/jobs/createTask","href":"/en/api-reference/suno-voice-validate/create-task"},{"title":"Generate validation phrase: Get task","deprecated":null,"version":null,"sidebarTitle":"Get task","openapi":"/openapi/en/suno-voice-validate.json get /api/v1/jobs/recordInfo","href":"/en/api-reference/suno-voice-validate/query-task"},{"title":"Generate validation phrase: Task callback","version":null,"deprecated":null,"sidebarTitle":"Task callback","openapi":"/openapi/en/suno-voice-validate.json webhook sunoTaskCompleted","href":"/en/api-reference/suno-voice-validate/task-callback"}]},{"group":"Create custom voice","pages":[{"title":"Suno Create custom voice","sidebarTitle":"Introduction","href":"/en/music/suno/voice-create"},{"title":"Create custom voice: Create task","deprecated":null,"version":null,"sidebarTitle":"Create task","openapi":"/openapi/en/suno-voice-create.json post /api/v1/jobs/createTask","href":"/en/api-reference/suno-voice-create/create-task"},{"title":"Create custom voice: Get task","deprecated":null,"version":null,"sidebarTitle":"Get task","openapi":"/openapi/en/suno-voice-create.json get /api/v1/jobs/recordInfo","href":"/en/api-reference/suno-voice-create/query-task"},{"title":"Create custom voice: Task callback","version":null,"deprecated":null,"sidebarTitle":"Task callback","openapi":"/openapi/en/suno-voice-create.json webhook sunoTaskCompleted","href":"/en/api-reference/suno-voice-create/task-callback"}]},{"group":"Regenerate validation phrase","pages":[{"title":"Suno Regenerate validation phrase","sidebarTitle":"Introduction","href":"/en/music/suno/voice-regenerate"},{"title":"Regenerate validation phrase: Create task","deprecated":null,"version":null,"sidebarTitle":"Create task","openapi":"/openapi/en/suno-voice-regenerate.json post /api/v1/jobs/createTask","href":"/en/api-reference/suno-voice-regenerate/create-task"},{"title":"Regenerate validation phrase: Get task","deprecated":null,"version":null,"sidebarTitle":"Get task","openapi":"/openapi/en/suno-voice-regenerate.json get /api/v1/jobs/recordInfo","href":"/en/api-reference/suno-voice-regenerate/query-task"},{"title":"Regenerate validation phrase: Task callback","version":null,"deprecated":null,"sidebarTitle":"Task callback","openapi":"/openapi/en/suno-voice-regenerate.json webhook sunoTaskCompleted","href":"/en/api-reference/suno-voice-regenerate/task-callback"}]},{"group":"Check voice availability","pages":[{"title":"Suno Check voice availability","sidebarTitle":"Introduction","href":"/en/music/suno/voice-check"},{"title":"Check voice availability: Create task","deprecated":null,"version":null,"sidebarTitle":"Create task","openapi":"/openapi/en/suno-voice-check.json post /api/v1/jobs/createTask","href":"/en/api-reference/suno-voice-check/create-task"},{"title":"Check voice availability: Get task","deprecated":null,"version":null,"sidebarTitle":"Get task","openapi":"/openapi/en/suno-voice-check.json get /api/v1/jobs/recordInfo","href":"/en/api-reference/suno-voice-check/query-task"}]}]},{"group":"Stems and MIDI","pages":[{"group":"Vocal and instrument stem separation","pages":[{"title":"Suno Vocal and instrument stem separation","sidebarTitle":"Introduction","href":"/en/music/suno/separate-vocals"},{"title":"Vocal and instrument stem separation: Create task","deprecated":null,"version":null,"sidebarTitle":"Create task","openapi":"/openapi/en/suno-separate-vocals.json post /api/v1/jobs/createTask","href":"/en/api-reference/suno-separate-vocals/create-task"},{"title":"Vocal and instrument stem separation: Get task","deprecated":null,"version":null,"sidebarTitle":"Get task","openapi":"/openapi/en/suno-separate-vocals.json get /api/v1/jobs/recordInfo","href":"/en/api-reference/suno-separate-vocals/query-task"},{"title":"Vocal and instrument stem separation: Task callback","version":null,"deprecated":null,"sidebarTitle":"Task callback","openapi":"/openapi/en/suno-separate-vocals.json webhook sunoTaskCompleted","href":"/en/api-reference/suno-separate-vocals/task-callback"}]},{"group":"Generate MIDI from audio","pages":[{"title":"Suno Generate MIDI from audio","sidebarTitle":"Introduction","href":"/en/music/suno/midi"},{"title":"Generate MIDI from audio: Create task","deprecated":null,"version":null,"sidebarTitle":"Create task","openapi":"/openapi/en/suno-midi.json post /api/v1/jobs/createTask","href":"/en/api-reference/suno-midi/create-task"},{"title":"Generate MIDI from audio: Get task","deprecated":null,"version":null,"sidebarTitle":"Get task","openapi":"/openapi/en/suno-midi.json get /api/v1/jobs/recordInfo","href":"/en/api-reference/suno-midi/query-task"},{"title":"Generate MIDI from audio: Task callback","version":null,"deprecated":null,"sidebarTitle":"Task callback","openapi":"/openapi/en/suno-midi.json webhook sunoTaskCompleted","href":"/en/api-reference/suno-midi/task-callback"}]}]},{"group":"Sound effects","pages":[{"group":"Generate sounds","pages":[{"title":"Suno Generate sounds","sidebarTitle":"Introduction","href":"/en/music/suno/sounds"},{"title":"Generate sounds: Create task","deprecated":null,"version":null,"sidebarTitle":"Create task","openapi":"/openapi/en/suno-sounds.json post /api/v1/jobs/createTask","href":"/en/api-reference/suno-sounds/create-task"},{"title":"Generate sounds: Get task","deprecated":null,"version":null,"sidebarTitle":"Get task","openapi":"/openapi/en/suno-sounds.json get /api/v1/jobs/recordInfo","href":"/en/api-reference/suno-sounds/query-task"},{"title":"Generate sounds: Task callback","version":null,"deprecated":null,"sidebarTitle":"Task callback","openapi":"/openapi/en/suno-sounds.json webhook sunoTaskCompleted","href":"/en/api-reference/suno-sounds/task-callback"}]}]},{"group":"Speech","pages":[{"group":"Generate speech","pages":[{"title":"Suno Generate speech","sidebarTitle":"Introduction","href":"/en/music/suno/speech"},{"title":"Generate speech: Create task","deprecated":null,"version":null,"sidebarTitle":"Create task","openapi":"/openapi/en/suno-speech.json post /api/v1/jobs/createTask","href":"/en/api-reference/suno-speech/create-task"},{"title":"Generate speech: Get task","deprecated":null,"version":null,"sidebarTitle":"Get task","openapi":"/openapi/en/suno-speech.json get /api/v1/jobs/recordInfo","href":"/en/api-reference/suno-speech/query-task"},{"title":"Generate speech: Task callback","version":null,"deprecated":null,"sidebarTitle":"Task callback","openapi":"/openapi/en/suno-speech.json webhook sunoTaskCompleted","href":"/en/api-reference/suno-speech/task-callback"}]}]}]}]},{"group":"ElevenLabs speech generation","pages":[{"group":"ElevenLabs V3 Text to Dialogue","icon":"microphone","pages":[{"title":"ElevenLabs V3 Text to Dialogue","sidebarTitle":"Model introduction","href":"/en/music/elevenlabs/text-to-dialogue-v3"},{"title":"Create task","deprecated":null,"version":null,"sidebarTitle":"Create task","openapi":"/openapi/en/elevenlabs-text-to-dialogue-v3.json post /api/v1/jobs/createTask","href":"/en/api-reference/elevenlabs-text-to-dialogue-v3/create-task"},{"title":"Get task","deprecated":null,"version":null,"sidebarTitle":"Get task","openapi":"/openapi/en/elevenlabs-text-to-dialogue-v3.json get /api/v1/jobs/recordInfo","href":"/en/api-reference/elevenlabs-text-to-dialogue-v3/query-task"},{"title":"Task callback","version":null,"deprecated":null,"sidebarTitle":"Task callback","openapi":"/openapi/en/elevenlabs-text-to-dialogue-v3.json webhook elevenlabsTaskCompleted","href":"/en/api-reference/elevenlabs-text-to-dialogue-v3/task-callback"}]},{"group":"ElevenLabs Multilingual v2","icon":"microphone","pages":[{"title":"ElevenLabs Multilingual v2","sidebarTitle":"Model introduction","href":"/en/music/elevenlabs/tts-multilingual-v2"},{"title":"Create task","deprecated":null,"version":null,"sidebarTitle":"Create task","openapi":"/openapi/en/elevenlabs-tts-multilingual-v2.json post /api/v1/jobs/createTask","href":"/en/api-reference/elevenlabs-tts-multilingual-v2/create-task"},{"title":"Get task","deprecated":null,"version":null,"sidebarTitle":"Get task","openapi":"/openapi/en/elevenlabs-tts-multilingual-v2.json get /api/v1/jobs/recordInfo","href":"/en/api-reference/elevenlabs-tts-multilingual-v2/query-task"},{"title":"Task callback","version":null,"deprecated":null,"sidebarTitle":"Task callback","openapi":"/openapi/en/elevenlabs-tts-multilingual-v2.json webhook elevenlabsTaskCompleted","href":"/en/api-reference/elevenlabs-tts-multilingual-v2/task-callback"}]},{"group":"ElevenLabs Turbo v2.5","icon":"microphone","pages":[{"title":"ElevenLabs Turbo v2.5","sidebarTitle":"Model introduction","href":"/en/music/elevenlabs/tts-turbo-2-5"},{"title":"Create task","deprecated":null,"version":null,"sidebarTitle":"Create task","openapi":"/openapi/en/elevenlabs-tts-turbo-2-5.json post /api/v1/jobs/createTask","href":"/en/api-reference/elevenlabs-tts-turbo-2-5/create-task"},{"title":"Get task","deprecated":null,"version":null,"sidebarTitle":"Get task","openapi":"/openapi/en/elevenlabs-tts-turbo-2-5.json get /api/v1/jobs/recordInfo","href":"/en/api-reference/elevenlabs-tts-turbo-2-5/query-task"},{"title":"Task callback","version":null,"deprecated":null,"sidebarTitle":"Task callback","openapi":"/openapi/en/elevenlabs-tts-turbo-2-5.json webhook elevenlabsTaskCompleted","href":"/en/api-reference/elevenlabs-tts-turbo-2-5/task-callback"}]}]},{"group":"Gemini speech","pages":[{"group":"Gemini 3.8 Flash TTS","icon":"/icons/gemini.svg","pages":[{"title":"Gemini 3.8 Flash TTS","sidebarTitle":"Introduction","href":"/en/audio/models/gemini-3-8-flash-tts"},{"title":"Create task","deprecated":null,"version":null,"sidebarTitle":"Create task","openapi":"/openapi/en/gemini-3-8-flash-tts.json post /api/v1/jobs/createTask","href":"/en/api-reference/gemini-3-8-flash-tts/create-task"},{"title":"Get task","deprecated":null,"version":null,"sidebarTitle":"Get task","openapi":"/openapi/en/gemini-3-8-flash-tts.json get /api/v1/jobs/recordInfo","href":"/en/api-reference/gemini-3-8-flash-tts/query-task"},{"title":"Task callback","version":null,"deprecated":null,"sidebarTitle":"Task callback","openapi":"/openapi/en/gemini-3-8-flash-tts.json webhook geminiTTSTaskCompleted","href":"/en/api-reference/gemini-3-8-flash-tts/task-callback"}]},{"group":"Gemini 3.8 Flash Lite TTS","icon":"/icons/gemini.svg","pages":[{"title":"Gemini 3.8 Flash Lite TTS","sidebarTitle":"Introduction","href":"/en/audio/models/gemini-3-8-flash-lite-tts"},{"title":"Create task","deprecated":null,"version":null,"sidebarTitle":"Create task","openapi":"/openapi/en/gemini-3-8-flash-lite-tts.json post /api/v1/jobs/createTask","href":"/en/api-reference/gemini-3-8-flash-lite-tts/create-task"},{"title":"Get task","deprecated":null,"version":null,"sidebarTitle":"Get task","openapi":"/openapi/en/gemini-3-8-flash-lite-tts.json get /api/v1/jobs/recordInfo","href":"/en/api-reference/gemini-3-8-flash-lite-tts/query-task"},{"title":"Task callback","version":null,"deprecated":null,"sidebarTitle":"Task callback","openapi":"/openapi/en/gemini-3-8-flash-lite-tts.json webhook geminiTTSTaskCompleted","href":"/en/api-reference/gemini-3-8-flash-lite-tts/task-callback"}]}]}]}]},"basePath":"","title":"Create a model response - DreamTo API","deploymentId":"dpl_HZVV42MMRSo9WnNHfTGZvby5jph9","buildId":"dpl_HZVV42MMRSo9WnNHfTGZvby5jph9","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-BuieBNTB.js","snippetPresets-alIv9Yoc.js","utils-BS41p-Nj.js","style-to-object-BY3JEAdk.js","utils-D0Za9LU_.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-Lx7TZ5XR.js","conditional-requirements-CFM0id0Q.js","cloneDeep-4e5CS5ZI.js","_Uint8Array-B2-W7EM3.js","isObject-FP1Yky1u.js","ApiExamples-sCe6z2hN.js","usePlaygroundInputsStore-cU_dFE5n.js","shallow-BwNCr__O.js","isEqual-Cnvzqd4L.js","CodeSnippets-CMIr49P8.js","CodeSnippet-BC-bKzyy.js","use-playground-group-access-c3bgmn-x.js","Page-Acw_JRP6.js","api-description-markdown-1o8U1kkQ.js","DynamicMarkdown-CvOkzads.js","SectionHeading-CJ97Kdt-.js","MethodPill-DynWltjQ.js","getPastedJson-CBCnXiWl.js","Check2Icon-CPHq_WNu.js","axios-CsQoIw0U.js","Markdown-4tjIF-hK.js","AssistantPageLink-BcChI7L3.js","dist-MIf_HGLZ.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}