pub struct ToolInfo {
pub name: String,
pub description: String,
pub input_schema: Value,
}
Expand description
Information about a tool for MCP tool listing
Fields§
§name: String
§description: String
§input_schema: Value
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