MCPcopy Create free account
hub / github.com/OperationT00/T-Code / callTool

Method callTool

src/main/java/com/tcode/mcp/McpClient.java:96–98  ·  view source on GitHub ↗
(String toolName, String argumentsJson)

Source from the content-addressed store, hash-verified

94 }
95
96 public String callTool(String toolName, String argumentsJson) throws IOException {
97 return callToolOutput(toolName, argumentsJson).text();
98 }
99
100 public ToolOutput callToolOutput(String toolName, String argumentsJson) throws IOException {
101 JsonNode args;

Calls 2

callToolOutputMethod · 0.95
textMethod · 0.45