GitHub · Capability

GitHub Repos API — Comment

GitHub Repos API — Comment. 22 operations. Lead operation: Get Commit Comment. Self-contained Naftiko capability covering one Github business surface.

Run with Naftiko GithubComment

What You Can Do

GET
Getcommitcomment — Get Commit Comment
/v1/repos/{owner}/{repo}/comments/{comment-id}
PATCH
Updatecommitcomment — Update Commit Comment
/v1/repos/{owner}/{repo}/comments/{comment-id}
DELETE
Deletecommitcomment — Delete Commit Comment
/v1/repos/{owner}/{repo}/comments/{comment-id}
GET
Listreactionsforcommitcomment — List Reactions For Commit Comment
/v1/repos/{owner}/{repo}/comments/{comment-id}/reactions
POST
Createreactionforcommitcomment — Create Reaction For Commit Comment
/v1/repos/{owner}/{repo}/comments/{comment-id}/reactions
DELETE
Deletecommitcommentreaction — Delete Commit Comment Reaction
/v1/repos/{owner}/{repo}/comments/{comment-id}/reactions/{reaction-id}
POST
Createcommitcomment — Create Commit Comment
/v1/repos/{owner}/{repo}/commits/{commit-sha}/comments
GET
Getanissuecomment — Get An Issue Comment
/v1/repos/{owner}/{repo}/issues/comments/{comment-id}
PATCH
Updateanissuecomment — Update An Issue Comment
/v1/repos/{owner}/{repo}/issues/comments/{comment-id}
DELETE
Deleteanissuecomment — Delete An Issue Comment
/v1/repos/{owner}/{repo}/issues/comments/{comment-id}
GET
Listreactionsforanissuecomment — List Reactions For An Issue Comment
/v1/repos/{owner}/{repo}/issues/comments/{comment-id}/reactions
POST
Createreactionforanissuecomment — Create Reaction For An Issue Comment
/v1/repos/{owner}/{repo}/issues/comments/{comment-id}/reactions
DELETE
Deleteanissuecommentreaction — Delete An Issue Comment Reaction
/v1/repos/{owner}/{repo}/issues/comments/{comment-id}/reactions/{reaction-id}
POST
Createanissuecomment — Create An Issue Comment
/v1/repos/{owner}/{repo}/issues/{issue-number}/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
DELETE
Deletepullrequestcommentreaction — Delete Pull Request Comment Reaction
/v1/repos/{owner}/{repo}/pulls/comments/{comment-id}/reactions/{reaction-id}
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

MCP Tools

get-commit-comment

Get Commit Comment

read-only idempotent
update-commit-comment

Update Commit Comment

idempotent
delete-commit-comment

Delete Commit Comment

idempotent
list-reactions-commit-comment

List Reactions For Commit Comment

read-only idempotent
create-reaction-commit-comment

Create Reaction For Commit Comment

delete-commit-comment-reaction

Delete Commit Comment Reaction

idempotent
create-commit-comment

Create Commit Comment

get-issue-comment

Get An Issue Comment

read-only idempotent
update-issue-comment

Update An Issue Comment

idempotent
delete-issue-comment

Delete An Issue Comment

idempotent
list-reactions-issue-comment

List Reactions For An Issue Comment

read-only idempotent
create-reaction-issue-comment

Create Reaction For An Issue Comment

delete-issue-comment-reaction

Delete An Issue Comment Reaction

idempotent
create-issue-comment

Create An Issue Comment

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

delete-pull-request-comment-reaction

Delete Pull Request Comment Reaction

idempotent
create-review-comment-pull-request

Create Review Comment For Pull Request

create-reply-review-comment

Create Reply For Review Comment

Capability Spec

