MCPcopy Create free account
hub / github.com/SpaceZephyr/myskill / call_tool

Method call_tool

mcp-builder/scripts/connections.py:67–70  ·  view source on GitHub ↗

Call a tool on the MCP server with provided arguments.

(self, tool_name: str, arguments: dict[str, Any])

Source from the content-addressed store, hash-verified

65 ]
66
67 async def call_tool(self, tool_name: str, arguments: dict[str, Any]) -> Any:
68 """Call a tool on the MCP server with provided arguments."""
69 result = await self.session.call_tool(tool_name, arguments=arguments)
70 return result.content
71
72
73class MCPConnectionStdio(MCPConnection):

Callers 1

agent_loopFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected