GitHub · Capability

GitHub Repos API — Reviews

GitHub Repos API — Reviews. 22 operations. Lead operation: Get The Review History For Workflow Run. Self-contained Naftiko capability covering one Github business surface.

Run with Naftiko GithubReviews

What You Can Do

GET
Getthereviewhistoryforworkflowrun — Get The Review History For Workflow Run
/v1/repos/{owner}/{repo}/actions/runs/{run-id}/approvals
POST
Reviewpendingdeploymentsforworkflowrun — Review Pending Deployments For Workflow Run
/v1/repos/{owner}/{repo}/actions/runs/{run-id}/pending-deployments
GET
Getpullrequestreviewprotection — Get Pull Request Review Protection
/v1/repos/{owner}/{repo}/branches/{branch}/protection/required-pull-request-reviews
PATCH
Updatepullrequestreviewprotection — Update Pull Request Review Protection
/v1/repos/{owner}/{repo}/branches/{branch}/protection/required-pull-request-reviews
DELETE
Deletepullrequestreviewprotection — Delete Pull Request Review Protection
/v1/repos/{owner}/{repo}/branches/{branch}/protection/required-pull-request-reviews
GET
Listreviewcommentsinrepository — List Review Comments In Repository
/v1/repos/{owner}/{repo}/pulls/comments
GET
Getreviewcommentforpullrequest — Get Review Comment For Pull Request
/v1/repos/{owner}/{repo}/pulls/comments/{comment-id}
PATCH
Updatereviewcommentforpullrequest — Update Review Comment For Pull Request
/v1/repos/{owner}/{repo}/pulls/comments/{comment-id}
DELETE
Deletereviewcommentforpullrequest — Delete Review Comment For Pull Request
/v1/repos/{owner}/{repo}/pulls/comments/{comment-id}
GET
Listreactionsforpullrequestreviewcomment — List Reactions For Pull Request Review Comment
/v1/repos/{owner}/{repo}/pulls/comments/{comment-id}/reactions
POST
Createreactionforpullrequestreviewcomment — Create Reaction For Pull Request Review Comment
/v1/repos/{owner}/{repo}/pulls/comments/{comment-id}/reactions
GET
Listreviewcommentsonpullrequest — List Review Comments On Pull Request
/v1/repos/{owner}/{repo}/pulls/{pull-number}/comments
POST
Createreviewcommentforpullrequest — Create Review Comment For Pull Request
/v1/repos/{owner}/{repo}/pulls/{pull-number}/comments
POST
Createreplyforreviewcomment — Create Reply For Review Comment
/v1/repos/{owner}/{repo}/pulls/{pull-number}/comments/{comment-id}/replies
GET
Listreviewsforpullrequest — List Reviews For Pull Request
/v1/repos/{owner}/{repo}/pulls/{pull-number}/reviews
POST
Createreviewforpullrequest — Create Review For Pull Request
/v1/repos/{owner}/{repo}/pulls/{pull-number}/reviews
GET
Getreviewforpullrequest — Get Review For Pull Request
/v1/repos/{owner}/{repo}/pulls/{pull-number}/reviews/{review-id}
PUT
Updatereviewforpullrequest — Update Review For Pull Request
/v1/repos/{owner}/{repo}/pulls/{pull-number}/reviews/{review-id}
DELETE
Deletependingreviewforpullrequest — Delete Pending Review For Pull Request
/v1/repos/{owner}/{repo}/pulls/{pull-number}/reviews/{review-id}
GET
Listcommentsforpullrequestreview — List Comments For Pull Request Review
/v1/repos/{owner}/{repo}/pulls/{pull-number}/reviews/{review-id}/comments
PUT
Dismissreviewforpullrequest — Dismiss Review For Pull Request
/v1/repos/{owner}/{repo}/pulls/{pull-number}/reviews/{review-id}/dismissals
POST
Submitreviewforpullrequest — Submit Review For Pull Request
/v1/repos/{owner}/{repo}/pulls/{pull-number}/reviews/{review-id}/events

MCP Tools

get-review-history-workflow-run

Get The Review History For Workflow Run

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

Review Pending Deployments For Workflow Run

get-pull-request-review-protection

Get Pull Request Review Protection

read-only idempotent
update-pull-request-review-protection

Update Pull Request Review Protection

idempotent
delete-pull-request-review-protection

Delete Pull Request Review Protection

idempotent
list-review-comments-repository

