Address review comments (including Copilot comments) on the active pull request. Use when: responding to PR feedback, fixing review comments, resolving PR threads, implementing requested changes from reviewers, addressing code review, fixing PR issues.
Read the active pull request, identify unresolved review comments and feedback, implement the requested changes, and resolve the threads.
Call the github-pull-request_currentActivePullRequest tool.
Refresh logic: Check whether a refresh is needed before reading:
refresh to get the cached statelastUpdatedAt field in the resultrefresh: trueFrom the tool result, collect all feedback that needs action:
reviewThreads array: inline review thread objects with an id, isResolved flag, canResolve flag, file path, and nested comments. Focus on threads where isResolved is false.timelineComments array: general PR comments and reviews where commentType is "CHANGES_REQUESTED" or "COMMENTED"Group related threads by file (file field) to handle them efficiently.
Before modifying any files:
Work through the grouped comments file by file:
After all changes are made:
For each thread that was addressed (either by a code change or by a deliberate decision not to change):
github-pull-request_resolveReviewThread with the id from the reviewThreads array.canResolve is true.isResolved: true) or where canResolve is false.Provide a concise summary of: