@@ -2836,6 +2836,13 @@ export namespace ResponseInputItem {
2836
2836
*/
2837
2837
type : 'mcp_call' ;
2838
2838
2839
+ /**
2840
+ * Unique identifier for the MCP tool call approval request. Include this value in
2841
+ * a subsequent `mcp_approval_response` input to approve or reject the
2842
+ * corresponding tool call.
2843
+ */
2844
+ approval_request_id ?: string | null ;
2845
+
2839
2846
/**
2840
2847
* The error from the tool call, if any.
2841
2848
*/
@@ -2845,6 +2852,12 @@ export namespace ResponseInputItem {
2845
2852
* The output from the tool call.
2846
2853
*/
2847
2854
output ?: string | null ;
2855
+
2856
+ /**
2857
+ * The status of the tool call. One of `in_progress`, `completed`, `incomplete`,
2858
+ * `calling`, or `failed`.
2859
+ */
2860
+ status ?: 'in_progress' | 'completed' | 'incomplete' | 'calling' | 'failed' ;
2848
2861
}
2849
2862
2850
2863
/**
@@ -3213,6 +3226,13 @@ export namespace ResponseItem {
3213
3226
*/
3214
3227
type : 'mcp_call' ;
3215
3228
3229
+ /**
3230
+ * Unique identifier for the MCP tool call approval request. Include this value in
3231
+ * a subsequent `mcp_approval_response` input to approve or reject the
3232
+ * corresponding tool call.
3233
+ */
3234
+ approval_request_id ?: string | null ;
3235
+
3216
3236
/**
3217
3237
* The error from the tool call, if any.
3218
3238
*/
@@ -3222,6 +3242,12 @@ export namespace ResponseItem {
3222
3242
* The output from the tool call.
3223
3243
*/
3224
3244
output ?: string | null ;
3245
+
3246
+ /**
3247
+ * The status of the tool call. One of `in_progress`, `completed`, `incomplete`,
3248
+ * `calling`, or `failed`.
3249
+ */
3250
+ status ?: 'in_progress' | 'completed' | 'incomplete' | 'calling' | 'failed' ;
3225
3251
}
3226
3252
}
3227
3253
@@ -3598,6 +3624,13 @@ export namespace ResponseOutputItem {
3598
3624
*/
3599
3625
type : 'mcp_call' ;
3600
3626
3627
+ /**
3628
+ * Unique identifier for the MCP tool call approval request. Include this value in
3629
+ * a subsequent `mcp_approval_response` input to approve or reject the
3630
+ * corresponding tool call.
3631
+ */
3632
+ approval_request_id ?: string | null ;
3633
+
3601
3634
/**
3602
3635
* The error from the tool call, if any.
3603
3636
*/
@@ -3607,6 +3640,12 @@ export namespace ResponseOutputItem {
3607
3640
* The output from the tool call.
3608
3641
*/
3609
3642
output ?: string | null ;
3643
+
3644
+ /**
3645
+ * The status of the tool call. One of `in_progress`, `completed`, `incomplete`,
3646
+ * `calling`, or `failed`.
3647
+ */
3648
+ status ?: 'in_progress' | 'completed' | 'incomplete' | 'calling' | 'failed' ;
3610
3649
}
3611
3650
3612
3651
/**
0 commit comments