MCPcopy Create free account
hub / github.com/ResearAI/DeepReviewer-v2 / _invoke_tool

Function _invoke_tool

tests/test_retrieval_disabled_mode.py:45–47  ·  view source on GitHub ↗
(tool, runtime: ReviewRuntimeContext, payload: dict)

Source from the content-addressed store, hash-verified

43
44
45def _invoke_tool(tool, runtime: ReviewRuntimeContext, payload: dict) -> dict:
46 ctx = SimpleNamespace(context=runtime, usage=_usage_stub(), tool_name=tool.name)
47 return _run(tool.on_invoke_tool(ctx, json.dumps(payload)))
48
49
50def _build_runtime(

Calls 2

_usage_stubFunction · 0.85
_runFunction · 0.85

Tested by

no test coverage detected