capability_id: pr.checks.rerun.all
version: "1.0.0"
description: Rerun all pull request workflow checks for a selected run.
input_schema:
  type: object
  required: [owner, name, prNumber, runId]
  properties:
    owner: { type: string, minLength: 1 }
    name: { type: string, minLength: 1 }
    prNumber: { type: integer, minimum: 1 }
    runId: { type: integer, minimum: 1 }
  additionalProperties: false
output_schema:
  type: object
  required: [runId, queued]
  properties:
    runId: { type: integer, minimum: 1 }
    queued: { type: boolean }
  additionalProperties: false
routing:
  preferred: cli
  fallbacks: []
cli:
  command: run rerun
