pub struct ResponseMcpCallArgumentsDoneEvent {
pub arguments: String,
pub item_id: String,
pub output_index: i64,
pub sequence_number: i64,
pub type_: ResponseMcpCallArgumentsDoneEventType,
}Expand description
Emitted when the arguments for an MCP tool call are finalized.
JSON schema
{
"title": "ResponseMCPCallArgumentsDoneEvent",
"description": "Emitted when the arguments for an MCP tool call are finalized.\n",
"type": "object",
"required": [
"arguments",
"item_id",
"output_index",
"sequence_number",
"type"
],
"properties": {
"arguments": {
"description": "A JSON string containing the finalized arguments for the MCP tool call.\n",
"type": "string"
},
"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_arguments.done'.",
"type": "string",
"enum": [
"response.mcp_call_arguments.done"
],
"x-stainless-const": true
}
},
"x-oaiMeta": {
"group": "responses",
"name": "response.mcp_call_arguments.done"
}
}Fields§
§arguments: StringA JSON string containing the finalized arguments for the MCP tool call.
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_: ResponseMcpCallArgumentsDoneEventTypeThe type of the event. Always ‘response.mcp_call_arguments.done’.
Trait Implementations§
Source§impl Clone for ResponseMcpCallArgumentsDoneEvent
impl Clone for ResponseMcpCallArgumentsDoneEvent
Source§fn clone(&self) -> ResponseMcpCallArgumentsDoneEvent
fn clone(&self) -> ResponseMcpCallArgumentsDoneEvent
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 ResponseMcpCallArgumentsDoneEvent
impl<'de> Deserialize<'de> for ResponseMcpCallArgumentsDoneEvent
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<ResponseMcpCallArgumentsDoneEvent> for ResponseStreamEvent
impl From<ResponseMcpCallArgumentsDoneEvent> for ResponseStreamEvent
Source§fn from(value: ResponseMcpCallArgumentsDoneEvent) -> Self
fn from(value: ResponseMcpCallArgumentsDoneEvent) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ResponseMcpCallArgumentsDoneEvent
impl RefUnwindSafe for ResponseMcpCallArgumentsDoneEvent
impl Send for ResponseMcpCallArgumentsDoneEvent
impl Sync for ResponseMcpCallArgumentsDoneEvent
impl Unpin for ResponseMcpCallArgumentsDoneEvent
impl UnsafeUnpin for ResponseMcpCallArgumentsDoneEvent
impl UnwindSafe for ResponseMcpCallArgumentsDoneEvent
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