pub struct BeforeToolCallContext {
pub tool_call_id: String,
pub tool_name: String,
pub args: Value,
pub messages: Vec<AgentMessage>,
}Expand description
Context provided before a tool call is executed.
Fields§
§tool_call_id: String§tool_name: String§args: Value§messages: Vec<AgentMessage>Auto Trait Implementations§
impl Freeze for BeforeToolCallContext
impl RefUnwindSafe for BeforeToolCallContext
impl Send for BeforeToolCallContext
impl Sync for BeforeToolCallContext
impl Unpin for BeforeToolCallContext
impl UnsafeUnpin for BeforeToolCallContext
impl UnwindSafe for BeforeToolCallContext
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