Skip to content

Commit a4a1d09

Browse files
committed
Update MCP calls
1 parent 89e687c commit a4a1d09

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

commands/security/analyze-github-pr.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,9 @@ 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 `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.
114+
- Use `pull_request_read.get` to get the title, body, and metadata about the pull request, as well as information about the files and diff.
115+
- Use `get_pull_request_files.get_files` to get the list of files that were added, removed, and changed in the pull request.
116+
- Use `get_pull_request_diff.get_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.
115117
116118
* Once the command is executed and you have the list of changed files, you will mark this task as complete.
117119

0 commit comments

Comments
 (0)