pub struct MCPTools;Expand description
MCP Tools registry and schema definitions
Implementations§
Source§impl MCPTools
impl MCPTools
Sourcepub fn get_tools_list() -> Value
pub fn get_tools_list() -> Value
Get the list of available tools with their schemas
Sourcepub fn get_resources_list() -> Value
pub fn get_resources_list() -> Value
Get empty resources list (codex-memory doesn’t expose resources)
Sourcepub fn get_prompts_list() -> Value
pub fn get_prompts_list() -> Value
Get empty prompts list (codex-memory doesn’t use prompts)
Sourcepub fn get_server_capabilities() -> Value
pub fn get_server_capabilities() -> Value
Get server capabilities for MCP initialization
Auto Trait Implementations§
impl Freeze for MCPTools
impl RefUnwindSafe for MCPTools
impl Send for MCPTools
impl Sync for MCPTools
impl Unpin for MCPTools
impl UnwindSafe for MCPTools
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more