# Function getCorroborationRules

- getCorroborationRules(
  actionType:
  | "GeneratePatchPlan"
  | "DraftReply"
  | "ProposeLabels"
  | "SummarizeIssue"
  | "ClassifyIssue"
  | "IdentifyDuplicates"
  | "RequestHumanApproval"
  | "RefuseAction"
  | "HandoffMessage",
  ): readonly CorroborationRule[]

  Get the corroboration rules for an action type. Useful for displaying requirements to users.

  #### Parameters

  - actionType:
    | "GeneratePatchPlan"
    | "DraftReply"
    | "ProposeLabels"
    | "SummarizeIssue"
    | "ClassifyIssue"
    | "IdentifyDuplicates"
    | "RequestHumanApproval"
    | "RefuseAction"
    | "HandoffMessage"

  #### Returns readonly CorroborationRule[]

  - Defined in packages/nexus-agents/src/security/corroboration-validator.ts:209