pub struct ToolCallInfo {
pub name: String,
pub input: Value,
pub output: String,
pub success: bool,
pub duration: Duration,
}Expand description
Information about a tool call made during agent execution
Fields§
§name: StringTool name
input: ValueInput parameters (as JSON)
output: StringOutput from the tool
success: boolWhether the tool succeeded
duration: DurationExecution duration
Trait Implementations§
Source§impl Clone for ToolCallInfo
impl Clone for ToolCallInfo
Source§fn clone(&self) -> ToolCallInfo
fn clone(&self) -> ToolCallInfo
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 moreAuto Trait Implementations§
impl Freeze for ToolCallInfo
impl RefUnwindSafe for ToolCallInfo
impl Send for ToolCallInfo
impl Sync for ToolCallInfo
impl Unpin for ToolCallInfo
impl UnwindSafe for ToolCallInfo
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