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

Method call_tool

src/server/handler.rs:46–49  ·  view source on GitHub ↗
(&mut self, name: &str, args: Value)

Source from the content-addressed store, hash-verified

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;
48 execute_tool(name, args, &mut analyzer).await
49 }
50
51 #[tool(description = "Find the definition of a symbol at a given position")]
52 async fn find_definition(

Callers

nothing calls this directly

Calls 1

execute_toolFunction · 0.85

Tested by

no test coverage detected