pub struct AgentTool {
pub name: String,
pub label: String,
pub description: String,
pub parameters: Value,
}Expand description
Agent tool with execution capability.
Fields§
§name: StringTool name.
label: StringHuman-readable label for UI.
description: StringTool description.
parameters: ValueParameters schema.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AgentTool
impl RefUnwindSafe for AgentTool
impl Send for AgentTool
impl Sync for AgentTool
impl Unpin for AgentTool
impl UnsafeUnpin for AgentTool
impl UnwindSafe for AgentTool
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