Skip to content

Commit 89e687c

Browse files
committed
Refactor Github MCP PR reads after github mcp 0.18.0 release
1 parent 624ad28 commit 89e687c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

commands/security/analyze-github-pr.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,7 @@ You will now begin executing the plan. The following are your precise instructio
111111
- Retrieve the GitHub repository name from the environment variable "${REPOSITORY}".
112112
- Retrieve the GitHub pull request number from the environment variable "${PULL_REQUEST_NUMBER}".
113113
- Retrieve the additional user instructions and context from the environment variable "${ADDITIONAL_CONTEXT}".
114-
- Use `get_pull_request` to get the title, body, and metadata about the pull request.
115-
- Use `get_pull_request_files` to get the list of files that were added, removed, and changed in the pull request.
116-
- Use `get_pull_request_diff` to get the diff from the pull request. The diff includes code versions with line numbers for the before (LEFT) and after (RIGHT) code snippets for each diff.
114+
- Use `pull_request_read` to get the title, body, and metadata about the pull request, as well all information about files changes and the entire git diff.
117115
118116
* Once the command is executed and you have the list of changed files, you will mark this task as complete.
119117

0 commit comments

Comments
 (0)