GitHub · Capability

GitHub v3 REST API — Reactions

GitHub v3 REST API — Reactions. 25 operations. Lead operation: GitHub List Reactions for a Team Discussion Comment. Self-contained Naftiko capability covering one Github business surface.

Run with Naftiko GithubReactions

What You Can Do

GET
Reactionslistforteamdiscussioncommentinorg — GitHub List Reactions for a Team Discussion Comment
/v1/orgs/{org}/teams/{team-slug}/discussions/{discussion-number}/comments/{comment-number}/reactions
POST
Reactionscreateforteamdiscussioncommentinorg — GitHub Create Reaction for a Team Discussion Comment
/v1/orgs/{org}/teams/{team-slug}/discussions/{discussion-number}/comments/{comment-number}/reactions
DELETE
Reactionsdeleteforteamdiscussioncomment — GitHub Delete Team Discussion Comment Reaction
/v1/orgs/{org}/teams/{team-slug}/discussions/{discussion-number}/comments/{comment-number}/reactions/{reaction-id}
GET
Reactionslistforteamdiscussioninorg — GitHub List Reactions for a Team Discussion
/v1/orgs/{org}/teams/{team-slug}/discussions/{discussion-number}/reactions
POST
Reactionscreateforteamdiscussioninorg — GitHub Create Reaction for a Team Discussion
/v1/orgs/{org}/teams/{team-slug}/discussions/{discussion-number}/reactions
DELETE
Reactionsdeleteforteamdiscussion — GitHub Delete Team Discussion Reaction
/v1/orgs/{org}/teams/{team-slug}/discussions/{discussion-number}/reactions/{reaction-id}
GET
Reactionslistforcommitcomment — GitHub List Reactions for a Commit Comment
/v1/repos/{owner}/{repo}/comments/{comment-id}/reactions
POST
Reactionscreateforcommitcomment — GitHub Create Reaction for a Commit Comment
/v1/repos/{owner}/{repo}/comments/{comment-id}/reactions
DELETE
Reactionsdeleteforcommitcomment — GitHub Delete a Commit Comment Reaction
/v1/repos/{owner}/{repo}/comments/{comment-id}/reactions/{reaction-id}
GET
Reactionslistforissuecomment — GitHub List Reactions for an Issue Comment
/v1/repos/{owner}/{repo}/issues/comments/{comment-id}/reactions
POST
Reactionscreateforissuecomment — GitHub Create Reaction for an Issue Comment
/v1/repos/{owner}/{repo}/issues/comments/{comment-id}/reactions
DELETE
Reactionsdeleteforissuecomment — GitHub Delete an Issue Comment Reaction
/v1/repos/{owner}/{repo}/issues/comments/{comment-id}/reactions/{reaction-id}
GET
Reactionslistforissue — GitHub List Reactions for an Issue
/v1/repos/{owner}/{repo}/issues/{issue-number}/reactions
POST
Reactionscreateforissue — GitHub Create Reaction for an Issue
/v1/repos/{owner}/{repo}/issues/{issue-number}/reactions
DELETE
Reactionsdeleteforissue — GitHub Delete an Issue Reaction
/v1/repos/{owner}/{repo}/issues/{issue-number}/reactions/{reaction-id}
GET
Reactionslistforpullrequestreviewcomment — GitHub List Reactions for a Pull Request Review Comment
/v1/repos/{owner}/{repo}/pulls/comments/{comment-id}/reactions
POST
Reactionscreateforpullrequestreviewcomment — GitHub Create Reaction for a Pull Request Review Comment
/v1/repos/{owner}/{repo}/pulls/comments/{comment-id}/reactions
DELETE
Reactionsdeleteforpullrequestcomment — GitHub Delete a Pull Request Comment Reaction
/v1/repos/{owner}/{repo}/pulls/comments/{comment-id}/reactions/{reaction-id}
GET
Reactionslistforrelease — GitHub List Reactions for a Release
/v1/repos/{owner}/{repo}/releases/{release-id}/reactions
POST
Reactionscreateforrelease — GitHub Create Reaction for a Release
/v1/repos/{owner}/{repo}/releases/{release-id}/reactions
DELETE
Reactionsdeleteforrelease — GitHub Delete a Release Reaction
/v1/repos/{owner}/{repo}/releases/{release-id}/reactions/{reaction-id}
GET
Reactionslistforteamdiscussioncommentlegacy — GitHub List Reactions for a Team Discussion Comment (Legacy)
/v1/teams/{team-id}/discussions/{discussion-number}/comments/{comment-number}/reactions
POST
Reactionscreateforteamdiscussioncommentlegacy — GitHub Create Reaction for a Team Discussion Comment (Legacy)
/v1/teams/{team-id}/discussions/{discussion-number}/comments/{comment-number}/reactions
GET
Reactionslistforteamdiscussionlegacy — GitHub List Reactions for a Team Discussion (Legacy)
/v1/teams/{team-id}/discussions/{discussion-number}/reactions
POST
Reactionscreateforteamdiscussionlegacy — GitHub Create Reaction for a Team Discussion (Legacy)
/v1/teams/{team-id}/discussions/{discussion-number}/reactions

