pub struct ToolCall {
pub id: String,
pub name: String,
pub input: Value,
}Expand description
A tool call in flight through the middleware pipeline.
Fields§
§id: StringUnique identifier for this tool call (from the model).
name: StringName of the tool being called.
input: ValueJSON input arguments.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ToolCall
impl RefUnwindSafe for ToolCall
impl Send for ToolCall
impl Sync for ToolCall
impl Unpin for ToolCall
impl UnsafeUnpin for ToolCall
impl UnwindSafe for ToolCall
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