r"""Returns a list of FunctionTool objects representing the functions in the toolkit. Returns: List[FunctionTool]: A list of FunctionTool objects representing the functions in the toolkit.
(self)
| 705 | return [{"error": f"An unexpected error occurred: {e!s}"}] |
| 706 | |
| 707 | def get_tools(self) -> List[FunctionTool]: |
| 708 | r"""Returns a list of FunctionTool objects representing the |
| 709 | functions in the toolkit. |
| 710 | |
| 711 | Returns: |
| 712 | List[FunctionTool]: A list of FunctionTool objects |
| 713 | representing the functions in the toolkit. |
| 714 | """ |
| 715 | return [ |
| 716 | FunctionTool(self.search_wiki), |
| 717 | FunctionTool(self.search_linkup), |
| 718 | FunctionTool(self.search_google), |
| 719 | FunctionTool(self.search_duckduckgo), |
| 720 | FunctionTool(self.query_wolfram_alpha), |
| 721 | FunctionTool(self.tavily_search), |
| 722 | FunctionTool(self.search_brave), |
| 723 | ] |
nothing calls this directly
no test coverage detected