Updating tool get_pull_request_comments -> get_pull_request_review_comments#1062
Merged
Updating tool get_pull_request_comments -> get_pull_request_review_comments#1062
Conversation
…to signify difference
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR renames the tool get_pull_request_comments to get_pull_request_review_comments to better clarify its purpose. The change addresses confusion between issue comments and pull request review comments by making the tool name and description more specific.
- Renamed the tool function from
GetPullRequestCommentstoGetPullRequestReviewComments - Updated tool name from
get_pull_request_commentstoget_pull_request_review_comments - Enhanced description to clarify that these are review comments on code diffs, not general issue comments
Reviewed Changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| pkg/github/tools.go | Updated tool registration to use the new function name |
| pkg/github/pullrequests_test.go | Updated test function calls and assertions to match the new tool name |
| pkg/github/pullrequests.go | Renamed function and updated tool definition with clearer description |
| pkg/github/toolsnaps/get_pull_request_review_comments.snap | Added snapshot file for the renamed tool |
| README.md | Updated documentation to reflect the new tool name and description |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
LuluBeatson
approved these changes
Sep 9, 2025
nickytonline
pushed a commit
to nickytonline/github-mcp-http
that referenced
this pull request
Oct 4, 2025
…mments (github#1062) * update get_pull_request_comments to get_pull_request_review_comments to signify difference * fix remaining old references * cleanup dangling tool snap
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
There have been rightly so confusions about this tool by LLM and human interpretation.
This change in the tools naming and description signifies the difference between:
We are sticking closer the the official documentation
Closes: #735