MCPcopy Create free account
hub / github.com/Paper2Poster/Paper2Poster / get_tools

Method get_tools

camel/toolkits/dappier_toolkit.py:185–196  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

183 return {"error": f"An unexpected error occurred: {e!s}"}
184
185 def get_tools(self) -> List[FunctionTool]:
186 r"""Returns a list of FunctionTool objects representing the functions
187 in the toolkit.
188
189 Returns:
190 List[FunctionTool]: A list of FunctionTool objects representing
191 the functions in the toolkit.
192 """
193 return [
194 FunctionTool(self.search_real_time_data),
195 FunctionTool(self.get_ai_recommendations),
196 ]

Callers

nothing calls this directly

Calls 1

FunctionToolClass · 0.90

Tested by

no test coverage detected