temp-comment.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: GitHub Repos API — Comment
  description: 'GitHub Repos API — Comment. 22 operations. Lead operation: Get Commit Comment. Self-contained Naftiko capability
    covering one Github business surface.'
  tags:
  - Github
  - Comment
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GITHUB_API_KEY: GITHUB_API_KEY
capability:
  consumes:
  - type: http
    namespace: temp-comment
    baseUri: ''
    description: GitHub Repos API — Comment business capability. Self-contained, no shared references.
    resources:
    - name: repos-owner-repo-comments-comment_id
      path: /repos/{owner}/{repo}/comments/{comment_id}
      operations:
      - name: getcommitcomment
        method: GET
        description: Get Commit 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: updatecommitcomment
        method: PATCH
        description: Update Commit 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: deletecommitcomment
        method: DELETE
        description: Delete Commit 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: repos-owner-repo-comments-comment_id-reactions
      path: /repos/{owner}/{repo}/comments/{comment_id}/reactions
      operations:
      - name: listreactionsforcommitcomment
        method: GET
        description: List Reactions For Commit 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: createreactionforcommitcomment
        method: POST
        description: Create Reaction For Commit 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-comments-comment_id-reactions-reaction_id
      path: /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}
      operations:
      - name: deletecommitcommentreaction
        method: DELETE
        description: Delete Commit Comment Reaction
        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-commits-commit_sha-comments
      path: /repos/{owner}/{repo}/commits/{commit_sha}/comments
      operations:
      - name: createcommitcomment
        method: POST
        description: Create Commit 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-issues-comments-comment_id
      path: /repos/{owner}/{repo}/issues/comments/{comment_id}
      operations:
      - name: getanissuecomment
        method: GET
        description: Get An Issue 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: updateanissuecomment
        method: PATCH
        description: Update An Issue 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: deleteanissuecomment
        method: DELETE
        description: Delete An Issue 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: repos-owner-repo-issues-comments-comment_id-reactions
      path: /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions
      operations:
      - name: listreactionsforanissuecomment
        method: GET
        description: List Reactions For An Issue 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: createreactionforanissuecomment
        method: POST
        description: Create Reaction For An Issue 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-issues-comments-comment_id-reactions-reaction_id
      path: /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}
      operations:
      - name: deleteanissuecommentreaction
        method: DELETE
        description: Delete An Issue Comment Reaction
        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-issues-issue_number-comments
      path: /repos/{owner}/{repo}/issues/{issue_number}/comments
      operations:
      - name: createanissuecomment
        method: POST
        description: Create An Issue 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-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-comments-comment_id-reactions-reaction_id
      path: /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}
      operations:
      - name: deletepullrequestcommentreaction
        method: DELETE
        description: Delete Pull Request Comment Reaction
        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-comments
      path: /repos/{owner}/{repo}/pulls/{pull_number}/comments
      operations:
      - 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
    authentication:
      type: bearer
      token: '{{env.GITHUB_API_KEY}}'
  exposes:
  - type: rest
    namespace: temp-comment-rest
    port: 8080
    description: REST adapter for GitHub Repos API — Comment. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/repos/{owner}/{repo}/comments/{comment-id}
      name: repos-owner-repo-comments-comment-id
      description: REST surface for repos-owner-repo-comments-comment_id.
      operations:
      - method: GET
        name: getcommitcomment
        description: Get Commit Comment
        call: temp-comment.getcommitcomment
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: updatecommitcomment
        description: Update Commit Comment
        call: temp-comment.updatecommitcomment
        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: deletecommitcomment
        description: Delete Commit Comment
        call: temp-comment.deletecommitcomment
        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}/comments/{comment-id}/reactions
      name: repos-owner-repo-comments-comment-id-reactions
      description: REST surface for repos-owner-repo-comments-comment_id-reactions.
      operations:
      - method: GET
        name: listreactionsforcommitcomment
        description: List Reactions For Commit Comment
        call: temp-comment.listreactionsforcommitcomment
        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: createreactionforcommitcomment
        description: Create Reaction For Commit Comment
        call: temp-comment.createreactionforcommitcomment
        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}/comments/{comment-id}/reactions/{reaction-id}
      name: repos-owner-repo-comments-comment-id-reactions-reaction-id
      description: REST surface for repos-owner-repo-comments-comment_id-reactions-reaction_id.
      operations:
      - method: DELETE
        name: deletecommitcommentreaction
        description: Delete Commit Comment Reaction
        call: temp-comment.deletecommitcommentreaction
        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}/commits/{commit-sha}/comments
      name: repos-owner-repo-commits-commit-sha-comments
      description: REST surface for repos-owner-repo-commits-commit_sha-comments.
      operations:
      - method: POST
        name: createcommitcomment
        description: Create Commit Comment
        call: temp-comment.createcommitcomment
        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}/issues/comments/{comment-id}
      name: repos-owner-repo-issues-comments-comment-id
      description: REST surface for repos-owner-repo-issues-comments-comment_id.
      operations:
      - method: GET
        name: getanissuecomment
        description: Get An Issue Comment
        call: temp-comment.getanissuecomment
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: updateanissuecomment
        description: Update An Issue Comment
        call: temp-comment.updateanissuecomment
        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: deleteanissuecomment
        description: Delete An Issue Comment
        call: temp-comment.deleteanissuecomment
        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}/issues/comments/{comment-id}/reactions
      name: repos-owner-repo-issues-comments-comment-id-reactions
      description: REST surface for repos-owner-repo-issues-comments-comment_id-reactions.
      operations:
      - method: GET
        name: listreactionsforanissuecomment
        description: List Reactions For An Issue Comment
        call: temp-comment.listreactionsforanissuecomment
        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: createreactionforanissuecomment
        description: Create Reaction For An Issue Comment
        call: temp-comment.createreactionforanissuecomment
        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}/issues/comments/{comment-id}/reactions/{reaction-id}
      name: repos-owner-repo-issues-comments-comment-id-reactions-reaction-id
      description: REST surface for repos-owner-repo-issues-comments-comment_id-reactions-reaction_id.
      operations:
      - method: DELETE
        name: deleteanissuecommentreaction
        description: Delete An Issue Comment Reaction
        call: temp-comment.deleteanissuecommentreaction
        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}/issues/{issue-number}/comments
      name: repos-owner-repo-issues-issue-number-comments
      description: REST surface for repos-owner-repo-issues-issue_number-comments.
      operations:
      - method: POST
        name: createanissuecomment
        description: Create An Issue Comment
        call: temp-comment.createanissuecomment
        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/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-comment.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-comment.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-comment.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-comment.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-comment.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/comments/{comment-id}/reactions/{reaction-id}
      name: repos-owner-repo-pulls-comments-comment-id-reactions-reaction-id
      description: REST surface for repos-owner-repo-pulls-comments-comment_id-reactions-reaction_id.
      operations:
      - method: DELETE
        name: deletepullrequestcommentreaction
        description: Delete Pull Request Comment Reaction
        call: temp-comment.deletepullrequestcommentreaction
        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}/comments
      name: repos-owner-repo-pulls-pull-number-comments
      description: REST surface for repos-owner-repo-pulls-pull_number-comments.
      operations:
      - method: POST
        name: createreviewcommentforpullrequest
        description: Create Review Comment For Pull Request
        call: temp-comment.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-comment.createreplyforreviewcomment
        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-comment-mcp
    port: 9090
    transport: http
    description: MCP adapter for GitHub Repos API — Comment. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: get-commit-comment
      description: Get Commit Comment
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: temp-comment.getcommitcomment
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: update-commit-comment
      description: Update Commit Comment
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: temp-comment.updatecommitcomment
      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-commit-comment
      description: Delete Commit Comment
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: temp-comment.deletecommitcomment
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: list-reactions-commit-comment
      description: List Reactions For Commit Comment
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: temp-comment.listreactionsforcommitcomment
      with:
        content: tools.content
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: create-reaction-commit-comment
      description: Create Reaction For Commit Comment
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: temp-comment.createreactionforcommitcomment
      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-commit-comment-reaction
      description: Delete Commit Comment Reaction
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: temp-comment.deletecommitcommentreaction
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: create-commit-comment
      description: Create Commit Comment
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: temp-comment.createcommitcomment
      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-issue-comment
      description: Get An Issue Comment
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: temp-comment.getanissuecomment
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: update-issue-comment
      description: Update An Issue Comment
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: temp-comment.updateanissuecomment
      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-issue-comment
      description: Delete An Issue Comment
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: temp-comment.deleteanissuecomment
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: list-reactions-issue-comment
      description: List Reactions For An Issue Comment
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: temp-comment.listreactionsforanissuecomment
      with:
        content: tools.content
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
    

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