pub struct ToolRequest {
pub name: String,
pub call_id: String,
pub arguments: Value,
}Expand description
Input for tool execution.
Fields§
§name: StringName of the tool being called.
call_id: StringUnique ID of this tool call.
arguments: ValueArguments passed to the tool (JSON).
Trait Implementations§
Source§impl Clone for ToolRequest
impl Clone for ToolRequest
Source§fn clone(&self) -> ToolRequest
fn clone(&self) -> ToolRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ToolRequest
impl Debug for ToolRequest
Source§impl Loggable for ToolRequest
impl Loggable for ToolRequest
Source§fn log_description(&self) -> String
fn log_description(&self) -> String
Return a description of the operation for logging.
Auto Trait Implementations§
impl Freeze for ToolRequest
impl RefUnwindSafe for ToolRequest
impl Send for ToolRequest
impl Sync for ToolRequest
impl Unpin for ToolRequest
impl UnwindSafe for ToolRequest
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