MCPcopy Create free account
hub / github.com/dexwritescode/rust-mcp / list_tools

Method list_tools

src/server/handler.rs:42–44  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

40 }
41
42 pub fn list_tools(&self) -> Vec<crate::tools::ToolDefinition> {
43 get_tools()
44 }
45
46 pub async fn call_tool(&mut self, name: &str, args: Value) -> Result<crate::tools::ToolResult> {
47 let mut analyzer = self.analyzer.lock().await;

Callers

nothing calls this directly

Calls 1

get_toolsFunction · 0.85

Tested by

no test coverage detected