GitHub · Capability

github-repo-actions-api — Runs

github-repo-actions-api — Runs. 19 operations. Lead operation: GitHub Get Job for Workflow Run. Self-contained Naftiko capability covering one Github business surface.

Run with Naftiko GithubRuns

What You Can Do

GET
Getjobforworkflowrun — GitHub Get Job for Workflow Run
/v1/repos/{owner}/{repo}/actions/jobs/{job-id}
GET
Downloadjoblogsforworkflowrun — GitHub Download Job Logs for Workflow Run
/v1/repos/{owner}/{repo}/actions/jobs/{job-id}/logs
POST
Rerunjobfromworkflowrun — GitHub Re-run Job from Workflow Run
/v1/repos/{owner}/{repo}/actions/jobs/{job-id}/rerun
GET
Listworkflowrunsforrepository — GitHub List Workflow Runs for Repository
/v1/repos/{owner}/{repo}/actions/runs
GET
Getworkflowrun — GitHub Get Workflow Run
/v1/repos/{owner}/{repo}/actions/runs/{run-id}
DELETE
Deleteworkflowrun — GitHub Delete Workflow Run
/v1/repos/{owner}/{repo}/actions/runs/{run-id}
GET
Getthereviewhistoryforworkflowrun — GitHub Get the Review History for Workflow Run
/v1/repos/{owner}/{repo}/actions/runs/{run-id}/approvals
GET
Listworkflowrunartifacts — GitHub List Workflow Run Artifacts
/v1/repos/{owner}/{repo}/actions/runs/{run-id}/artifacts
GET
Getworkflowrunattempt — GitHub Get Workflow Run Attempt
/v1/repos/{owner}/{repo}/actions/runs/{run-id}/attempts/{attempt-number}
GET
Listjobsforworkflowrunattempt — GitHub List Jobs for Workflow Run Attempt
/v1/repos/{owner}/{repo}/actions/runs/{run-id}/attempts/{attempt-number}/jobs
GET
Downloadworkflowrunattemptlogs — GitHub Download Workflow Run Attempt Logs
/v1/repos/{owner}/{repo}/actions/runs/{run-id}/attempts/{attempt-number}/logs
POST
Cancelworkflowrun — GitHub Cancel Workflow Run
/v1/repos/{owner}/{repo}/actions/runs/{run-id}/cancel
GET
Listjobsforworkflowrun — GitHub List Jobs for Workflow Run
/v1/repos/{owner}/{repo}/actions/runs/{run-id}/jobs
GET
Downloadworkflowrunlogs — GitHub Download Workflow Run Logs
/v1/repos/{owner}/{repo}/actions/runs/{run-id}/logs
DELETE
Deleteworkflowrunlogs — GitHub Delete Workflow Run Logs
/v1/repos/{owner}/{repo}/actions/runs/{run-id}/logs
GET
Getpendingdeploymentsforworkflowrun — GitHub Get Pending Deployments for Workflow Run
/v1/repos/{owner}/{repo}/actions/runs/{run-id}/pending-deployments
POST
Reviewpendingdeploymentsforworkflowrun — GitHub Review Pending Deployments for Workflow Run
/v1/repos/{owner}/{repo}/actions/runs/{run-id}/pending-deployments
POST
Rerunfailedjobsfromworkflowrun — GitHub Re-run Failed Jobs from Workflow Run
/v1/repos/{owner}/{repo}/actions/runs/{run-id}/rerun-failed-jobs
GET
Listworkflowrunsforworkflow — GitHub List Workflow Runs for Workflow
/v1/repos/{owner}/{repo}/actions/workflows/{workflow-id}/runs

MCP Tools

github-get-job-workflow-run

GitHub Get Job for Workflow Run

read-only idempotent
github-download-job-logs-workflow

GitHub Download Job Logs for Workflow Run

read-only idempotent
github-re-run-job-workflow

GitHub Re-run Job from Workflow Run

github-list-workflow-runs-repository

GitHub List Workflow Runs for Repository

read-only idempotent
github-get-workflow-run

