Class GrouperMcpAdminGetDaemonJobs

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

public class GrouperMcpAdminGetDaemonJobs extends Object
MCP admin tool for retrieving recent daemon job information from the grouper_loader_log table. Returns useful columns (but NOT job_message) for the most recent 100 rows matching the optional filters. The user can filter by job_name and/or status. If only status is provided (without job_name), that is fine.
  • Constructor Details

    • GrouperMcpAdminGetDaemonJobs

      public GrouperMcpAdminGetDaemonJobs()
  • Method Details

    • toolDefinition

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