MCPcopy Index your code
hub / github.com/ChrisFeldmeier/OpenCodeRust / get

Method get

crates/opencode-mcp/src/tool.rs:64–67  ·  view source on GitHub ↗
(&self, full_name: &str)

Source from the content-addressed store, hash-verified

62 }
63
64 pub async fn get(&self, full_name: &str) -> Option<McpTool> {
65 let tools = self.tools.read().await;
66 tools.get(full_name).cloned()
67 }
68
69 pub async fn list(&self) -> Vec<McpTool> {
70 let tools = self.tools.read().await;

Callers 3

getFunction · 0.45
sendMethod · 0.45
connectMethod · 0.45

Calls 1

readMethod · 0.80

Tested by

no test coverage detected