Enum Class Origin

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

public enum Origin extends Enum<Origin>
What triggered a tool call: the entry point the acting identity was built at.
  • Enum Constant Details

    • CHAT

      public static final Origin CHAT
      A turn of a person's chat with an agent.
    • EXTERNAL_MCP

      public static final Origin EXTERNAL_MCP
      A call of an external MCP client, with its own token.
    • SCHEDULE

      public static final Origin SCHEDULE
      An occurrence of a scheduled agent run.
    • SOURCE

      public static final Origin SOURCE
      An unattended run started by another source, an e-mail filter rule for example, whose grant scope names that source.
    • PROPOSAL

      public static final Origin PROPOSAL
      The execution of a proposal its owner approved.
    • MENTION

      public static final Origin MENTION
      An agent account answering a mention or a reply in a stream.
    • TASK_COMMENT

      public static final Origin TASK_COMMENT
      An agent account answering a comment on a task.
    • TASK_ASSIGNMENT

      public static final Origin TASK_ASSIGNMENT
      An agent account working on a task assigned to it.
    • SYSTEM

      public static final Origin SYSTEM
      A platform process acting on its own.
  • Method Details

    • values

      public static Origin[] 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 Origin 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