MCP Tools

github-list-reactions-team-discussion

GitHub List Reactions for a Team Discussion Comment

read-only idempotent
github-create-reaction-team-discussion

GitHub Create Reaction for a Team Discussion Comment

github-delete-team-discussion-comment

GitHub Delete Team Discussion Comment Reaction

idempotent
github-list-reactions-team-discussion-2

GitHub List Reactions for a Team Discussion

read-only idempotent
github-create-reaction-team-discussion-2

GitHub Create Reaction for a Team Discussion

github-delete-team-discussion-reaction

GitHub Delete Team Discussion Reaction

idempotent
github-list-reactions-commit-comment

GitHub List Reactions for a Commit Comment

read-only idempotent
github-create-reaction-commit-comment

GitHub Create Reaction for a Commit Comment

github-delete-commit-comment-reaction

GitHub Delete a Commit Comment Reaction

idempotent
github-list-reactions-issue-comment

GitHub List Reactions for an Issue Comment

read-only idempotent
github-create-reaction-issue-comment

GitHub Create Reaction for an Issue Comment

github-delete-issue-comment-reaction

GitHub Delete an Issue Comment Reaction

idempotent
github-list-reactions-issue

GitHub List Reactions for an Issue

read-only idempotent
github-create-reaction-issue

GitHub Create Reaction for an Issue

github-delete-issue-reaction

GitHub Delete an Issue Reaction

idempotent
github-list-reactions-pull-request

GitHub List Reactions for a Pull Request Review Comment

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

GitHub Create Reaction for a Pull Request Review Comment

github-delete-pull-request-comment

GitHub Delete a Pull Request Comment Reaction

idempotent
github-list-reactions-release

GitHub List Reactions for a Release

read-only idempotent
github-create-reaction-release

GitHub Create Reaction for a Release

github-delete-release-reaction

GitHub Delete a Release Reaction

idempotent
github-list-reactions-team-discussion-3

GitHub List Reactions for a Team Discussion Comment (Legacy)

read-only idempotent
github-create-reaction-team-discussion-3

GitHub Create Reaction for a Team Discussion Comment (Legacy)

github-list-reactions-team-discussion-4

GitHub List Reactions for a Team Discussion (Legacy)

read-only idempotent
github-create-reaction-team-discussion-4

GitHub Create Reaction for a Team Discussion (Legacy)

Capability Spec

