pub struct ToolInfo {
pub name: String,
pub description: String,
pub input_schema: Value,
}Available on non-WebAssembly only.
Expand description
Information about a registered tool
Fields§
§name: StringTool name
description: StringTool description
input_schema: ValueJSON schema for tool input
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ToolInfo
impl RefUnwindSafe for ToolInfo
impl Send for ToolInfo
impl Sync for ToolInfo
impl Unpin for ToolInfo
impl UnwindSafe for ToolInfo
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