Skip to content

Commit cdab131

Browse files
authored
Add missing tool descriptions (github#515)
1 parent e9926b9 commit cdab131

File tree

1 file changed

+79
-1
lines changed

1 file changed

+79
-1
lines changed

README.md

Lines changed: 79 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,6 +491,14 @@ export GITHUB_MCP_TOOL_ADD_ISSUE_COMMENT_DESCRIPTION="an alternative description
491491
- `page`: Page number (number, optional)
492492
- `perPage`: Results per page (number, optional)
493493

494+
- **assign_copilot_to_issue** - Assign Copilot to a specific issue in a GitHub repository
495+
496+
- `owner`: Repository owner (string, required)
497+
- `repo`: Repository name (string, required)
498+
- `issueNumber`: Issue number (number, required)
499+
- _Note_: This tool can help with creating a Pull Request with source code changes to resolve the issue. More information can be found at [GitHub Copilot documentation](https://docs.github.com/en/copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks/about-assigning-tasks-to-copilot)
500+
501+
494502
### Pull Requests
495503

496504
- **get_pull_request** - Get details of a specific pull request
@@ -549,6 +557,12 @@ export GITHUB_MCP_TOOL_ADD_ISSUE_COMMENT_DESCRIPTION="an alternative description
549557
- `repo`: Repository name (string, required)
550558
- `pullNumber`: Pull request number (number, required)
551559

560+
- **get_pull_request_diff** - Get the diff of a pull request
561+
562+
- `owner`: Repository owner (string, required)
563+
- `repo`: Repository name (string, required)
564+
- `pullNumber`: Pull request number (number, required)
565+
552566
- **create_pull_request_review** - Create a review on a pull request review
553567

554568
- `owner`: Repository owner (string, required)
@@ -561,6 +575,53 @@ export GITHUB_MCP_TOOL_ADD_ISSUE_COMMENT_DESCRIPTION="an alternative description
561575
- For inline comments: provide `path`, `position` (or `line`), and `body`
562576
- For multi-line comments: provide `path`, `start_line`, `line`, optional `side`/`start_side`, and `body`
563577

578+
- **create_pending_pull_request_review** - Create a pending review for a pull request that can be submitted later
579+
580+
- `owner`: Repository owner (string, required)
581+
- `repo`: Repository name (string, required)
582+
- `pullNumber`: Pull request number (number, required)
583+
- `commitID`: SHA of commit to review (string, optional)
584+
585+
- **add_pull_request_review_comment_to_pending_review** - Add a comment to the requester's latest pending pull request review
586+
587+
- `owner`: Repository owner (string, required)
588+
- `repo`: Repository name (string, required)
589+
- `pullNumber`: Pull request number (number, required)
590+
- `path`: The relative path to the file that necessitates a comment (string, required)
591+
- `body`: The text of the review comment (string, required)
592+
- `subjectType`: The level at which the comment is targeted (string, required)
593+
- Enum: "FILE", "LINE"
594+
- `line`: The line of the blob in the pull request diff that the comment applies to (number, optional)
595+
- `side`: The side of the diff to comment on (string, optional)
596+
- Enum: "LEFT", "RIGHT"
597+
- `startLine`: For multi-line comments, the first line of the range (number, optional)
598+
- `startSide`: For multi-line comments, the starting side of the diff (string, optional)
599+
- Enum: "LEFT", "RIGHT"
600+
601+
- **submit_pending_pull_request_review** - Submit the requester's latest pending pull request review
602+
603+
- `owner`: Repository owner (string, required)
604+
- `repo`: Repository name (string, required)
605+
- `pullNumber`: Pull request number (number, required)
606+
- `event`: The event to perform (string, required)
607+
- Enum: "APPROVE", "REQUEST_CHANGES", "COMMENT"
608+
- `body`: The text of the review comment (string, optional)
609+
610+
- **delete_pending_pull_request_review** - Delete the requester's latest pending pull request review
611+
612+
- `owner`: Repository owner (string, required)
613+
- `repo`: Repository name (string, required)
614+
- `pullNumber`: Pull request number (number, required)
615+
616+
- **create_and_submit_pull_request_review** - Create and submit a review for a pull request without review comments
617+
618+
- `owner`: Repository owner (string, required)
619+
- `repo`: Repository name (string, required)
620+
- `pullNumber`: Pull request number (number, required)
621+
- `body`: Review comment text (string, required)
622+
- `event`: Review action ('APPROVE', 'REQUEST_CHANGES', 'COMMENT') (string, required)
623+
- `commitID`: SHA of commit to review (string, optional)
624+
564625
- **create_pull_request** - Create a new pull request
565626

566627
- `owner`: Repository owner (string, required)
@@ -616,6 +677,13 @@ export GITHUB_MCP_TOOL_ADD_ISSUE_COMMENT_DESCRIPTION="an alternative description
616677
- `branch`: Branch name (string, optional)
617678
- `sha`: File SHA if updating (string, optional)
618679

680+
- **delete_file** - Delete a file from a GitHub repository
681+
- `owner`: Repository owner (string, required)
682+
- `repo`: Repository name (string, required)
683+
- `path`: Path to the file to delete (string, required)
684+
- `message`: Commit message (string, required)
685+
- `branch`: Branch to delete the file from (string, required)
686+
619687
- **list_branches** - List branches in a GitHub repository
620688
- `owner`: Repository owner (string, required)
621689
- `repo`: Repository name (string, required)
@@ -674,6 +742,17 @@ export GITHUB_MCP_TOOL_ADD_ISSUE_COMMENT_DESCRIPTION="an alternative description
674742
- `page`: Page number, for files in the commit (number, optional)
675743
- `perPage`: Results per page, for files in the commit (number, optional)
676744

745+
- **get_tag** - Get details about a specific git tag in a GitHub repository
746+
- `owner`: Repository owner (string, required)
747+
- `repo`: Repository name (string, required)
748+
- `tag`: Tag name (string, required)
749+
750+
- **list_tags** - List git tags in a GitHub repository
751+
- `owner`: Repository owner (string, required)
752+
- `repo`: Repository name (string, required)
753+
- `page`: Page number (number, optional)
754+
- `perPage`: Results per page (number, optional)
755+
677756
- **search_code** - Search for code across GitHub repositories
678757
- `query`: Search query (string, required)
679758
- `sort`: Sort field (string, optional)
@@ -732,7 +811,6 @@ export GITHUB_MCP_TOOL_ADD_ISSUE_COMMENT_DESCRIPTION="an alternative description
732811
- `page`: Page number (number, optional)
733812
- `perPage`: Results per page (number, optional)
734813

735-
736814
- **get_notification_details** – Get detailed information for a specific GitHub notification
737815
- `notificationID`: The ID of the notification (string, required)
738816

0 commit comments

Comments
 (0)