Interface ServerFeature<D extends ServerFeature.Descriptor>

Type Parameters:
D - the descriptor type for this feature
All Known Subinterfaces:
ToolHandler
All Known Implementing Classes:
AbstractToolHandler, EchoToolHandler, ResourceTemplateEntry, TaskEntry, YouComSearchTool

public interface ServerFeature<D extends ServerFeature.Descriptor>
Common interface for server features (tools, resources, prompts, tasks).
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
     
    static interface 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the metadata descriptor for this feature.
  • Method Details

    • descriptor

      D descriptor()
      Returns the metadata descriptor for this feature.
      Returns:
      the descriptor