MCPcopy Create free account
hub / github.com/OpenBMB/BMTools / _run

Method _run

bmtools/agent/apitool.py:30–32  ·  view source on GitHub ↗

Use the tool.

(self, tool_input: str)

Source from the content-addressed store, hash-verified

28 tool_logo_md: str = ""
29
30 def _run(self, tool_input: str) -> str:
31 """Use the tool."""
32 return self.func(tool_input)
33
34 async def _arun(self, tool_input: str) -> str:
35 """Use the tool asynchronously."""

Callers

nothing calls this directly

Calls 1

funcMethod · 0.95

Tested by

no test coverage detected