(&self, full_name: &str)
| 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; |