GitHub · Capability

github-repos-api — Reactions

github-repos-api — Reactions. 3 operations. Lead operation: GitHub List Reactions for Pull Request Review Comment. Self-contained Naftiko capability covering one Github business surface.

Run with Naftiko GithubReactions

What You Can Do

GET
Listreactionsforpullrequestreviewcomment — GitHub List Reactions for Pull Request Review Comment
/v1/repos/{owner}/{repo}/pulls/comments/{comment-id}/reactions
POST
Createreactionforpullrequestreviewcomment — GitHub Create Reaction for Pull Request Review Comment
/v1/repos/{owner}/{repo}/pulls/comments/{comment-id}/reactions
DELETE
Deletepullrequestcommentreaction — GitHub Delete Pull Request Comment Reaction
/v1/repos/{owner}/{repo}/pulls/comments/{comment-id}/reactions/{reaction-id}

MCP Tools

github-list-reactions-pull-request

GitHub List Reactions for Pull Request Review Comment

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

GitHub Create Reaction for Pull Request Review Comment

github-delete-pull-request-comment

GitHub Delete Pull Request Comment Reaction

idempotent

Capability Spec

repo-pulls-reactions.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: github-repos-api — Reactions
  description: 'github-repos-api — Reactions. 3 operations. Lead operation: GitHub List Reactions for Pull Request Review
    Comment. Self-contained Naftiko capability covering one Github business surface.'
  tags:
  - Github
  - Reactions
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GITHUB_API_KEY: GITHUB_API_KEY
capability:
  consumes:
  - type: http
    namespace: repo-pulls-reactions
    baseUri: ''
    description: github-repos-api — Reactions business capability. Self-contained, no shared references.
    resources:
    - name: repos-owner-repo-pulls-comments-comment_id-reactions
      path: /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions
      operations:
      - name: listreactionsforpullrequestreviewcomment
        method: GET
        description: GitHub 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: GitHub 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: GitHub 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
    authentication:
      type: bearer
      token: '{{env.GITHUB_API_KEY}}'
  exposes:
  - type: rest
    namespace: repo-pulls-reactions-rest
    port: 8080
    description: REST adapter for github-repos-api — Reactions. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - 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: GitHub List Reactions for Pull Request Review Comment
        call: repo-pulls-reactions.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: GitHub Create Reaction for Pull Request Review Comment
        call: repo-pulls-reactions.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: GitHub Delete Pull Request Comment Reaction
        call: repo-pulls-reactions.deletepullrequestcommentreaction
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: repo-pulls-reactions-mcp
    port: 9090
    transport: http
    description: MCP adapter for github-repos-api — Reactions. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: github-list-reactions-pull-request
      description: GitHub List Reactions for Pull Request Review Comment
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: repo-pulls-reactions.listreactionsforpullrequestreviewcomment
      with:
        content: tools.content
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: github-create-reaction-pull-request
      description: GitHub Create Reaction for Pull Request Review Comment
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: repo-pulls-reactions.createreactionforpullrequestreviewcomment
      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-delete-pull-request-comment
      description: GitHub Delete Pull Request Comment Reaction
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: repo-pulls-reactions.deletepullrequestcommentreaction
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.