Package net.thevpc.naru.ext.tools.mcp
Class McpBackedTool
java.lang.Object
net.thevpc.naru.api.registry.DefaultNaruTool
net.thevpc.naru.ext.tools.mcp.McpBackedTool
- All Implemented Interfaces:
NaruTool
-
Constructor Summary
ConstructorsConstructorDescriptionMcpBackedTool(io.modelcontextprotocol.spec.McpSchema.Tool mcpTool, io.modelcontextprotocol.client.McpSyncClient client) -
Method Summary
Modifier and TypeMethodDescriptionexecute(NaruToolCallContext context) getDefinition(NaruTask task) getDescription(NaruTask task) Methods inherited from class net.thevpc.naru.api.registry.DefaultNaruTool
name, tagsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.thevpc.naru.api.registry.NaruTool
acceptMode, isRelevant
-
Constructor Details
-
McpBackedTool
public McpBackedTool(io.modelcontextprotocol.spec.McpSchema.Tool mcpTool, io.modelcontextprotocol.client.McpSyncClient client)
-
-
Method Details
-
getDescription
-
getDefinition
-
execute
-