naftiko: 1.0.0-alpha2 info: label: github-repos-api — Requests description: 'github-repos-api — Requests. 28 operations. Lead operation: GitHub List Pull Requests. Self-contained Naftiko capability covering one Github business surface.' tags: - Github - Requests 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-requests baseUri: '' description: github-repos-api — Requests business capability. Self-contained, no shared references. resources: - name: repos-owner-repo-pulls path: /repos/{owner}/{repo}/pulls operations: - name: listpullrequests method: GET description: GitHub 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: Authorization in: header type: string - name: X-GitHub-Api-Version in: header type: string - name: Accept in: header type: string - name: createpullrequest method: POST description: GitHub Create 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-comments-comment_id path: /repos/{owner}/{repo}/pulls/comments/{comment_id} operations: - name: getreviewcommentforpullrequest method: GET description: GitHub 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: GitHub 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: GitHub 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: 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/enterprise-server@3.9/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 - name: repos-owner-repo-pulls-pull_number path: /repos/{owner}/{repo}/pulls/{pull_number} operations: - name: getpullrequest method: GET description: GitHub Get 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: updatepullrequest method: PATCH description: GitHub Update Pull Request outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Authorization in: header type: string - name: X-GitHub-Api-Version in: header type: string - name: Accept in: header type: string - name: body in: body type: object description: Request body (JSON). required: false - name: repos-owner-repo-pulls-pull_number-comments path: /repos/{owner}/{repo}/pulls/{pull_number}/comments operations: - name: listreviewcommentsonpullrequest method: GET description: GitHub List Review Comments on Pull Request outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: direction in: query type: string description: The direction to sort results. Ignored without `sort` parameter. - name: Authorization in: header type: string - name: X-GitHub-Api-Version in: header type: string - name: Accept in: header type: string - name: createreviewcommentforpullrequest method: POST description: GitHub 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-commits path: /repos/{owner}/{repo}/pulls/{pull_number}/commits operations: - name: listcommitsonpullrequest method: GET description: GitHub List Commits on Pull Request outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Authorization in: header type: string - name: X-GitHub-Api-Version in: header type: string - name: Accept in: header type: string - name: repos-owner-repo-pulls-pull_number-files path: /repos/{owner}/{repo}/pulls/{pull_number}/files operations: - name: listpullrequestsfiles method: GET description: GitHub List Pull Requests Files 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-merge path: /repos/{owner}/{repo}/pulls/{pull_number}/merge operations: - name: checkifpullrequesthasbeenmerged method: GET description: GitHub Check if Pull Request Has Been Merged 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: mergepullrequest method: PUT description: GitHub Merge Pull Request outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Authorization in: header type: string - name: X-GitHub-Api-Version in: header type: string - name: Accept in: header type: string - name: body in: body type: object description: Request body (JSON). required: false - name: repos-owner-repo-pulls-pull_number-requested_reviewers path: /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers operations: - name: getallrequestedreviewersforpullrequest method: GET description: GitHub Get All Requested Reviewers 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: requestreviewersforpullrequest method: POST description: GitHub Request Reviewers for Pull Request outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Authorization in: header type: string - name: X-GitHub-Api-Version in: header type: string - name: Accept in: header type: string - name: body in: body type: object description: Request body (JSON). required: false - name: removerequestedreviewersfrompullrequest method: DELETE description: GitHub Remove Requested Reviewers from Pull Request outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Authorization in: header type: string - name: X-GitHub-Api-Version in: header type: string - name: Accept in: header type: string - name: body in: body type: object description: Request body (JSON). required: true - name: repos-owner-repo-pulls-pull_number-reviews path: /repos/{owner}/{repo}/pulls/{pull_number}/reviews operations: - name: listreviewsforpullrequest method: GET description: GitHub List Reviews for Pull Request outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Authorization in: header type: string - name: X-GitHub-Api-Version in: header type: string - name: Accept in: header type: string - name: createreviewforpullrequest method: POST description: GitHub Create Review for Pull Request outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Authorization in: header type: string - name: X-GitHub-Api-Version in: header type: string - name: Accept in: header type: string - name: body in: body type: object description: Request body (JSON). required: false - name: repos-owner-repo-pulls-pull_number-reviews-review_id path: /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id} operations: - name: getreviewforpullrequest method: GET description: GitHub Get Review for Pull Request outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Authorization in: header type: string - name: X-GitHub-Api-Version in: header type: string - name: Accept in: header type: string - name: updatereviewforpullrequest method: PUT description: GitHub Update Review for Pull Request outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Authorization in: header type: string - name: X-GitHub-Api-Version in: header type: string - name: Accept in: header type: string - name: body in: body type: object description: Request body (JSON). required: true - name: deletependingreviewforpullrequest method: DELETE description: GitHub Delete Pending Review for Pull Request outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Authorization in: header type: string - name: X-GitHub-Api-Version in: header type: string - name: Accept in: header type: string - name: repos-owner-repo-pulls-pull_number-reviews-review_id-comments path: /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments operations: - name: listcommentsforpullrequestreview method: GET description: GitHub List Comments for Pull Request Review outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Authorization in: header type: string - name: X-GitHub-Api-Version in: header type: string - name: Accept in: header type: string - name: repos-owner-repo-pulls-pull_number-reviews-review_id-dismissals path: /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals operations: - name: dismissreviewforpullrequest method: PUT description: GitHub Dismiss Review for Pull Request outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Authorization in: header type: string - name: X-GitHub-Api-Version in: header type: string - name: Accept in: header type: string - name: body in: body type: object description: Request body (JSON). required: true - name: repos-owner-repo-pulls-pull_number-reviews-review_id-events path: /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events operations: - name: submitreviewforpullrequest method: POST description: GitHub Submit Review for Pull Request outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Authorization in: header type: string - name: X-GitHub-Api-Version in: header type: string - name: Accept in: header type: string - name: body in: body type: object description: Request body (JSON). required: true - name: repos-owner-repo-pulls-pull_number-update-branch path: /repos/{owner}/{repo}/pulls/{pull_number}/update-branch operations: - name: updatepullrequestbranch method: PUT description: GitHub Update Pull Request Branch outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Authorization in: header type: string - name: X-GitHub-Api-Version in: header type: string - name: Accept in: header type: string - name: body in: body type: object description: Request body (JSON). required: false authentication: type: bearer token: '{{env.GITHUB_API_KEY}}' exposes: - type: rest namespace: repo-pulls-requests-rest port: 8080 description: REST adapter for github-repos-api — Requests. 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: listpullrequests description: GitHub List Pull Requests call: repo-pulls-requests.listpullrequests with: state: rest.state head: rest.head base: rest.base sort: rest.sort direction: rest.direction Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept outputParameters: - type: object mapping: $. - method: POST name: createpullrequest description: GitHub Create Pull Request call: repo-pulls-requests.createpullrequest 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: GitHub Get Review Comment for Pull Request call: repo-pulls-requests.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: GitHub Update Review Comment for Pull Request call: repo-pulls-requests.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: GitHub Delete Review Comment for Pull Request call: repo-pulls-requests.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: GitHub List Reactions for Pull Request Review Comment call: repo-pulls-requests.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-requests.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-requests.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} name: repos-owner-repo-pulls-pull-number description: REST surface for repos-owner-repo-pulls-pull_number. operations: - method: GET name: getpullrequest description: GitHub Get Pull Request call: repo-pulls-requests.getpullrequest with: Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept outputParameters: - type: object mapping: $. - method: PATCH name: updatepullrequest description: GitHub Update Pull Request call: repo-pulls-requests.updatepullrequest with: Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/pulls/{pull-number}/comments name: repos-owner-repo-pulls-pull-number-comments description: REST surface for repos-owner-repo-pulls-pull_number-comments. operations: - method: GET name: listreviewcommentsonpullrequest description: GitHub List Review Comments on Pull Request call: repo-pulls-requests.listreviewcommentsonpullrequest with: direction: rest.direction Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept outputParameters: - type: object mapping: $. - method: POST name: createreviewcommentforpullrequest description: GitHub Create Review Comment for Pull Request call: repo-pulls-requests.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}/commits name: repos-owner-repo-pulls-pull-number-commits description: REST surface for repos-owner-repo-pulls-pull_number-commits. operations: - method: GET name: listcommitsonpullrequest description: GitHub List Commits on Pull Request call: repo-pulls-requests.listcommitsonpullrequest 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}/files name: repos-owner-repo-pulls-pull-number-files description: REST surface for repos-owner-repo-pulls-pull_number-files. operations: - method: GET name: listpullrequestsfiles description: GitHub List Pull Requests Files call: repo-pulls-requests.listpullrequestsfiles 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}/merge name: repos-owner-repo-pulls-pull-number-merge description: REST surface for repos-owner-repo-pulls-pull_number-merge. operations: - method: GET name: checkifpullrequesthasbeenmerged description: GitHub Check if Pull Request Has Been Merged call: repo-pulls-requests.checkifpullrequesthasbeenmerged with: Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept outputParameters: - type: object mapping: $. - method: PUT name: mergepullrequest description: GitHub Merge Pull Request call: repo-pulls-requests.mergepullrequest 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}/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: getallrequestedreviewersforpullrequest description: GitHub Get All Requested Reviewers for Pull Request call: repo-pulls-requests.getallrequestedreviewersforpullrequest with: Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept outputParameters: - type: object mapping: $. - method: POST name: requestreviewersforpullrequest description: GitHub Request Reviewers for Pull Request call: repo-pulls-requests.requestreviewersforpullrequest 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: removerequestedreviewersfrompullrequest description: GitHub Remove Requested Reviewers from Pull Request call: repo-pulls-requests.removerequestedreviewersfrompullrequest with: Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/pulls/{pull-number}/reviews name: repos-owner-repo-pulls-pull-number-reviews description: REST surface for repos-owner-repo-pulls-pull_number-reviews. operations: - method: GET name: listreviewsforpullrequest description: GitHub List Reviews for Pull Request call: repo-pulls-requests.listreviewsforpullrequest with: Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept outputParameters: - type: object mapping: $. - method: POST name: createreviewforpullrequest description: GitHub Create Review for Pull Request call: repo-pulls-requests.createreviewforpullrequest with: Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/pulls/{pull-number}/reviews/{review-id} name: repos-owner-repo-pulls-pull-number-reviews-review-id description: REST surface for repos-owner-repo-pulls-pull_number-reviews-review_id. operations: - method: GET name: getreviewforpullrequest description: GitHub Get Review for Pull Request call: repo-pulls-requests.getreviewforpullrequest with: Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept outputParameters: - type: object mapping: $. - method: PUT name: updatereviewforpullrequest description: GitHub Update Review for Pull Request call: repo-pulls-requests.updatereviewforpullrequest with: Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletependingreviewforpullrequest description: GitHub Delete Pending Review for Pull Request call: repo-pulls-requests.deletependingreviewforpullrequest with: Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/pulls/{pull-number}/reviews/{review-id}/comments name: repos-owner-repo-pulls-pull-number-reviews-review-id-comments description: REST surface for repos-owner-repo-pulls-pull_number-reviews-review_id-comments. operations: - method: GET name: listcommentsforpullrequestreview description: GitHub List Comments for Pull Request Review call: repo-pulls-requests.listcommentsforpullrequestreview with: Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/pulls/{pull-number}/reviews/{review-id}/dismissals name: repos-owner-repo-pulls-pull-number-reviews-review-id-dismissals description: REST surface for repos-owner-repo-pulls-pull_number-reviews-review_id-dismissals. operations: - method: PUT name: dismissreviewforpullrequest description: GitHub Dismiss Review for Pull Request call: repo-pulls-requests.dismissreviewforpullrequest with: Authorization: rest.Authorization X-GitHub-Api-Version: rest.X-GitHub-Api-Version Accept: rest.Accept body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repos/{owner}/{repo}/pulls/{pull-number}/reviews/{review-id}/events name: repos-owner-repo-pulls-pull-number-reviews-review-id-events description: REST surface for repos-owner-repo-pulls-pull_number-reviews-review_id-events. operations: - method: POST name: submitreviewforpullrequest description: GitHub Submit Review for Pull Request call: repo-pulls-requests.submitreviewforpullrequest 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}/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: updatepullrequestbranch description: GitHub Update Pull Request Branch call: repo-pulls-requests.updatepullrequestbranch 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: repo-pulls-requests-mcp port: 9090 transport: http description: MCP adapter for github-repos-api — Requests. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: github-list-pull-requests description: GitHub List Pull Requests hints: readOnly: true destructive: false idempotent: true call: repo-pulls-requests.listpullrequests with: state: tools.state head: tools.head base: tools.base sort: tools.sort direction: tools.direction Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: github-create-pull-request description: GitHub Create Pull Request hints: readOnly: false destructive: false idempotent: false call: repo-pulls-requests.createpullrequest 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-get-review-comment-pull description: GitHub Get Review Comment for Pull Request hints: readOnly: true destructive: false idempotent: true call: repo-pulls-requests.getreviewcommentforpullrequest with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: github-update-review-comment-pull description: GitHub Update Review Comment for Pull Request hints: readOnly: false destructive: false idempotent: true call: repo-pulls-requests.updatereviewcommentforpullrequest with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept body: tools.body outputParameters: - type: object mapping: $. - name: github-delete-review-comment-pull description: GitHub Delete Review Comment for Pull Request hints: readOnly: false destructive: true idempotent: true call: repo-pulls-requests.deletereviewcommentforpullrequest with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - 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-requests.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-requests.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-requests.deletepullrequestcommentreaction with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: github-get-pull-request description: GitHub Get Pull Request hints: readOnly: true destructive: false idempotent: true call: repo-pulls-requests.getpullrequest with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: github-update-pull-request description: GitHub Update Pull Request hints: readOnly: false destructive: false idempotent: true call: repo-pulls-requests.updatepullrequest 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-list-review-comments-pull description: GitHub List Review Comments on Pull Request hints: readOnly: true destructive: false idempotent: true call: repo-pulls-requests.listreviewcommentsonpullrequest with: direction: tools.direction Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: github-create-review-comment-pull description: GitHub Create Review Comment for Pull Request hints: readOnly: false destructive: false idempotent: false call: repo-pulls-requests.createreviewcommentforpullrequest 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-list-commits-pull-request description: GitHub List Commits on Pull Request hints: readOnly: true destructive: false idempotent: true call: repo-pulls-requests.listcommitsonpullrequest with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: github-list-pull-requests-files description: GitHub List Pull Requests Files hints: readOnly: true destructive: false idempotent: true call: repo-pulls-requests.listpullrequestsfiles with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: github-check-if-pull-request description: GitHub Check if Pull Request Has Been Merged hints: readOnly: true destructive: false idempotent: true call: repo-pulls-requests.checkifpullrequesthasbeenmerged with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: github-merge-pull-request description: GitHub Merge Pull Request hints: readOnly: false destructive: false idempotent: true call: repo-pulls-requests.mergepullrequest 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-get-all-requested-reviewers description: GitHub Get All Requested Reviewers for Pull Request hints: readOnly: true destructive: false idempotent: true call: repo-pulls-requests.getallrequestedreviewersforpullrequest with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: github-request-reviewers-pull-request description: GitHub Request Reviewers for Pull Request hints: readOnly: false destructive: false idempotent: false call: repo-pulls-requests.requestreviewersforpullrequest 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-remove-requested-reviewers-pull description: GitHub Remove Requested Reviewers from Pull Request hints: readOnly: false destructive: true idempotent: true call: repo-pulls-requests.removerequestedreviewersfrompullrequest 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-list-reviews-pull-request description: GitHub List Reviews for Pull Request hints: readOnly: true destructive: false idempotent: true call: repo-pulls-requests.listreviewsforpullrequest with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: github-create-review-pull-request description: GitHub Create Review for Pull Request hints: readOnly: false destructive: false idempotent: false call: repo-pulls-requests.createreviewforpullrequest 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-get-review-pull-request description: GitHub Get Review for Pull Request hints: readOnly: true destructive: false idempotent: true call: repo-pulls-requests.getreviewforpullrequest with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: github-update-review-pull-request description: GitHub Update Review for Pull Request hints: readOnly: false destructive: false idempotent: true call: repo-pulls-requests.updatereviewforpullrequest 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-pending-review-pull description: GitHub Delete Pending Review for Pull Request hints: readOnly: false destructive: true idempotent: true call: repo-pulls-requests.deletependingreviewforpullrequest with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: github-list-comments-pull-request description: GitHub List Comments for Pull Request Review hints: readOnly: true destructive: false idempotent: true call: repo-pulls-requests.listcommentsforpullrequestreview with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept outputParameters: - type: object mapping: $. - name: github-dismiss-review-pull-request description: GitHub Dismiss Review for Pull Request hints: readOnly: false destructive: false idempotent: true call: repo-pulls-requests.dismissreviewforpullrequest 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-submit-review-pull-request description: GitHub Submit Review for Pull Request hints: readOnly: false destructive: false idempotent: false call: repo-pulls-requests.submitreviewforpullrequest 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-update-pull-request-branch description: GitHub Update Pull Request Branch hints: readOnly: false destructive: false idempotent: true call: repo-pulls-requests.updatepullrequestbranch with: Authorization: tools.Authorization X-GitHub-Api-Version: tools.X-GitHub-Api-Version Accept: tools.Accept body: tools.body outputParameters: - type: object mapping: $.