pub struct McpTool { /* private fields */ }Expand description
A supercode Tool backed by a remote MCP tool. The name is namespaced
mcp__<server>__<tool> to match the convention seen in the corpus.
Implementations§
Trait Implementations§
Source§impl Tool for McpTool
impl Tool for McpTool
Source§fn description(&self) -> &str
fn description(&self) -> &str
The built-in description. May be overridden via
crate::Config.Source§fn parameters(&self) -> Value
fn parameters(&self) -> Value
JSON Schema describing the tool’s input object.
Auto Trait Implementations§
impl !RefUnwindSafe for McpTool
impl !UnwindSafe for McpTool
impl Freeze for McpTool
impl Send for McpTool
impl Sync for McpTool
impl Unpin for McpTool
impl UnsafeUnpin 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