pub struct McpTool { /* private fields */ }Expand description
A tool that wraps an MCP server tool
This implements our Tool trait so it can be used alongside native tools
in the ToolRegistry.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for McpTool
impl !RefUnwindSafe for McpTool
impl Send for McpTool
impl Sync for McpTool
impl Unpin for McpTool
impl !UnwindSafe for McpTool
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