pub struct ToolExecutionStartData {
pub arguments: Option<Value>,
pub mcp_server_name: Option<String>,
pub mcp_tool_name: Option<String>,
pub parent_tool_call_id: Option<String>,
pub tool_call_id: String,
pub tool_name: String,
pub turn_id: Option<String>,
}Expand description
Tool execution startup details including MCP server information when applicable
Fields§
§arguments: Option<Value>Arguments passed to the tool
mcp_server_name: Option<String>Name of the MCP server hosting this tool, when the tool is an MCP tool
mcp_tool_name: Option<String>Original tool name on the MCP server, when the tool is an MCP tool
parent_tool_call_id: Option<String>👎Deprecated
Tool call ID of the parent tool invocation when this event originates from a sub-agent
tool_call_id: StringUnique identifier for this tool call
tool_name: StringName of the tool being executed
turn_id: Option<String>Identifier for the agent loop turn this tool was invoked in, matching the corresponding assistant.turn_start event
Trait Implementations§
Source§impl Clone for ToolExecutionStartData
impl Clone for ToolExecutionStartData
Source§fn clone(&self) -> ToolExecutionStartData
fn clone(&self) -> ToolExecutionStartData
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 Debug for ToolExecutionStartData
impl Debug for ToolExecutionStartData
Source§impl<'de> Deserialize<'de> for ToolExecutionStartData
impl<'de> Deserialize<'de> for ToolExecutionStartData
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
Auto Trait Implementations§
impl Freeze for ToolExecutionStartData
impl RefUnwindSafe for ToolExecutionStartData
impl Send for ToolExecutionStartData
impl Sync for ToolExecutionStartData
impl Unpin for ToolExecutionStartData
impl UnsafeUnpin for ToolExecutionStartData
impl UnwindSafe for ToolExecutionStartData
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