Get enabled tools from the server
(self)
| 613 | return self.__client.get_log() # type: ignore |
| 614 | |
| 615 | def get_tools(self) -> List[dict[str, Any]]: |
| 616 | """Get enabled tools from the server""" |
| 617 | with self.__lock: |
| 618 | tools = self.__client.get_tools() # type: ignore |
| 619 | disabled = set(self.disabled_tools) |
| 620 | return [tool for tool in tools if tool.get("name") not in disabled] |
| 621 | |
| 622 | def get_all_tools(self) -> List[dict[str, Any]]: |
| 623 | """Get all tools from the server and mark disabled tools for UI detail views.""" |