pub struct ToolInfo {
pub name: String,
pub input: Value,
}Expand description
Information about a tool use, tracked for enriching PostToolUse events.
Fields§
§name: StringThe tool name (e.g., “Bash”, “Read”, “Write”)
input: ValueThe tool input (command for Bash, etc.)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ToolInfo
impl RefUnwindSafe for ToolInfo
impl Send for ToolInfo
impl Sync for ToolInfo
impl Unpin for ToolInfo
impl UnwindSafe for ToolInfo
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