MCPcopy Create free account
hub / github.com/ScaleML/AgentSPEX / call_tool

Function call_tool

tests/tool_tests/test_bm25_retrieval.py:131–133  ·  view source on GitHub ↗
(tool_name: str, **kwargs)

Source from the content-addressed store, hash-verified

129 async with Client(MCP_URL) as client:
130
131 async def call_tool(tool_name: str, **kwargs) -> Dict[str, Any]:
132 res = await client.call_tool(tool_name, kwargs or {})
133 return getattr(res, "data", None) or {}
134
135 idx = await call_tool(
136 "bm25_index",

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected