pub struct McpToolInfo {
pub name: String,
pub description: String,
pub input_schema: Value,
}Expand description
Information about an MCP tool.
Fields§
§name: StringTool name.
description: StringHuman-readable tool description.
input_schema: ValueJSON Schema for the tool’s input parameters.
Trait Implementations§
Source§impl Clone for McpToolInfo
impl Clone for McpToolInfo
Source§fn clone(&self) -> McpToolInfo
fn clone(&self) -> McpToolInfo
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 moreAuto Trait Implementations§
impl Freeze for McpToolInfo
impl RefUnwindSafe for McpToolInfo
impl Send for McpToolInfo
impl Sync for McpToolInfo
impl Unpin for McpToolInfo
impl UnwindSafe for McpToolInfo
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