Class GrouperMcpGetAttributeAssignmentsLite

java.lang.Object
edu.internet2.middleware.grouper.ws.mcp.GrouperMcpGetAttributeAssignmentsLite

public class GrouperMcpGetAttributeAssignmentsLite extends Object
MCP tool handler for getting attribute assignments in Grouper. Supports getting assignments on groups, stems, members, and other owner types. Delegates to the WS getAttributeAssignments service logic for consistency.
  • Constructor Details

    • GrouperMcpGetAttributeAssignmentsLite

      public GrouperMcpGetAttributeAssignmentsLite()
  • Method Details

    • toolDefinition

      public static com.fasterxml.jackson.databind.node.ObjectNode toolDefinition()
      return the MCP tool definition for attribute_assignment_get
      Returns:
      the tool definition as a Jackson ObjectNode
    • execute

      public static com.fasterxml.jackson.databind.node.ObjectNode execute(com.fasterxml.jackson.databind.JsonNode arguments, GrouperMcpAuthUser authUser)
      execute the attribute_assignment_get tool by delegating to the WS service logic
      Parameters:
      arguments - the tool arguments from the MCP request
      authUser - the authenticated user
      Returns:
      the MCP tool result