GitHub Get Workflow Run

read-only idempotent
github-delete-workflow-run

GitHub Delete Workflow Run

idempotent
github-get-review-history-workflow

GitHub Get the Review History for Workflow Run

read-only idempotent
github-list-workflow-run-artifacts

GitHub List Workflow Run Artifacts

read-only idempotent
github-get-workflow-run-attempt

GitHub Get Workflow Run Attempt

read-only idempotent
github-list-jobs-workflow-run

GitHub List Jobs for Workflow Run Attempt

read-only idempotent
github-download-workflow-run-attempt

GitHub Download Workflow Run Attempt Logs

read-only idempotent
github-cancel-workflow-run

GitHub Cancel Workflow Run

github-list-jobs-workflow-run-2

GitHub List Jobs for Workflow Run

read-only idempotent
github-download-workflow-run-logs

GitHub Download Workflow Run Logs

read-only idempotent
github-delete-workflow-run-logs

GitHub Delete Workflow Run Logs

idempotent
github-get-pending-deployments-workflow

GitHub Get Pending Deployments for Workflow Run

read-only idempotent
github-review-pending-deployments-workflow

GitHub Review Pending Deployments for Workflow Run

github-re-run-failed-jobs

GitHub Re-run Failed Jobs from Workflow Run

github-list-workflow-runs-workflow

GitHub List Workflow Runs for Workflow

read-only idempotent

Capability Spec

