pub struct ResponseMcpCallInProgressEvent {
pub item_id: String,
pub output_index: i64,
pub sequence_number: i64,
pub type_: ResponseMcpCallInProgressEventType,
}Expand description
Emitted when an MCP tool call is in progress.
JSON schema
{
"title": "ResponseMCPCallInProgressEvent",
"description": "Emitted when an MCP tool call is in progress.\n",
"type": "object",
"required": [
"item_id",
"output_index",
"sequence_number",
"type"
],
"properties": {
"item_id": {
"description": "The unique identifier of the MCP tool call item being processed.",
"type": "string"
},
"output_index": {
"description": "The index of the output item in the response's output array.",
"type": "integer"
},
"sequence_number": {
"description": "The sequence number of this event.",
"type": "integer"
},
"type": {
"description": "The type of the event. Always 'response.mcp_call.in_progress'.",
"type": "string",
"enum": [
"response.mcp_call.in_progress"
],
"x-stainless-const": true
}
},
"x-oaiMeta": {
"group": "responses",
"name": "response.mcp_call.in_progress"
}
}Fields§
§item_id: StringThe unique identifier of the MCP tool call item being processed.
output_index: i64The index of the output item in the response’s output array.
sequence_number: i64The sequence number of this event.
type_: ResponseMcpCallInProgressEventTypeThe type of the event. Always ‘response.mcp_call.in_progress’.
Trait Implementations§
Source§impl Clone for ResponseMcpCallInProgressEvent
impl Clone for ResponseMcpCallInProgressEvent
Source§fn clone(&self) -> ResponseMcpCallInProgressEvent
fn clone(&self) -> ResponseMcpCallInProgressEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for ResponseMcpCallInProgressEvent
impl<'de> Deserialize<'de> for ResponseMcpCallInProgressEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<ResponseMcpCallInProgressEvent> for ResponseStreamEvent
impl From<ResponseMcpCallInProgressEvent> for ResponseStreamEvent
Source§fn from(value: ResponseMcpCallInProgressEvent) -> Self
fn from(value: ResponseMcpCallInProgressEvent) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ResponseMcpCallInProgressEvent
impl RefUnwindSafe for ResponseMcpCallInProgressEvent
impl Send for ResponseMcpCallInProgressEvent
impl Sync for ResponseMcpCallInProgressEvent
impl Unpin for ResponseMcpCallInProgressEvent
impl UnsafeUnpin for ResponseMcpCallInProgressEvent
impl UnwindSafe for ResponseMcpCallInProgressEvent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more