Class InitializeResult
java.lang.Object
org.apache.juneau.bean.mcp.v20250618.InitializeResult
MCP
initialize result payload.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionServer capabilities.Optional instructions for the client.Negotiated protocol revision.Server implementation metadata.Sets server capabilities.setInstructions(String value) Sets optional instructions.setProtocolVersion(String value) Sets the negotiated protocol revision.setServerInfo(Implementation value) Sets server implementation metadata.
-
Constructor Details
-
InitializeResult
public InitializeResult()
-
-
Method Details
-
getProtocolVersion
Negotiated protocol revision.- Returns:
- The protocol version, or
nullif not set.
-
setProtocolVersion
Sets the negotiated protocol revision.- Parameters:
value- The new value. Can benull to unset the property.- Returns:
- This object (for method chaining).
-
getCapabilities
Server capabilities.- Returns:
- The capabilities, or
nullif not set.
-
setCapabilities
Sets server capabilities.- Parameters:
value- The new value. Can benull to unset the property.- Returns:
- This object (for method chaining).
-
getServerInfo
Server implementation metadata.- Returns:
- The server info, or
nullif not set.
-
setServerInfo
Sets server implementation metadata.- Parameters:
value- The new value. Can benull to unset the property.- Returns:
- This object (for method chaining).
-
getInstructions
Optional instructions for the client.- Returns:
- The instructions, or
nullif not set.
-
setInstructions
Sets optional instructions.- Parameters:
value- The new value. Can benull to unset the property.- Returns:
- This object (for method chaining).
-