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

Function load_sceneXplain_tool

host_local_tools.py:112–116  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

110 server.load_tool("python")
111
112 def load_sceneXplain_tool():
113 SCENEX_API_KEY = os.environ.get('SCENEX_API_KEY', None)
114 if not SCENEX_API_KEY:
115 raise RuntimeError("SCENEX_API_KEY is not provided. Please sign up for a free account at https://scenex.jina.ai/, create a new API key, and add it to environment variables.")
116 server.load_tool("sceneXplain", {"subscription_key": SCENEX_API_KEY})
117
118 def load_shell_tool():
119 server.load_tool("shell")

Callers 1

run_tool_serverFunction · 0.85

Calls 1

load_toolMethod · 0.80

Tested by

no test coverage detected