MCPcopy Create free account
hub / github.com/AI45Lab/Code / get_cached_tools

Method get_cached_tools

core/src/mcp/client.rs:149–151  ·  view source on GitHub ↗

Get cached tools

(&self)

Source from the content-addressed store, hash-verified

147
148 /// Get cached tools
149 pub async fn get_cached_tools(&self) -> Vec<McpTool> {
150 self.tools.read().await.clone()
151 }
152
153 /// Call a tool
154 pub async fn call_tool(

Callers 3

get_all_toolsMethod · 0.80
get_statusMethod · 0.80
get_server_toolsMethod · 0.80

Calls 1

cloneMethod · 0.45

Tested by

no test coverage detected