pub struct SdkMcpTool { /* private fields */ }Expand description
MCP tool projection of the versioned SDK facade. The MCP envelope and tool-call id never enter the SDK request or its canonical session data.
Implementations§
Source§impl SdkMcpTool
impl SdkMcpTool
Trait Implementations§
Source§impl Default for SdkMcpTool
Available on crate feature adapter-mcp only.
impl Default for SdkMcpTool
Available on crate feature
adapter-mcp only.Source§impl Tool for SdkMcpTool
impl Tool for SdkMcpTool
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 SdkMcpTool
impl !UnwindSafe for SdkMcpTool
impl Freeze for SdkMcpTool
impl Send for SdkMcpTool
impl Sync for SdkMcpTool
impl Unpin for SdkMcpTool
impl UnsafeUnpin for SdkMcpTool
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