Interface IToolDef

All Known Implementing Classes:
ToolGetCrossReferences

public interface IToolDef
  • Method Details

    • getName

      String getName()
      Returns:
      non-null
    • getTitle

      String getTitle()
      Returns:
      non-null
    • getDescription

      String getDescription()
      Returns:
      non-null
    • getInputSchemaType

      Class<?> getInputSchemaType()
      Returns:
      non-null
    • getOutputSchemaType

      default Class<?> getOutputSchemaType()
      Returns:
      optional (may be null)
    • handle

      io.modelcontextprotocol.spec.McpSchema.CallToolResult handle(JebMcpServer server, io.modelcontextprotocol.server.McpSyncServerExchange exchange, io.modelcontextprotocol.spec.McpSchema.CallToolRequest request)