Interface AbstractToolProvider.ToolCall

Enclosing class:
AbstractToolProvider
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface protected static interface AbstractToolProvider.ToolCall
The logic behind a tool: it receives the (validated) request and produces the textual result.
  • Method Summary

    Modifier and Type
    Method
    Description
    apply(io.modelcontextprotocol.spec.McpSchema.CallToolRequest request)
     
  • Method Details

    • apply

      String apply(io.modelcontextprotocol.spec.McpSchema.CallToolRequest request)