pub struct InvokeCtx {
pub call: CallCtx,
pub tool_call_id: String,
pub raw_args: Value,
}Expand description
Context passed to Tool::invoke.
Fields§
§call: CallCtx§tool_call_id: String§raw_args: ValueImplementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for InvokeCtx
impl !UnwindSafe for InvokeCtx
impl Freeze for InvokeCtx
impl Send for InvokeCtx
impl Sync for InvokeCtx
impl Unpin for InvokeCtx
impl UnsafeUnpin for InvokeCtx
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