Class GrouperMcpAdminSearchDaemons

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

public class GrouperMcpAdminSearchDaemons extends Object
MCP admin tool for searching daemon job names in the grouper_loader_log table. Takes a search string, splits it by whitespace, and searches for distinct job_name values where each whitespace-delimited term matches (using LIKE with user-supplied wildcards via prepared statement bind variables).
  • Constructor Details

    • GrouperMcpAdminSearchDaemons

      public GrouperMcpAdminSearchDaemons()
  • Method Details

    • toolDefinition

      public static com.fasterxml.jackson.databind.node.ObjectNode toolDefinition()
      return the MCP tool definition for admin_daemon_names
      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 admin_daemon_names tool
      Parameters:
      arguments - the tool arguments from the MCP request
      authUser - the authenticated user
      Returns:
      the MCP tool result