pub struct McpToolCallItem {
    pub tool_name: String,
    pub arguments: Option<Value>,
    pub result: Option<String>,
    pub status: Option<McpToolCallStatus>,
}Fields§
§tool_name: StringName of the MCP tool invoked by the agent.
arguments: Option<Value>Arguments passed to the tool invocation, if any.
result: Option<String>Result payload returned by the tool, if captured.
status: Option<McpToolCallStatus>Lifecycle status for the tool call.
Trait Implementations§
Source§impl Clone for McpToolCallItem
 
impl Clone for McpToolCallItem
Source§fn clone(&self) -> McpToolCallItem
 
fn clone(&self) -> McpToolCallItem
Returns a duplicate of the value. Read more
1.0.0 · 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 McpToolCallItem
 
impl Debug for McpToolCallItem
Source§impl<'de> Deserialize<'de> for McpToolCallItem
 
impl<'de> Deserialize<'de> for McpToolCallItem
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 PartialEq for McpToolCallItem
 
impl PartialEq for McpToolCallItem
Source§impl Serialize for McpToolCallItem
 
impl Serialize for McpToolCallItem
impl Eq for McpToolCallItem
impl StructuralPartialEq for McpToolCallItem
Auto Trait Implementations§
impl Freeze for McpToolCallItem
impl RefUnwindSafe for McpToolCallItem
impl Send for McpToolCallItem
impl Sync for McpToolCallItem
impl Unpin for McpToolCallItem
impl UnwindSafe for McpToolCallItem
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