Class InitializeResult

java.lang.Object
org.apache.juneau.bean.mcp.v20250618.InitializeResult

@Marshalled public class InitializeResult extends Object
MCP initialize result payload.
  • Constructor Details

  • Method Details

    • getProtocolVersion

      Negotiated protocol revision.
      Returns:
      The protocol version, or null if not set.
    • setProtocolVersion

      Sets the negotiated protocol revision.
      Parameters:
      value - The new value. Can be null to unset the property.
      Returns:
      This object (for method chaining).
    • getCapabilities

      Server capabilities.
      Returns:
      The capabilities, or null if not set.
    • setCapabilities

      Sets server capabilities.
      Parameters:
      value - The new value. Can be null to unset the property.
      Returns:
      This object (for method chaining).
    • getServerInfo

      Server implementation metadata.
      Returns:
      The server info, or null if not set.
    • setServerInfo

      Sets server implementation metadata.
      Parameters:
      value - The new value. Can be null to unset the property.
      Returns:
      This object (for method chaining).
    • getInstructions

      Optional instructions for the client.
      Returns:
      The instructions, or null if not set.
    • setInstructions

      Sets optional instructions.
      Parameters:
      value - The new value. Can be null to unset the property.
      Returns:
      This object (for method chaining).