pub struct ToolCallSummary<'a> {
pub id: &'a str,
pub name: &'a str,
pub arguments: &'a Value,
}Expand description
Lightweight view of a pending tool call, exposed to policy callbacks.
This is intentionally a borrowed view so priority functions do not need to clone arguments.
Fields§
§id: &'a strUnique identifier for this tool call.
name: &'a strName of the tool being invoked.
arguments: &'a ValueArguments passed to the tool.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ToolCallSummary<'a>
impl<'a> RefUnwindSafe for ToolCallSummary<'a>
impl<'a> Send for ToolCallSummary<'a>
impl<'a> Sync for ToolCallSummary<'a>
impl<'a> Unpin for ToolCallSummary<'a>
impl<'a> UnsafeUnpin for ToolCallSummary<'a>
impl<'a> UnwindSafe for ToolCallSummary<'a>
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