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

Method get_tools

camel/toolkits/code_execution.py:111–119  ·  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

109 return content
110
111 def get_tools(self) -> List[FunctionTool]:
112 r"""Returns a list of FunctionTool objects representing the
113 functions in the toolkit.
114
115 Returns:
116 List[FunctionTool]: A list of FunctionTool objects
117 representing the functions in the toolkit.
118 """
119 return [FunctionTool(self.execute_code)]

Callers

nothing calls this directly

Calls 1

FunctionToolClass · 0.90

Tested by

no test coverage detected