pub struct McpTool {
pub name: &'static str,
pub input_schema: &'static str,
pub arguments: McpArguments,
}Expand description
The MCP-specific part of one HTTP endpoint.
Fields§
§name: &'static strStable programmatic tool name.
input_schema: &'static strJSON Schema for the tool’s argument object.
arguments: McpArgumentsHow those arguments map onto the endpoint.
Auto Trait Implementations§
impl Freeze for McpTool
impl RefUnwindSafe for McpTool
impl Send for McpTool
impl Sync for McpTool
impl Unpin for McpTool
impl UnsafeUnpin 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