List Review Comments In Repository

read-only idempotent
get-review-comment-pull-request

Get Review Comment For Pull Request

read-only idempotent
update-review-comment-pull-request

Update Review Comment For Pull Request

idempotent
delete-review-comment-pull-request

Delete Review Comment For Pull Request

idempotent
list-reactions-pull-request-review

List Reactions For Pull Request Review Comment

read-only idempotent
create-reaction-pull-request-review

Create Reaction For Pull Request Review Comment

list-review-comments-pull-request

List Review Comments On Pull Request

read-only idempotent
create-review-comment-pull-request

Create Review Comment For Pull Request

create-reply-review-comment

Create Reply For Review Comment

list-reviews-pull-request

List Reviews For Pull Request

read-only idempotent
create-review-pull-request

Create Review For Pull Request

get-review-pull-request

Get Review For Pull Request

read-only idempotent
update-review-pull-request

Update Review For Pull Request

idempotent
delete-pending-review-pull-request

Delete Pending Review For Pull Request

idempotent
list-comments-pull-request-review

List Comments For Pull Request Review

read-only idempotent
dismiss-review-pull-request

Dismiss Review For Pull Request

idempotent
submit-review-pull-request

Submit Review For Pull Request

Capability Spec

temp-reviews.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: GitHub Repos API — Reviews
  description: 'GitHub Repos API — Reviews. 22 operations. Lead operation: Get The Review History For Workflow Run. Self-contained
    Naftiko capability covering one Github business surface.'
  tags:
  - Github
  - Reviews
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GITHUB_API_KEY: GITHUB_API_KEY
capability:
  consumes:
  - type: http
    namespace: temp-reviews
    baseUri: ''
    description: GitHub Repos API — Reviews business capability. Self-contained, no shared references.
    resources:
    - name: repos-owner-repo-actions-runs-run_id-approvals
      path: /repos/{owner}/{repo}/actions/runs/{run_id}/approvals
      operations:
      - name: getthereviewhistoryforworkflowrun
        method: GET
        description: 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-pending_deployments
      path: /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments
      operations:
      - name: reviewpendingdeploymentsforworkflowrun
        method: POST
        description: 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-branches-branch-protection-required_pull_request_reviews
      path: /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews
      operations:
      - name: getpullrequestreviewprotection
        method: GET
        description: Get Pull Request Review Protection
        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: updatepullrequestreviewprotection
        method: PATCH
        description: Update Pull Request Review Protection
        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: deletepullrequestreviewprotection
        method: DELETE
        description: Delete Pull Request Review Protection
        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-pulls-comments
      path: /repos/{owner}/{repo}/pulls/comments
      operations:
      - name: listreviewcommentsinrepository
        method: GET
        description: List Review Comments In Repository
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: sort
          in: query
          type: string
        - name: direction
          in: query
          type: string
          description: The direction to sort results. Ignored without `sort` parameter.
        - 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-pulls-comments-comment_id
      path: /repos/{owner}/{repo}/pulls/comments/{comment_id}
      operations:
      - name: getreviewcommentforpullrequest
        method: GET
        description: Get Review Comment For Pull Request
        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: updatereviewcommentforpullrequest
        method: PATCH
        description: Update Review Comment For Pull Request
        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: deletereviewcommentforpullrequest
        method: DELETE
        description: Delete Review Comment For Pull Request
        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-pulls-comments-comment_id-reactions
      path: /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions
      operations:
      - name: listreactionsforpullrequestreviewcomment
        method: GET
        description: List Reactions For Pull Request Review Comment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: content
          in: query
          type: string
          description: Returns a single [reaction type](https://docs.github.com/[email protected]/rest/reactions/reactions#about-reactions).
            Omit this parameter to list all reacti
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
      - name: createreactionforpullrequestreviewcomment
        method: POST
        description: Create Reaction For Pull Request Review Comment
        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-pulls-pull_number-comments
      path: /repos/{owner}/{repo}/pulls/{pull_number}/comments
      operations:
      - name: listreviewcommentsonpullrequest
        method: GET
        description: List Review Comments On Pull Request
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: direction
          in: query
          type: string
          description: The direction to sort results. Ignored without `sort` parameter.
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
      - name: createreviewcommentforpullrequest
        method: POST
        description: Create Review Comment For Pull Request
        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-pulls-pull_number-comments-comment_id-replies
      path: /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies
      operations:
      - name: createreplyforreviewcomment
        method: POST
        description: Create Reply For Review Comment
        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-pulls-pull_number-reviews
      path: /repos/{owner}/{repo}/pulls/{pull_number}/reviews
      operations:
      - name: listreviewsforpullrequest
        method: GET
        description: List Reviews For Pull Request
        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: createreviewforpullrequest
        method: POST
        description: Create Review For Pull Request
        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-pulls-pull_number-reviews-review_id
      path: /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}
      operations:
      - name: getreviewforpullrequest
        method: GET
        description: Get Review For Pull Request
        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: updatereviewforpullrequest
        method: PUT
        description: Update Review For Pull Request
        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: deletependingreviewforpullrequest
        method: DELETE
        description: Delete Pending Review For Pull Request
        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-pulls-pull_number-reviews-review_id-comments
      path: /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments
      operations:
      - name: listcommentsforpullrequestreview
        method: GET
        description: List Comments For Pull Request Review
        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-pulls-pull_number-reviews-review_id-dismissals
      path: /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals
      operations:
      - name: dismissreviewforpullrequest
        method: PUT
        description: Dismiss Review For Pull Request
        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-pulls-pull_number-reviews-review_id-events
      path: /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events
      operations:
      - name: submitreviewforpullrequest
        method: POST
        description: Submit Review For Pull Request
        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
    authentication:
      type: bearer
      token: '{{env.GITHUB_API_KEY}}'
  exposes:
  - type: rest
    namespace: temp-reviews-rest
    port: 8080
    description: REST adapter for GitHub Repos API — Reviews. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - 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: Get The Review History For Workflow Run
        call: temp-reviews.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}/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: POST
        name: reviewpendingdeploymentsforworkflowrun
        description: Review Pending Deployments For Workflow Run
        call: temp-reviews.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}/branches/{branch}/protection/required-pull-request-reviews
      name: repos-owner-repo-branches-branch-protection-required-pull-request-reviews
      description: REST surface for repos-owner-repo-branches-branch-protection-required_pull_request_reviews.
      operations:
      - method: GET
        name: getpullrequestreviewprotection
        description: Get Pull Request Review Protection
        call: temp-reviews.getpullrequestreviewprotection
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: updatepullrequestreviewprotection
        description: Update Pull Request Review Protection
        call: temp-reviews.updatepullrequestreviewprotection
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletepullrequestreviewprotection
        description: Delete Pull Request Review Protection
        call: temp-reviews.deletepullrequestreviewprotection
        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}/pulls/comments
      name: repos-owner-repo-pulls-comments
      description: REST surface for repos-owner-repo-pulls-comments.
      operations:
      - method: GET
        name: listreviewcommentsinrepository
        description: List Review Comments In Repository
        call: temp-reviews.listreviewcommentsinrepository
        with:
          sort: rest.sort
          direction: rest.direction
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/pulls/comments/{comment-id}
      name: repos-owner-repo-pulls-comments-comment-id
      description: REST surface for repos-owner-repo-pulls-comments-comment_id.
      operations:
      - method: GET
        name: getreviewcommentforpullrequest
        description: Get Review Comment For Pull Request
        call: temp-reviews.getreviewcommentforpullrequest
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: updatereviewcommentforpullrequest
        description: Update Review Comment For Pull Request
        call: temp-reviews.updatereviewcommentforpullrequest
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletereviewcommentforpullrequest
        description: Delete Review Comment For Pull Request
        call: temp-reviews.deletereviewcommentforpullrequest
        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}/pulls/comments/{comment-id}/reactions
      name: repos-owner-repo-pulls-comments-comment-id-reactions
      description: REST surface for repos-owner-repo-pulls-comments-comment_id-reactions.
      operations:
      - method: GET
        name: listreactionsforpullrequestreviewcomment
        description: List Reactions For Pull Request Review Comment
        call: temp-reviews.listreactionsforpullrequestreviewcomment
        with:
          content: rest.content
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createreactionforpullrequestreviewcomment
        description: Create Reaction For Pull Request Review Comment
        call: temp-reviews.createreactionforpullrequestreviewcomment
        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}/pulls/{pull-number}/comments
      name: repos-owner-repo-pulls-pull-number-comments
      description: REST surface for repos-owner-repo-pulls-pull_number-comments.
      operations:
      - method: GET
        name: listreviewcommentsonpullrequest
        description: List Review Comments On Pull Request
        call: temp-reviews.listreviewcommentsonpullrequest
        with:
          direction: rest.direction
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createreviewcommentforpullrequest
        description: Create Review Comment For Pull Request
        call: temp-reviews.createreviewcommentforpullrequest
        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}/pulls/{pull-number}/comments/{comment-id}/replies
      name: repos-owner-repo-pulls-pull-number-comments-comment-id-replies
      description: REST surface for repos-owner-repo-pulls-pull_number-comments-comment_id-replies.
      operations:
      - method: POST
        name: createreplyforreviewcomment
        description: Create Reply For Review Comment
        call: temp-reviews.createreplyforreviewcomment
        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}/pulls/{pull-number}/reviews
      name: repos-owner-repo-pulls-pull-number-reviews
      description: REST surface for repos-owner-repo-pulls-pull_number-reviews.
      operations:
      - method: GET
        name: listreviewsforpullrequest
        description: List Reviews For Pull Request
        call: temp-reviews.listreviewsforpullrequest
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createreviewforpullrequest
        description: Create Review For Pull Request
        call: temp-reviews.createreviewforpullrequest
        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}/pulls/{pull-number}/reviews/{review-id}
      name: repos-owner-repo-pulls-pull-number-reviews-review-id
      description: REST surface for repos-owner-repo-pulls-pull_number-reviews-review_id.
      operations:
      - method: GET
        name: getreviewforpullrequest
        description: Get Review For Pull Request
        call: temp-reviews.getreviewforpullrequest
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updatereviewforpullrequest
        description: Update Review For Pull Request
        call: temp-reviews.updatereviewforpullrequest
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletependingreviewforpullrequest
        description: Delete Pending Review For Pull Request
        call: temp-reviews.deletependingreviewforpullrequest
        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}/pulls/{pull-number}/reviews/{review-id}/comments
      name: repos-owner-repo-pulls-pull-number-reviews-review-id-comments
      description: REST surface for repos-owner-repo-pulls-pull_number-reviews-review_id-comments.
      operations:
      - method: GET
        name: listcommentsforpullrequestreview
        description: List Comments For Pull Request Review
        call: temp-reviews.listcommentsforpullrequestreview
        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}/pulls/{pull-number}/reviews/{review-id}/dismissals
      name: repos-owner-repo-pulls-pull-number-reviews-review-id-dismissals
      description: REST surface for repos-owner-repo-pulls-pull_number-reviews-review_id-dismissals.
      operations:
      - method: PUT
        name: dismissreviewforpullrequest
        description: Dismiss Review For Pull Request
        call: temp-reviews.dismissreviewforpullrequest
        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}/pulls/{pull-number}/reviews/{review-id}/events
      name: repos-owner-repo-pulls-pull-number-reviews-review-id-events
      description: REST surface for repos-owner-repo-pulls-pull_number-reviews-review_id-events.
      operations:
      - method: POST
        name: submitreviewforpullrequest
        description: Submit Review For Pull Request
        call: temp-reviews.submitreviewforpullrequest
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: temp-reviews-mcp
    port: 9090
    transport: http
    description: MCP adapter for GitHub Repos API — Reviews. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: get-review-history-workflow-run
      description: Get The Review History For Workflow Run
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: temp-reviews.getthereviewhistoryforworkflowrun
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: review-pending-deployments-workflow-run
      description: Review Pending Deployments For Workflow Run
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: temp-reviews.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: get-pull-request-review-protection
      description: Get Pull Request Review Protection
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: temp-reviews.getpullrequestreviewprotection
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: update-pull-request-review-protection
      description: Update Pull Request Review Protection
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: temp-reviews.updatepullrequestreviewprotection
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-pull-request-review-protection
      description: Delete Pull Request Review Protection
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: temp-reviews.deletepullrequestreviewprotection
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: list-review-comments-repository
      description: List Review Comments In Repository
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: temp-reviews.listreviewcommentsinrepository
      with:
        sort: tools.sort
        direction: tools.direction
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: get-review-comment-pull-request
      description: Get Review Comment For Pull Request
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: temp-reviews.getreviewcommentforpullrequest
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: update-review-comment-pull-request
      description: Update Review Comment For Pull Request
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: temp-reviews.updatereviewcommentforpullrequest
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-review-comment-pull-request
      description: Delete Review Comment For Pull Request
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: temp-reviews.deletereviewcommentforpullrequest
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: list-reactions-pull-r

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