repo-actions-runs.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: github-repo-actions-api — Runs
  description: 'github-repo-actions-api — Runs. 19 operations. Lead operation: GitHub Get Job for Workflow Run. Self-contained
    Naftiko capability covering one Github business surface.'
  tags:
  - Github
  - Runs
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GITHUB_API_KEY: GITHUB_API_KEY
capability:
  consumes:
  - type: http
    namespace: repo-actions-runs
    baseUri: ''
    description: github-repo-actions-api — Runs business capability. Self-contained, no shared references.
    resources:
    - name: repos-owner-repo-actions-jobs-job_id
      path: /repos/{owner}/{repo}/actions/jobs/{job_id}
      operations:
      - name: getjobforworkflowrun
        method: GET
        description: GitHub Get Job for Workflow Run
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-actions-jobs-job_id-logs
      path: /repos/{owner}/{repo}/actions/jobs/{job_id}/logs
      operations:
      - name: downloadjoblogsforworkflowrun
        method: GET
        description: GitHub Download Job Logs for Workflow Run
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-actions-jobs-job_id-rerun
      path: /repos/{owner}/{repo}/actions/jobs/{job_id}/rerun
      operations:
      - name: rerunjobfromworkflowrun
        method: POST
        description: GitHub Re-run Job from Workflow Run
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: repos-owner-repo-actions-runs
      path: /repos/{owner}/{repo}/actions/runs
      operations:
      - name: listworkflowrunsforrepository
        method: GET
        description: GitHub List Workflow Runs for Repository
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-actions-runs-run_id
      path: /repos/{owner}/{repo}/actions/runs/{run_id}
      operations:
      - name: getworkflowrun
        method: GET
        description: GitHub Get Workflow Run
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
      - name: deleteworkflowrun
        method: DELETE
        description: GitHub Delete Workflow Run
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-actions-runs-run_id-approvals
      path: /repos/{owner}/{repo}/actions/runs/{run_id}/approvals
      operations:
      - name: getthereviewhistoryforworkflowrun
        method: GET
        description: GitHub Get the Review History for Workflow Run
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-actions-runs-run_id-artifacts
      path: /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts
      operations:
      - name: listworkflowrunartifacts
        method: GET
        description: GitHub List Workflow Run Artifacts
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-actions-runs-run_id-attempts-attempt_number
      path: /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}
      operations:
      - name: getworkflowrunattempt
        method: GET
        description: GitHub Get Workflow Run Attempt
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-actions-runs-run_id-attempts-attempt_number-jobs
      path: /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs
      operations:
      - name: listjobsforworkflowrunattempt
        method: GET
        description: GitHub List Jobs for Workflow Run Attempt
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-actions-runs-run_id-attempts-attempt_number-logs
      path: /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/logs
      operations:
      - name: downloadworkflowrunattemptlogs
        method: GET
        description: GitHub Download Workflow Run Attempt Logs
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-actions-runs-run_id-cancel
      path: /repos/{owner}/{repo}/actions/runs/{run_id}/cancel
      operations:
      - name: cancelworkflowrun
        method: POST
        description: GitHub Cancel Workflow Run
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-actions-runs-run_id-jobs
      path: /repos/{owner}/{repo}/actions/runs/{run_id}/jobs
      operations:
      - name: listjobsforworkflowrun
        method: GET
        description: GitHub List Jobs for Workflow Run
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: filter
          in: query
          type: string
          description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution
            of the workflow run. `all` returns all jobs for workflow ru
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-actions-runs-run_id-logs
      path: /repos/{owner}/{repo}/actions/runs/{run_id}/logs
      operations:
      - name: downloadworkflowrunlogs
        method: GET
        description: GitHub Download Workflow Run Logs
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
      - name: deleteworkflowrunlogs
        method: DELETE
        description: GitHub Delete Workflow Run Logs
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-actions-runs-run_id-pending_deployments
      path: /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments
      operations:
      - name: getpendingdeploymentsforworkflowrun
        method: GET
        description: GitHub Get Pending Deployments for Workflow Run
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
      - name: reviewpendingdeploymentsforworkflowrun
        method: POST
        description: GitHub Review Pending Deployments for Workflow Run
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: repos-owner-repo-actions-runs-run_id-rerun-failed-jobs
      path: /repos/{owner}/{repo}/actions/runs/{run_id}/rerun-failed-jobs
      operations:
      - name: rerunfailedjobsfromworkflowrun
        method: POST
        description: GitHub Re-run Failed Jobs from Workflow Run
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: repos-owner-repo-actions-workflows-workflow_id-runs
      path: /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs
      operations:
      - name: listworkflowrunsforworkflow
        method: GET
        description: GitHub List Workflow Runs for Workflow
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    authentication:
      type: bearer
      token: '{{env.GITHUB_API_KEY}}'
  exposes:
  - type: rest
    namespace: repo-actions-runs-rest
    port: 8080
    description: REST adapter for github-repo-actions-api — Runs. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/repos/{owner}/{repo}/actions/jobs/{job-id}
      name: repos-owner-repo-actions-jobs-job-id
      description: REST surface for repos-owner-repo-actions-jobs-job_id.
      operations:
      - method: GET
        name: getjobforworkflowrun
        description: GitHub Get Job for Workflow Run
        call: repo-actions-runs.getjobforworkflowrun
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/actions/jobs/{job-id}/logs
      name: repos-owner-repo-actions-jobs-job-id-logs
      description: REST surface for repos-owner-repo-actions-jobs-job_id-logs.
      operations:
      - method: GET
        name: downloadjoblogsforworkflowrun
        description: GitHub Download Job Logs for Workflow Run
        call: repo-actions-runs.downloadjoblogsforworkflowrun
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/actions/jobs/{job-id}/rerun
      name: repos-owner-repo-actions-jobs-job-id-rerun
      description: REST surface for repos-owner-repo-actions-jobs-job_id-rerun.
      operations:
      - method: POST
        name: rerunjobfromworkflowrun
        description: GitHub Re-run Job from Workflow Run
        call: repo-actions-runs.rerunjobfromworkflowrun
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/actions/runs
      name: repos-owner-repo-actions-runs
      description: REST surface for repos-owner-repo-actions-runs.
      operations:
      - method: GET
        name: listworkflowrunsforrepository
        description: GitHub List Workflow Runs for Repository
        call: repo-actions-runs.listworkflowrunsforrepository
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/actions/runs/{run-id}
      name: repos-owner-repo-actions-runs-run-id
      description: REST surface for repos-owner-repo-actions-runs-run_id.
      operations:
      - method: GET
        name: getworkflowrun
        description: GitHub Get Workflow Run
        call: repo-actions-runs.getworkflowrun
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteworkflowrun
        description: GitHub Delete Workflow Run
        call: repo-actions-runs.deleteworkflowrun
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/actions/runs/{run-id}/approvals
      name: repos-owner-repo-actions-runs-run-id-approvals
      description: REST surface for repos-owner-repo-actions-runs-run_id-approvals.
      operations:
      - method: GET
        name: getthereviewhistoryforworkflowrun
        description: GitHub Get the Review History for Workflow Run
        call: repo-actions-runs.getthereviewhistoryforworkflowrun
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/actions/runs/{run-id}/artifacts
      name: repos-owner-repo-actions-runs-run-id-artifacts
      description: REST surface for repos-owner-repo-actions-runs-run_id-artifacts.
      operations:
      - method: GET
        name: listworkflowrunartifacts
        description: GitHub List Workflow Run Artifacts
        call: repo-actions-runs.listworkflowrunartifacts
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/actions/runs/{run-id}/attempts/{attempt-number}
      name: repos-owner-repo-actions-runs-run-id-attempts-attempt-number
      description: REST surface for repos-owner-repo-actions-runs-run_id-attempts-attempt_number.
      operations:
      - method: GET
        name: getworkflowrunattempt
        description: GitHub Get Workflow Run Attempt
        call: repo-actions-runs.getworkflowrunattempt
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/actions/runs/{run-id}/attempts/{attempt-number}/jobs
      name: repos-owner-repo-actions-runs-run-id-attempts-attempt-number-jobs
      description: REST surface for repos-owner-repo-actions-runs-run_id-attempts-attempt_number-jobs.
      operations:
      - method: GET
        name: listjobsforworkflowrunattempt
        description: GitHub List Jobs for Workflow Run Attempt
        call: repo-actions-runs.listjobsforworkflowrunattempt
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/actions/runs/{run-id}/attempts/{attempt-number}/logs
      name: repos-owner-repo-actions-runs-run-id-attempts-attempt-number-logs
      description: REST surface for repos-owner-repo-actions-runs-run_id-attempts-attempt_number-logs.
      operations:
      - method: GET
        name: downloadworkflowrunattemptlogs
        description: GitHub Download Workflow Run Attempt Logs
        call: repo-actions-runs.downloadworkflowrunattemptlogs
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/actions/runs/{run-id}/cancel
      name: repos-owner-repo-actions-runs-run-id-cancel
      description: REST surface for repos-owner-repo-actions-runs-run_id-cancel.
      operations:
      - method: POST
        name: cancelworkflowrun
        description: GitHub Cancel Workflow Run
        call: repo-actions-runs.cancelworkflowrun
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/actions/runs/{run-id}/jobs
      name: repos-owner-repo-actions-runs-run-id-jobs
      description: REST surface for repos-owner-repo-actions-runs-run_id-jobs.
      operations:
      - method: GET
        name: listjobsforworkflowrun
        description: GitHub List Jobs for Workflow Run
        call: repo-actions-runs.listjobsforworkflowrun
        with:
          filter: rest.filter
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/actions/runs/{run-id}/logs
      name: repos-owner-repo-actions-runs-run-id-logs
      description: REST surface for repos-owner-repo-actions-runs-run_id-logs.
      operations:
      - method: GET
        name: downloadworkflowrunlogs
        description: GitHub Download Workflow Run Logs
        call: repo-actions-runs.downloadworkflowrunlogs
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteworkflowrunlogs
        description: GitHub Delete Workflow Run Logs
        call: repo-actions-runs.deleteworkflowrunlogs
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/actions/runs/{run-id}/pending-deployments
      name: repos-owner-repo-actions-runs-run-id-pending-deployments
      description: REST surface for repos-owner-repo-actions-runs-run_id-pending_deployments.
      operations:
      - method: GET
        name: getpendingdeploymentsforworkflowrun
        description: GitHub Get Pending Deployments for Workflow Run
        call: repo-actions-runs.getpendingdeploymentsforworkflowrun
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: reviewpendingdeploymentsforworkflowrun
        description: GitHub Review Pending Deployments for Workflow Run
        call: repo-actions-runs.reviewpendingdeploymentsforworkflowrun
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/actions/runs/{run-id}/rerun-failed-jobs
      name: repos-owner-repo-actions-runs-run-id-rerun-failed-jobs
      description: REST surface for repos-owner-repo-actions-runs-run_id-rerun-failed-jobs.
      operations:
      - method: POST
        name: rerunfailedjobsfromworkflowrun
        description: GitHub Re-run Failed Jobs from Workflow Run
        call: repo-actions-runs.rerunfailedjobsfromworkflowrun
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/actions/workflows/{workflow-id}/runs
      name: repos-owner-repo-actions-workflows-workflow-id-runs
      description: REST surface for repos-owner-repo-actions-workflows-workflow_id-runs.
      operations:
      - method: GET
        name: listworkflowrunsforworkflow
        description: GitHub List Workflow Runs for Workflow
        call: repo-actions-runs.listworkflowrunsforworkflow
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: repo-actions-runs-mcp
    port: 9090
    transport: http
    description: MCP adapter for github-repo-actions-api — Runs. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: github-get-job-workflow-run
      description: GitHub Get Job for Workflow Run
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: repo-actions-runs.getjobforworkflowrun
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: github-download-job-logs-workflow
      description: GitHub Download Job Logs for Workflow Run
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: repo-actions-runs.downloadjoblogsforworkflowrun
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: github-re-run-job-workflow
      description: GitHub Re-run Job from Workflow Run
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: repo-actions-runs.rerunjobfromworkflowrun
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: github-list-workflow-runs-repository
      description: GitHub List Workflow Runs for Repository
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: repo-actions-runs.listworkflowrunsforrepository
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: github-get-workflow-run
      description: GitHub Get Workflow Run
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: repo-actions-runs.getworkflowrun
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: github-delete-workflow-run
      description: GitHub Delete Workflow Run
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: repo-actions-runs.deleteworkflowrun
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: github-get-review-history-workflow
      description: GitHub Get the Review History for Workflow Run
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: repo-actions-runs.getthereviewhistoryforworkflowrun
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: github-list-workflow-run-artifacts
      description: GitHub List Workflow Run Artifacts
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: repo-actions-runs.listworkflowrunartifacts
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: github-get-workflow-run-attempt
      description: GitHub Get Workflow Run Attempt
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: repo-actions-runs.getworkflowrunattempt
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: github-list-jobs-workflow-run
      description: GitHub List Jobs for Workflow Run Attempt
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: repo-actions-runs.listjobsforworkflowrunattempt
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: github-download-workflow-run-attempt
      description: GitHub Download Workflow Run Attempt Logs
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: repo-actions-runs.downloadworkflowrunattemptlogs
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: github-cancel-workflow-run
      description: GitHub Cancel Workflow Run
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: repo-actions-runs.cancelworkflowrun
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: github-list-jobs-workflow-run-2
      description: GitHub List Jobs for Workflow Run
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: repo-actions-runs.listjobsforworkflowrun
      with:
        filter: tools.filter
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: github-download-workflow-run-logs
      description: GitHub Download Workflow Run Logs
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: repo-actions-runs.downloadworkflowrunlogs
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: github-delete-workflow-run-logs
      description: GitHub Delete Workflow Run Logs
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: repo-actions-runs.deleteworkflowrunlogs
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: github-get-pending-deployments-workflow
      description: GitHub Get Pending Deployments for Workflow Run
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: repo-actions-runs.getpendingdeploymentsforworkflowrun
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: github-review-pending-deployments-workflow
      description: GitHub Review Pending Deployments for Workflow Run
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: repo-actions-runs.reviewpendingdeploymentsforworkflowrun
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: github-re-run-failed-jobs
      description: GitHub Re-run Failed Jobs from Workflow Run
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: repo-actions-runs.rerunfailedj

# --- truncated at 32 KB (32 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/github/refs/heads/main/capabilities/repo-actions-runs.yaml