github-reactions.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: GitHub v3 REST API — Reactions
  description: 'GitHub v3 REST API — Reactions. 25 operations. Lead operation: GitHub List Reactions for a Team Discussion
    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: github-reactions
    baseUri: ''
    description: GitHub v3 REST API — Reactions business capability. Self-contained, no shared references.
    resources:
    - name: orgs-org-teams-team_slug-discussions-discussion_number-comments-comment_number-r
      path: /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions
      operations:
      - name: reactionslistforteamdiscussioncommentinorg
        method: GET
        description: GitHub List Reactions for a Team Discussion 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: reactionscreateforteamdiscussioncommentinorg
        method: POST
        description: GitHub Create Reaction for a Team Discussion Comment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: orgs-org-teams-team_slug-discussions-discussion_number-comments-comment_number-r
      path: /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}
      operations:
      - name: reactionsdeleteforteamdiscussioncomment
        method: DELETE
        description: GitHub Delete Team Discussion Comment Reaction
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: orgs-org-teams-team_slug-discussions-discussion_number-reactions
      path: /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions
      operations:
      - name: reactionslistforteamdiscussioninorg
        method: GET
        description: GitHub List Reactions for a Team Discussion
        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: reactionscreateforteamdiscussioninorg
        method: POST
        description: GitHub Create Reaction for a Team Discussion
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: orgs-org-teams-team_slug-discussions-discussion_number-reactions-reaction_id
      path: /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}
      operations:
      - name: reactionsdeleteforteamdiscussion
        method: DELETE
        description: GitHub Delete Team Discussion Reaction
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: repos-owner-repo-comments-comment_id-reactions
      path: /repos/{owner}/{repo}/comments/{comment_id}/reactions
      operations:
      - name: reactionslistforcommitcomment
        method: GET
        description: GitHub List Reactions for a 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: reactionscreateforcommitcomment
        method: POST
        description: GitHub Create Reaction for a Commit Comment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - 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: reactionsdeleteforcommitcomment
        method: DELETE
        description: GitHub Delete a Commit Comment Reaction
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: repos-owner-repo-issues-comments-comment_id-reactions
      path: /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions
      operations:
      - name: reactionslistforissuecomment
        method: GET
        description: GitHub 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: reactionscreateforissuecomment
        method: POST
        description: GitHub Create Reaction for an Issue Comment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - 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: reactionsdeleteforissuecomment
        method: DELETE
        description: GitHub Delete an Issue Comment Reaction
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: repos-owner-repo-issues-issue_number-reactions
      path: /repos/{owner}/{repo}/issues/{issue_number}/reactions
      operations:
      - name: reactionslistforissue
        method: GET
        description: GitHub List Reactions for an Issue
        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: reactionscreateforissue
        method: POST
        description: GitHub Create Reaction for an Issue
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: repos-owner-repo-issues-issue_number-reactions-reaction_id
      path: /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}
      operations:
      - name: reactionsdeleteforissue
        method: DELETE
        description: GitHub Delete an Issue Reaction
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: repos-owner-repo-pulls-comments-comment_id-reactions
      path: /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions
      operations:
      - name: reactionslistforpullrequestreviewcomment
        method: GET
        description: GitHub List Reactions for a 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: reactionscreateforpullrequestreviewcomment
        method: POST
        description: GitHub Create Reaction for a Pull Request Review Comment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - 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: reactionsdeleteforpullrequestcomment
        method: DELETE
        description: GitHub Delete a Pull Request Comment Reaction
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: repos-owner-repo-releases-release_id-reactions
      path: /repos/{owner}/{repo}/releases/{release_id}/reactions
      operations:
      - name: reactionslistforrelease
        method: GET
        description: GitHub List Reactions for a Release
        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: reactionscreateforrelease
        method: POST
        description: GitHub Create Reaction for a Release
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: repos-owner-repo-releases-release_id-reactions-reaction_id
      path: /repos/{owner}/{repo}/releases/{release_id}/reactions/{reaction_id}
      operations:
      - name: reactionsdeleteforrelease
        method: DELETE
        description: GitHub Delete a Release Reaction
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: teams-team_id-discussions-discussion_number-comments-comment_number-reactions
      path: /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions
      operations:
      - name: reactionslistforteamdiscussioncommentlegacy
        method: GET
        description: GitHub List Reactions for a Team Discussion Comment (Legacy)
        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: reactionscreateforteamdiscussioncommentlegacy
        method: POST
        description: GitHub Create Reaction for a Team Discussion Comment (Legacy)
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: teams-team_id-discussions-discussion_number-reactions
      path: /teams/{team_id}/discussions/{discussion_number}/reactions
      operations:
      - name: reactionslistforteamdiscussionlegacy
        method: GET
        description: GitHub List Reactions for a Team Discussion (Legacy)
        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: reactionscreateforteamdiscussionlegacy
        method: POST
        description: GitHub Create Reaction for a Team Discussion (Legacy)
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
  exposes:
  - type: rest
    namespace: github-reactions-rest
    port: 8080
    description: REST adapter for GitHub v3 REST API — Reactions. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/orgs/{org}/teams/{team-slug}/discussions/{discussion-number}/comments/{comment-number}/reactions
      name: orgs-org-teams-team-slug-discussions-discussion-number-comments-comment-number-r
      description: REST surface for orgs-org-teams-team_slug-discussions-discussion_number-comments-comment_number-r.
      operations:
      - method: GET
        name: reactionslistforteamdiscussioncommentinorg
        description: GitHub List Reactions for a Team Discussion Comment
        call: github-reactions.reactionslistforteamdiscussioncommentinorg
        with:
          content: rest.content
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: reactionscreateforteamdiscussioncommentinorg
        description: GitHub Create Reaction for a Team Discussion Comment
        call: github-reactions.reactionscreateforteamdiscussioncommentinorg
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orgs/{org}/teams/{team-slug}/discussions/{discussion-number}/comments/{comment-number}/reactions/{reaction-id}
      name: orgs-org-teams-team-slug-discussions-discussion-number-comments-comment-number-r
      description: REST surface for orgs-org-teams-team_slug-discussions-discussion_number-comments-comment_number-r.
      operations:
      - method: DELETE
        name: reactionsdeleteforteamdiscussioncomment
        description: GitHub Delete Team Discussion Comment Reaction
        call: github-reactions.reactionsdeleteforteamdiscussioncomment
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orgs/{org}/teams/{team-slug}/discussions/{discussion-number}/reactions
      name: orgs-org-teams-team-slug-discussions-discussion-number-reactions
      description: REST surface for orgs-org-teams-team_slug-discussions-discussion_number-reactions.
      operations:
      - method: GET
        name: reactionslistforteamdiscussioninorg
        description: GitHub List Reactions for a Team Discussion
        call: github-reactions.reactionslistforteamdiscussioninorg
        with:
          content: rest.content
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: reactionscreateforteamdiscussioninorg
        description: GitHub Create Reaction for a Team Discussion
        call: github-reactions.reactionscreateforteamdiscussioninorg
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orgs/{org}/teams/{team-slug}/discussions/{discussion-number}/reactions/{reaction-id}
      name: orgs-org-teams-team-slug-discussions-discussion-number-reactions-reaction-id
      description: REST surface for orgs-org-teams-team_slug-discussions-discussion_number-reactions-reaction_id.
      operations:
      - method: DELETE
        name: reactionsdeleteforteamdiscussion
        description: GitHub Delete Team Discussion Reaction
        call: github-reactions.reactionsdeleteforteamdiscussion
        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: reactionslistforcommitcomment
        description: GitHub List Reactions for a Commit Comment
        call: github-reactions.reactionslistforcommitcomment
        with:
          content: rest.content
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: reactionscreateforcommitcomment
        description: GitHub Create Reaction for a Commit Comment
        call: github-reactions.reactionscreateforcommitcomment
        with:
          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: reactionsdeleteforcommitcomment
        description: GitHub Delete a Commit Comment Reaction
        call: github-reactions.reactionsdeleteforcommitcomment
        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: reactionslistforissuecomment
        description: GitHub List Reactions for an Issue Comment
        call: github-reactions.reactionslistforissuecomment
        with:
          content: rest.content
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: reactionscreateforissuecomment
        description: GitHub Create Reaction for an Issue Comment
        call: github-reactions.reactionscreateforissuecomment
        with:
          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: reactionsdeleteforissuecomment
        description: GitHub Delete an Issue Comment Reaction
        call: github-reactions.reactionsdeleteforissuecomment
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/issues/{issue-number}/reactions
      name: repos-owner-repo-issues-issue-number-reactions
      description: REST surface for repos-owner-repo-issues-issue_number-reactions.
      operations:
      - method: GET
        name: reactionslistforissue
        description: GitHub List Reactions for an Issue
        call: github-reactions.reactionslistforissue
        with:
          content: rest.content
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: reactionscreateforissue
        description: GitHub Create Reaction for an Issue
        call: github-reactions.reactionscreateforissue
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/issues/{issue-number}/reactions/{reaction-id}
      name: repos-owner-repo-issues-issue-number-reactions-reaction-id
      description: REST surface for repos-owner-repo-issues-issue_number-reactions-reaction_id.
      operations:
      - method: DELETE
        name: reactionsdeleteforissue
        description: GitHub Delete an Issue Reaction
        call: github-reactions.reactionsdeleteforissue
        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: reactionslistforpullrequestreviewcomment
        description: GitHub List Reactions for a Pull Request Review Comment
        call: github-reactions.reactionslistforpullrequestreviewcomment
        with:
          content: rest.content
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: reactionscreateforpullrequestreviewcomment
        description: GitHub Create Reaction for a Pull Request Review Comment
        call: github-reactions.reactionscreateforpullrequestreviewcomment
        with:
          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: reactionsdeleteforpullrequestcomment
        description: GitHub Delete a Pull Request Comment Reaction
        call: github-reactions.reactionsdeleteforpullrequestcomment
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/releases/{release-id}/reactions
      name: repos-owner-repo-releases-release-id-reactions
      description: REST surface for repos-owner-repo-releases-release_id-reactions.
      operations:
      - method: GET
        name: reactionslistforrelease
        description: GitHub List Reactions for a Release
        call: github-reactions.reactionslistforrelease
        with:
          content: rest.content
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: reactionscreateforrelease
        description: GitHub Create Reaction for a Release
        call: github-reactions.reactionscreateforrelease
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/releases/{release-id}/reactions/{reaction-id}
      name: repos-owner-repo-releases-release-id-reactions-reaction-id
      description: REST surface for repos-owner-repo-releases-release_id-reactions-reaction_id.
      operations:
      - method: DELETE
        name: reactionsdeleteforrelease
        description: GitHub Delete a Release Reaction
        call: github-reactions.reactionsdeleteforrelease
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/teams/{team-id}/discussions/{discussion-number}/comments/{comment-number}/reactions
      name: teams-team-id-discussions-discussion-number-comments-comment-number-reactions
      description: REST surface for teams-team_id-discussions-discussion_number-comments-comment_number-reactions.
      operations:
      - method: GET
        name: reactionslistforteamdiscussioncommentlegacy
        description: GitHub List Reactions for a Team Discussion Comment (Legacy)
        call: github-reactions.reactionslistforteamdiscussioncommentlegacy
        with:
          content: rest.content
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: reactionscreateforteamdiscussioncommentlegacy
        description: GitHub Create Reaction for a Team Discussion Comment (Legacy)
        call: github-reactions.reactionscreateforteamdiscussioncommentlegacy
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/teams/{team-id}/discussions/{discussion-number}/reactions
      name: teams-team-id-discussions-discussion-number-reactions
      description: REST surface for teams-team_id-discussions-discussion_number-reactions.
      operations:
      - method: GET
        name: reactionslistforteamdiscussionlegacy
        description: GitHub List Reactions for a Team Discussion (Legacy)
        call: github-reactions.reactionslistforteamdiscussionlegacy
        with:
          content: rest.content
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: reactionscreateforteamdiscussionlegacy
        description: GitHub Create Reaction for a Team Discussion (Legacy)
        call: github-reactions.reactionscreateforteamdiscussionlegacy
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: github-reactions-mcp
    port: 9090
    transport: http
    description: MCP adapter for GitHub v3 REST API — Reactions. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: github-list-reactions-team-discussion
      description: GitHub List Reactions for a Team Discussion Comment
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: github-reactions.reactionslistforteamdiscussioncommentinorg
      with:
        content: tools.content
      outputParameters:
      - type: object
        mapping: $.
    - name: github-create-reaction-team-discussion
      description: GitHub Create Reaction for a Team Discussion Comment
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: github-reactions.reactionscreateforteamdiscussioncommentinorg
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: github-delete-team-discussion-comment
      description: GitHub Delete Team Discussion Comment Reaction
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: github-reactions.reactionsdeleteforteamdiscussioncomment
      outputParameters:
      - type: object
        mapping: $.
    - name: github-list-reactions-team-discussion-2
      description: GitHub List Reactions for a Team Discussion
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: github-reactions.reactionslistforteamdiscussioninorg
      with:
        content: tools.content
      outputParameters:
      - type: object
        mapping: $.
    - name: github-create-reaction-team-discussion-2
      description: GitHub Create Reaction for a Team Discussion
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: github-reactions.reactionscreateforteamdiscussioninorg
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: github-delete-team-discussion-reaction
      description: GitHub Delete Team Discussion Reaction
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: github-reactions.reactionsdeleteforteamdiscussion
      outputParameters:
      - type: object
        mapping: $.
    - name: github-list-reactions-commit-comment
      description: GitHub List Reactions for a Commit Comment
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: github-reactions.reactionslistforcommitcomment
      with:
        content: tools.content
      outputParameters:
      - type: object
        mapping: $.
    - name: github-create-reaction-commit-comment
      description: GitHub Create Reaction for a Commit Comment
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: github-reactions.reactionscreateforcommitcomment
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: github-delete-commit-comment-reaction
      description: GitHub Delete a Commit Comment Reaction
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: github-reactions.reactionsdeleteforcommitcomment
      outputParameters:
      - type: object
        mapping: $.
    - name: github-list-reactions-issue-comment
      description: GitHub List Reactions for an Issue Comment
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: github-reactions.reactionslistforissuecomment
      with:
        content: tools.content
      outputParameters:
      - type: object
        mapping: $.
    - name: github-create-reaction-issue-comment
      description: GitHub Create Reaction for an Issue Comment
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: github-reactions.reactionscreateforissuecomment
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: github-delete-issue-comment-reaction
      description: GitHub Delete an Issue Comment Reaction
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: github-reactions.reactionsdeleteforissuecomment
      outputParameters:
      - type: object
        mapping: $.
    - name: github-list-reactions-issue
      description: GitHub List Reactions for an Issue
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: github-reactions.reactionslistforissue
      with:
        content: tools.content
      outputParameters:
      - type: object
        mapping: $.
    - name: github-create-reaction-issue
      description: GitHub Create Reaction for an Issue
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: github-reactions.reactionscreateforissue
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: github-delete-issue-reaction
      description: GitHub Delete an Issue Reaction
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: github-reactions.reactionsdeleteforissue
      outputParameters:
      - type: object
        mapping: $.
    - name: github-list-reactions-pull-request
      description: GitHub List Reactions for a Pull Request Review Comment
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: github-reactions.reactionslistforpullrequestreviewcomment
      with:
        content: tools.content
      outputParameters:
      - type: object
        mapping: $.
    - name: github-create-reaction-pull-request
      description: GitHub Create Reaction for a Pull Request Review Comment
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: github-reactions.reactionscreateforpullrequestreviewcomment
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: github-delete-pull-request-comment
      description: GitHub Delete a Pull Request Comment Reaction
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: github-reactions.reactionsdeleteforpullrequestcomment
      outputParameters:
      - type: obj

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