3862 for reasoning items returned by `POST /v1/responses` and WebSocket3862 for reasoning items returned by `POST /v1/responses` and WebSocket
3863 `response.create` requests.3863 `response.create` requests.
3864 3864
3865 When streaming, use the completed reasoning item and its
3866 `encrypted_content` from the `response.output_item.done` event in
3867 subsequent requests. The `encrypted_content` in
3868 `response.output_item.added` may be incomplete. This is especially
3869 important when `store` is `false` or when using Zero Data Retention.
3870
3865 - `status: optional "in_progress" or "completed" or "incomplete"`3871 - `status: optional "in_progress" or "completed" or "incomplete"`
3866 3872
3867 The status of the item. One of `in_progress`, `completed`, or3873 The status of the item. One of `in_progress`, `completed`, or
4635 Unique identifier for the MCP tool call approval request.4641 Unique identifier for the MCP tool call approval request.
4636 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.4642 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.
4637 4643
46384644 - `error: optional string or null` - `error: optional BetaMcpToolCallError or null`
4639 4645
4640 The error from the tool call, if any.4646 The error from the tool call, if any.
4641 4647
4648 - `McpProtocolError object { code, message, type }`
4649
4650 - `code: number`
4651
4652 - `message: string`
4653
4654 - `type: "mcp_protocol_error"`
4655
4656 - `"mcp_protocol_error"`
4657
4658 - `McpToolExecutionError object { content, type }`
4659
4660 - `content: unknown`
4661
4662 - `type: "mcp_tool_execution_error"`
4663
4664 - `"mcp_tool_execution_error"`
4665
4666 - `HTTPError object { code, message, type }`
4667
4668 - `code: number`
4669
4670 - `message: string`
4671
4672 - `type: "http_error"`
4673
4674 - `"http_error"`
4675
4642 - `output: optional string or null`4676 - `output: optional string or null`
4643 4677
4644 The output from the tool call.4678 The output from the tool call.
5924 for reasoning items returned by `POST /v1/responses` and WebSocket5958 for reasoning items returned by `POST /v1/responses` and WebSocket
5925 `response.create` requests.5959 `response.create` requests.
5926 5960
5961 When streaming, use the completed reasoning item and its
5962 `encrypted_content` from the `response.output_item.done` event in
5963 subsequent requests. The `encrypted_content` in
5964 `response.output_item.added` may be incomplete. This is especially
5965 important when `store` is `false` or when using Zero Data Retention.
5966
5927 - `status: optional "in_progress" or "completed" or "incomplete"`5967 - `status: optional "in_progress" or "completed" or "incomplete"`
5928 5968
5929 The status of the item. One of `in_progress`, `completed`, or5969 The status of the item. One of `in_progress`, `completed`, or
8801 Unique identifier for the MCP tool call approval request.8841 Unique identifier for the MCP tool call approval request.
8802 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.8842 Include this value in a subsequent `mcp_approval_response` input to approve or reject the corresponding tool call.
8803 8843
88048844 - `error: optional string or null` - `error: optional BetaMcpToolCallError or null`
8805 8845
8806 The error from the tool call, if any.8846 The error from the tool call, if any.
8807 8847