Enum Class UserToolRequestType

java.lang.Object
java.lang.Enum<UserToolRequestType>
io.meeds.mcp.server.constant.UserToolRequestType
All Implemented Interfaces:
Serializable, Comparable<UserToolRequestType>, Constable

public enum UserToolRequestType extends Enum<UserToolRequestType>
  • Enum Constant Details

    • APPROVAL_REQUEST

      public static final UserToolRequestType APPROVAL_REQUEST
    • APPROVAL_ANSWER

      public static final UserToolRequestType APPROVAL_ANSWER
    • APPROVAL_TIMEOUT

      public static final UserToolRequestType APPROVAL_TIMEOUT
    • TOOL_EXECUTION_START

      public static final UserToolRequestType TOOL_EXECUTION_START
    • TOOL_EXECUTION_FINISHED

      public static final UserToolRequestType TOOL_EXECUTION_FINISHED
    • TOOL_EXECUTION_ERROR

      public static final UserToolRequestType TOOL_EXECUTION_ERROR
    • TOOL_EXECUTION_DENIED

      public static final UserToolRequestType TOOL_EXECUTION_DENIED
    • TOOL_EXECUTION_GRANTED

      public static final UserToolRequestType TOOL_EXECUTION_GRANTED
      An approval-gated call ran without a card because a standing approval covered it; the event names the grant and its owner type.
  • Method Details

    • values

      public static UserToolRequestType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static UserToolRequestType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null