Get enabled tools from the server
(self)
| 512 | return self.__client.get_log() # type: ignore |
| 513 | |
| 514 | def get_tools(self) -> List[dict[str, Any]]: |
| 515 | """Get enabled tools from the server""" |
| 516 | with self.__lock: |
| 517 | tools = self.__client.get_tools() # type: ignore |
| 518 | disabled = set(self.disabled_tools) |
| 519 | return [tool for tool in tools if tool.get("name") not in disabled] |
| 520 | |
| 521 | def get_all_tools(self) -> List[dict[str, Any]]: |
| 522 | """Get all tools from the server and mark disabled tools for UI detail views.""" |