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

Function call_tool

tests/tool_tests/test_python.py:15–17  ·  view source on GitHub ↗
(tool_name: str, **kwargs)

Source from the content-addressed store, hash-verified

13 async with Client(MCP_URL) as client:
14
15 async def call_tool(tool_name: str, **kwargs) -> Dict[str, Any]:
16 res = await client.call_tool(tool_name, kwargs or {})
17 return getattr(res, "data", None) or {}
18
19 ex = await call_tool(
20 "execute_python_code",

Callers 1

test_code_executionFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected