APIs.io Engineering Platform GitHub v3 REST API — Pulls

APIs.io Engineering Platform GitHub v3 REST API — Pulls. 27 operations. Lead operation: APIs.io Engineering Platform List pull requests. Self-contained Naftiko capability covering one Engineering Platform business surface.

Run with Naftiko Engineering PlatformPulls

What You Can Do

GET
Pullslist — APIs.io Engineering Platform List pull requests
/v1/repos/{owner}/{repo}/pulls
POST
Pullscreate — APIs.io Engineering Platform Create a pull request
/v1/repos/{owner}/{repo}/pulls
GET
Pullslistreviewcommentsforrepo — APIs.io Engineering Platform List review comments in a repository
/v1/repos/{owner}/{repo}/pulls/comments
GET
Pullsgetreviewcomment — APIs.io Engineering Platform Get a review comment for a pull request
/v1/repos/{owner}/{repo}/pulls/comments/{comment-id}
PATCH
Pullsupdatereviewcomment — APIs.io Engineering Platform Update a review comment for a pull request
/v1/repos/{owner}/{repo}/pulls/comments/{comment-id}
DELETE
Pullsdeletereviewcomment — APIs.io Engineering Platform Delete a review comment for a pull request
/v1/repos/{owner}/{repo}/pulls/comments/{comment-id}
GET
Pullsget — APIs.io Engineering Platform Get a pull request
/v1/repos/{owner}/{repo}/pulls/{pull-number}
PATCH
Pullsupdate — APIs.io Engineering Platform Update a pull request
/v1/repos/{owner}/{repo}/pulls/{pull-number}
GET
Pullslistreviewcomments — APIs.io Engineering Platform List review comments on a pull request
/v1/repos/{owner}/{repo}/pulls/{pull-number}/comments
POST
Pullscreatereviewcomment — APIs.io Engineering Platform Create a review comment for a pull request
/v1/repos/{owner}/{repo}/pulls/{pull-number}/comments
POST
Pullscreatereplyforreviewcomment — APIs.io Engineering Platform Create a reply for a review comment
/v1/repos/{owner}/{repo}/pulls/{pull-number}/comments/{comment-id}/replies
GET
Pullslistcommits — APIs.io Engineering Platform List commits on a pull request
/v1/repos/{owner}/{repo}/pulls/{pull-number}/commits
GET
Pullslistfiles — APIs.io Engineering Platform List pull requests files
/v1/repos/{owner}/{repo}/pulls/{pull-number}/files
GET
Pullscheckifmerged — APIs.io Engineering Platform Check if a pull request has been merged
/v1/repos/{owner}/{repo}/pulls/{pull-number}/merge
PUT
Pullsmerge — APIs.io Engineering Platform Merge a pull request
/v1/repos/{owner}/{repo}/pulls/{pull-number}/merge
GET
Pullslistrequestedreviewers — APIs.io Engineering Platform Get all requested reviewers for a pull request
/v1/repos/{owner}/{repo}/pulls/{pull-number}/requested-reviewers
POST
Pullsrequestreviewers — APIs.io Engineering Platform Request reviewers for a pull request
/v1/repos/{owner}/{repo}/pulls/{pull-number}/requested-reviewers
DELETE
Pullsremoverequestedreviewers — APIs.io Engineering Platform Remove requested reviewers from a pull request
/v1/repos/{owner}/{repo}/pulls/{pull-number}/requested-reviewers
GET
Pullslistreviews — APIs.io Engineering Platform List reviews for a pull request
/v1/repos/{owner}/{repo}/pulls/{pull-number}/reviews
POST
Pullscreatereview — APIs.io Engineering Platform Create a review for a pull request
/v1/repos/{owner}/{repo}/pulls/{pull-number}/reviews
GET
Pullsgetreview — APIs.io Engineering Platform Get a review for a pull request
/v1/repos/{owner}/{repo}/pulls/{pull-number}/reviews/{review-id}
PUT
Pullsupdatereview — APIs.io Engineering Platform Update a review for a pull request
/v1/repos/{owner}/{repo}/pulls/{pull-number}/reviews/{review-id}
DELETE
Pullsdeletependingreview — APIs.io Engineering Platform Delete a pending review for a pull request
/v1/repos/{owner}/{repo}/pulls/{pull-number}/reviews/{review-id}
GET
Pullslistcommentsforreview — APIs.io Engineering Platform List comments for a pull request review
/v1/repos/{owner}/{repo}/pulls/{pull-number}/reviews/{review-id}/comments
PUT
Pullsdismissreview — APIs.io Engineering Platform Dismiss a review for a pull request
/v1/repos/{owner}/{repo}/pulls/{pull-number}/reviews/{review-id}/dismissals
POST
Pullssubmitreview — APIs.io Engineering Platform Submit a review for a pull request
/v1/repos/{owner}/{repo}/pulls/{pull-number}/reviews/{review-id}/events
PUT
Pullsupdatebranch — APIs.io Engineering Platform Update a pull request branch
/v1/repos/{owner}/{repo}/pulls/{pull-number}/update-branch

MCP Tools

apis-io-engineering-platform-list-pull

APIs.io Engineering Platform List pull requests

read-only idempotent
apis-io-engineering-platform-create-pull

APIs.io Engineering Platform Create a pull request

apis-io-engineering-platform-list-review

APIs.io Engineering Platform List review comments in a repository

read-only idempotent
apis-io-engineering-platform-get-review

APIs.io Engineering Platform Get a review comment for a pull request

read-only idempotent
apis-io-engineering-platform-update-review

APIs.io Engineering Platform Update a review comment for a pull request

idempotent
apis-io-engineering-platform-delete-review

APIs.io Engineering Platform Delete a review comment for a pull request

idempotent
apis-io-engineering-platform-get-pull

APIs.io Engineering Platform Get a pull request

read-only idempotent
apis-io-engineering-platform-update-pull

APIs.io Engineering Platform Update a pull request

idempotent
apis-io-engineering-platform-list-review-2

APIs.io Engineering Platform List review comments on a pull request

read-only idempotent
apis-io-engineering-platform-create-review

APIs.io Engineering Platform Create a review comment for a pull request

apis-io-engineering-platform-create-reply

APIs.io Engineering Platform Create a reply for a review comment

apis-io-engineering-platform-list-commits

APIs.io Engineering Platform List commits on a pull request

read-only idempotent
apis-io-engineering-platform-list-pull-2

APIs.io Engineering Platform List pull requests files

read-only idempotent
apis-io-engineering-platform-check-if

APIs.io Engineering Platform Check if a pull request has been merged

read-only idempotent
apis-io-engineering-platform-merge-pull

APIs.io Engineering Platform Merge a pull request

idempotent
apis-io-engineering-platform-get-all

APIs.io Engineering Platform Get all requested reviewers for a pull request

read-only idempotent
apis-io-engineering-platform-request-reviewers

APIs.io Engineering Platform Request reviewers for a pull request

apis-io-engineering-platform-remove-requested

APIs.io Engineering Platform Remove requested reviewers from a pull request

idempotent
apis-io-engineering-platform-list-reviews

APIs.io Engineering Platform List reviews for a pull request

read-only idempotent
apis-io-engineering-platform-create-review-2

APIs.io Engineering Platform Create a review for a pull request

apis-io-engineering-platform-get-review-2

APIs.io Engineering Platform Get a review for a pull request

read-only idempotent
apis-io-engineering-platform-update-review-2

APIs.io Engineering Platform Update a review for a pull request

idempotent
apis-io-engineering-platform-delete-pending

APIs.io Engineering Platform Delete a pending review for a pull request

idempotent
apis-io-engineering-platform-list-comments

APIs.io Engineering Platform List comments for a pull request review

read-only idempotent
apis-io-engineering-platform-dismiss-review

APIs.io Engineering Platform Dismiss a review for a pull request

idempotent
apis-io-engineering-platform-submit-review

APIs.io Engineering Platform Submit a review for a pull request

apis-io-engineering-platform-update-pull-2

APIs.io Engineering Platform Update a pull request branch

idempotent

Capability Spec

github-pulls.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: APIs.io Engineering Platform GitHub v3 REST API — Pulls
  description: 'APIs.io Engineering Platform GitHub v3 REST API — Pulls. 27 operations. Lead operation: APIs.io Engineering
    Platform List pull requests. Self-contained Naftiko capability covering one Engineering Platform business surface.'
  tags:
  - Engineering Platform
  - Pulls
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ENGINEERING_PLATFORM_API_KEY: ENGINEERING_PLATFORM_API_KEY
capability:
  consumes:
  - type: http
    namespace: github-pulls
    baseUri: ''
    description: APIs.io Engineering Platform GitHub v3 REST API — Pulls business capability. Self-contained, no shared references.
    resources:
    - name: repos-owner-repo-pulls
      path: /repos/{owner}/{repo}/pulls
      operations:
      - name: pullslist
        method: GET
        description: APIs.io Engineering Platform List pull requests
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: state
          in: query
          type: string
          description: Either `open`, `closed`, or `all` to filter by state.
        - name: head
          in: query
          type: string
          description: 'Filter pulls by head user or head organization and branch name in the format of `user:ref-name` or
            `organization:ref-name`. For example: `github:new-script-form'
        - name: base
          in: query
          type: string
          description: 'Filter pulls by base branch name. Example: `gh-pages`.'
        - name: sort
          in: query
          type: string
          description: 'What to sort results by. `popularity` will sort by the number of comments. `long-running` will sort
            by date created and will limit the results to pull requests '
        - name: direction
          in: query
          type: string
          description: 'The direction of the sort. Default: `desc` when sort is `created` or sort is not specified, otherwise
            `asc`.'
      - name: pullscreate
        method: POST
        description: APIs.io Engineering Platform Create a pull request
        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
      path: /repos/{owner}/{repo}/pulls/comments
      operations:
      - name: pullslistreviewcommentsforrepo
        method: GET
        description: APIs.io Engineering Platform List review comments in a 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: repos-owner-repo-pulls-comments-comment_id
      path: /repos/{owner}/{repo}/pulls/comments/{comment_id}
      operations:
      - name: pullsgetreviewcomment
        method: GET
        description: APIs.io Engineering Platform Get a review comment for a pull request
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: pullsupdatereviewcomment
        method: PATCH
        description: APIs.io Engineering Platform Update a review comment for a pull request
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: pullsdeletereviewcomment
        method: DELETE
        description: APIs.io Engineering Platform Delete a review comment for a pull request
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: repos-owner-repo-pulls-pull_number
      path: /repos/{owner}/{repo}/pulls/{pull_number}
      operations:
      - name: pullsget
        method: GET
        description: APIs.io Engineering Platform Get a pull request
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: pullsupdate
        method: PATCH
        description: APIs.io Engineering Platform Update a pull request
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: repos-owner-repo-pulls-pull_number-comments
      path: /repos/{owner}/{repo}/pulls/{pull_number}/comments
      operations:
      - name: pullslistreviewcomments
        method: GET
        description: APIs.io Engineering Platform List review comments on a 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: pullscreatereviewcomment
        method: POST
        description: APIs.io Engineering Platform Create a review comment for a pull request
        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-pull_number-comments-comment_id-replies
      path: /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies
      operations:
      - name: pullscreatereplyforreviewcomment
        method: POST
        description: APIs.io Engineering Platform Create a reply for a 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-pull_number-commits
      path: /repos/{owner}/{repo}/pulls/{pull_number}/commits
      operations:
      - name: pullslistcommits
        method: GET
        description: APIs.io Engineering Platform List commits on a pull request
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: repos-owner-repo-pulls-pull_number-files
      path: /repos/{owner}/{repo}/pulls/{pull_number}/files
      operations:
      - name: pullslistfiles
        method: GET
        description: APIs.io Engineering Platform List pull requests files
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: repos-owner-repo-pulls-pull_number-merge
      path: /repos/{owner}/{repo}/pulls/{pull_number}/merge
      operations:
      - name: pullscheckifmerged
        method: GET
        description: APIs.io Engineering Platform Check if a pull request has been merged
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: pullsmerge
        method: PUT
        description: APIs.io Engineering Platform Merge a pull request
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: repos-owner-repo-pulls-pull_number-requested_reviewers
      path: /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers
      operations:
      - name: pullslistrequestedreviewers
        method: GET
        description: APIs.io Engineering Platform Get all requested reviewers for a pull request
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: pullsrequestreviewers
        method: POST
        description: APIs.io Engineering Platform Request reviewers for a pull request
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: pullsremoverequestedreviewers
        method: DELETE
        description: APIs.io Engineering Platform Remove requested reviewers from a pull request
        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-pull_number-reviews
      path: /repos/{owner}/{repo}/pulls/{pull_number}/reviews
      operations:
      - name: pullslistreviews
        method: GET
        description: APIs.io Engineering Platform List reviews for a pull request
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: pullscreatereview
        method: POST
        description: APIs.io Engineering Platform Create a review for a pull request
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - 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: pullsgetreview
        method: GET
        description: APIs.io Engineering Platform Get a review for a pull request
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: pullsupdatereview
        method: PUT
        description: APIs.io Engineering Platform Update a review for a pull request
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: pullsdeletependingreview
        method: DELETE
        description: APIs.io Engineering Platform Delete a pending review for a pull request
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: repos-owner-repo-pulls-pull_number-reviews-review_id-comments
      path: /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments
      operations:
      - name: pullslistcommentsforreview
        method: GET
        description: APIs.io Engineering Platform List comments for a pull request review
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: repos-owner-repo-pulls-pull_number-reviews-review_id-dismissals
      path: /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals
      operations:
      - name: pullsdismissreview
        method: PUT
        description: APIs.io Engineering Platform Dismiss a review for a pull request
        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-pull_number-reviews-review_id-events
      path: /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events
      operations:
      - name: pullssubmitreview
        method: POST
        description: APIs.io Engineering Platform Submit a review for a pull request
        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-pull_number-update-branch
      path: /repos/{owner}/{repo}/pulls/{pull_number}/update-branch
      operations:
      - name: pullsupdatebranch
        method: PUT
        description: APIs.io Engineering Platform Update a pull request branch
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
  exposes:
  - type: rest
    namespace: github-pulls-rest
    port: 8080
    description: REST adapter for APIs.io Engineering Platform GitHub v3 REST API — Pulls. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/repos/{owner}/{repo}/pulls
      name: repos-owner-repo-pulls
      description: REST surface for repos-owner-repo-pulls.
      operations:
      - method: GET
        name: pullslist
        description: APIs.io Engineering Platform List pull requests
        call: github-pulls.pullslist
        with:
          state: rest.state
          head: rest.head
          base: rest.base
          sort: rest.sort
          direction: rest.direction
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: pullscreate
        description: APIs.io Engineering Platform Create a pull request
        call: github-pulls.pullscreate
        with:
          body: rest.body
        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: pullslistreviewcommentsforrepo
        description: APIs.io Engineering Platform List review comments in a repository
        call: github-pulls.pullslistreviewcommentsforrepo
        with:
          sort: rest.sort
          direction: rest.direction
        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: pullsgetreviewcomment
        description: APIs.io Engineering Platform Get a review comment for a pull request
        call: github-pulls.pullsgetreviewcomment
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: pullsupdatereviewcomment
        description: APIs.io Engineering Platform Update a review comment for a pull request
        call: github-pulls.pullsupdatereviewcomment
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: pullsdeletereviewcomment
        description: APIs.io Engineering Platform Delete a review comment for a pull request
        call: github-pulls.pullsdeletereviewcomment
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/pulls/{pull-number}
      name: repos-owner-repo-pulls-pull-number
      description: REST surface for repos-owner-repo-pulls-pull_number.
      operations:
      - method: GET
        name: pullsget
        description: APIs.io Engineering Platform Get a pull request
        call: github-pulls.pullsget
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: pullsupdate
        description: APIs.io Engineering Platform Update a pull request
        call: github-pulls.pullsupdate
        with:
          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: pullslistreviewcomments
        description: APIs.io Engineering Platform List review comments on a pull request
        call: github-pulls.pullslistreviewcomments
        with:
          direction: rest.direction
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: pullscreatereviewcomment
        description: APIs.io Engineering Platform Create a review comment for a pull request
        call: github-pulls.pullscreatereviewcomment
        with:
          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: pullscreatereplyforreviewcomment
        description: APIs.io Engineering Platform Create a reply for a review comment
        call: github-pulls.pullscreatereplyforreviewcomment
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/pulls/{pull-number}/commits
      name: repos-owner-repo-pulls-pull-number-commits
      description: REST surface for repos-owner-repo-pulls-pull_number-commits.
      operations:
      - method: GET
        name: pullslistcommits
        description: APIs.io Engineering Platform List commits on a pull request
        call: github-pulls.pullslistcommits
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/pulls/{pull-number}/files
      name: repos-owner-repo-pulls-pull-number-files
      description: REST surface for repos-owner-repo-pulls-pull_number-files.
      operations:
      - method: GET
        name: pullslistfiles
        description: APIs.io Engineering Platform List pull requests files
        call: github-pulls.pullslistfiles
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/pulls/{pull-number}/merge
      name: repos-owner-repo-pulls-pull-number-merge
      description: REST surface for repos-owner-repo-pulls-pull_number-merge.
      operations:
      - method: GET
        name: pullscheckifmerged
        description: APIs.io Engineering Platform Check if a pull request has been merged
        call: github-pulls.pullscheckifmerged
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: pullsmerge
        description: APIs.io Engineering Platform Merge a pull request
        call: github-pulls.pullsmerge
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/pulls/{pull-number}/requested-reviewers
      name: repos-owner-repo-pulls-pull-number-requested-reviewers
      description: REST surface for repos-owner-repo-pulls-pull_number-requested_reviewers.
      operations:
      - method: GET
        name: pullslistrequestedreviewers
        description: APIs.io Engineering Platform Get all requested reviewers for a pull request
        call: github-pulls.pullslistrequestedreviewers
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: pullsrequestreviewers
        description: APIs.io Engineering Platform Request reviewers for a pull request
        call: github-pulls.pullsrequestreviewers
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: pullsremoverequestedreviewers
        description: APIs.io Engineering Platform Remove requested reviewers from a pull request
        call: github-pulls.pullsremoverequestedreviewers
        with:
          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: pullslistreviews
        description: APIs.io Engineering Platform List reviews for a pull request
        call: github-pulls.pullslistreviews
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: pullscreatereview
        description: APIs.io Engineering Platform Create a review for a pull request
        call: github-pulls.pullscreatereview
        with:
          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: pullsgetreview
        description: APIs.io Engineering Platform Get a review for a pull request
        call: github-pulls.pullsgetreview
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: pullsupdatereview
        description: APIs.io Engineering Platform Update a review for a pull request
        call: github-pulls.pullsupdatereview
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: pullsdeletependingreview
        description: APIs.io Engineering Platform Delete a pending review for a pull request
        call: github-pulls.pullsdeletependingreview
        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: pullslistcommentsforreview
        description: APIs.io Engineering Platform List comments for a pull request review
        call: github-pulls.pullslistcommentsforreview
        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: pullsdismissreview
        description: APIs.io Engineering Platform Dismiss a review for a pull request
        call: github-pulls.pullsdismissreview
        with:
          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: pullssubmitreview
        description: APIs.io Engineering Platform Submit a review for a pull request
        call: github-pulls.pullssubmitreview
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/pulls/{pull-number}/update-branch
      name: repos-owner-repo-pulls-pull-number-update-branch
      description: REST surface for repos-owner-repo-pulls-pull_number-update-branch.
      operations:
      - method: PUT
        name: pullsupdatebranch
        description: APIs.io Engineering Platform Update a pull request branch
        call: github-pulls.pullsupdatebranch
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: github-pulls-mcp
    port: 9090
    transport: http
    description: MCP adapter for APIs.io Engineering Platform GitHub v3 REST API — Pulls. One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: apis-io-engineering-platform-list-pull
      description: APIs.io Engineering Platform List pull requests
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: github-pulls.pullslist
      with:
        state: tools.state
        head: tools.head
        base: tools.base
        sort: tools.sort
        direction: tools.direction
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-create-pull
      description: APIs.io Engineering Platform Create a pull request
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: github-pulls.pullscreate
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-list-review
      description: APIs.io Engineering Platform List review comments in a repository
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: github-pulls.pullslistreviewcommentsforrepo
      with:
        sort: tools.sort
        direction: tools.direction
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-get-review
      description: APIs.io Engineering Platform Get a review comment for a pull request
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: github-pulls.pullsgetreviewcomment
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-update-review
      description: APIs.io Engineering Platform Update a review comment for a pull request
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: github-pulls.pullsupdatereviewcomment
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-delete-review
      description: APIs.io Engineering Platform Delete a review comment for a pull request
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: github-pulls.pullsdeletereviewcomment
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-get-pull
      description: APIs.io Engineering Platform Get a pull request
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: github-pulls.pullsget
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-update-pull
      description: APIs.io Engineering Platform Update a pull request
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: github-pulls.pullsupdate
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-list-review-2
      description: APIs.io Engineering Platform List review comments on a pull request
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: github-pulls.pullslistreviewcomments
      with:
        direction: tools.direction
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-create-review
      description: APIs.io Engineering Platform Create a review comment for a pull request
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: github-pulls.pullscreatereviewcomment
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-create-reply
      description: APIs.io Engineering Platform Create a reply for a review comment
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: github-pulls.pullscreatereplyforreviewcomment
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-list-commits
      description: APIs.io Engineering Platform List commits on a pull request
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: github-pulls.pullslistcommits
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-list-pull-2
      description: APIs.io Engineering Platform List pull requests files
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: github-pulls.pullslistfiles
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-check-if
      description: APIs.io Engineering Platform Check if a pull request has been merged
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: github-pulls.pullscheckifmerged
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-merge-pull
      description: APIs.io Engineering Platform Merge a pull request
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: github-pulls.pullsmerge
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-get-all
      description: APIs.io Engineering Platform Get all requested reviewers for a pull request
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: github-pulls.pullslistrequestedreviewers
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-request-reviewers
      description: APIs.io Engineering Platform Request reviewers for a pull request
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: github-pulls.pullsrequestreviewers
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-remove-requested
      description: APIs.io Engineering Platform Remove requested reviewers from a pull request
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: github-pulls.pullsremoverequestedreviewers
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-list-reviews
      description: APIs.io Engineering Platform List reviews for a pull request
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: github-pulls.pullslistreviews
      outputParameters:
      - type: object
        mapping: $.
    - name: apis-io-engineering-platform-create-review-2
      description: APIs.io Engineering Platform Create a review for a pull request
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: gith

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