(&self)
| 67 | } |
| 68 | |
| 69 | pub async fn list(&self) -> Vec<McpTool> { |
| 70 | let tools = self.tools.read().await; |
| 71 | tools.values().cloned().collect() |
| 72 | } |
| 73 | |
| 74 | pub async fn list_for_server(&self, server_name: &str) -> Vec<McpTool> { |
| 75 | let tools = self.tools.read().await; |