GitHub
GitHub is a leading platform for version control and collaboration, enabling developers to host and review code, manage projects, and build software together. It provides seamless access to repositories, issues, and pull requests to streamline the development workflow.
Features
- Access public and private repositories with ease.
- Track issues and bugs efficiently within your projects.
- Manage and review pull requests for collaborative coding.
- Integrate with CI/CD tools to automate workflows.
- Supports branching and merging to maintain flexible development.
Benefits
- Enhances team collaboration through centralized code management.
- Improves code quality with peer reviews and issue tracking.
- Accelerates development cycles via integration with popular tools.
- Provides secure and scalable hosting for code repositories.
- Facilitates open-source contributions and community engagement.
Available tools
91 actions available as tools
Add comment to pending review
Add review comment to the requester's latest pending pull request review. A pending review needs to already exist to call this (check with the user if not sure).
Add issue comment
Add a comment to a specific issue in a GitHub repository.
Add sub issue
Add a sub-issue to a parent issue in a GitHub repository.
Assign copilot to issue
Assign Copilot to a specific issue in a GitHub repository. This tool can help with the following outcomes: - a Pull Request created with source code changes to resolve the issue More information can be found at: - https://docs.github.com/en/copilot/using-github-copilot/using-copilot-coding-agent-to-work-on-tasks/about-assigning-tasks-to-copilot
Cancel workflow run
Cancel a workflow run
Create and submit pull request review
Create and submit a review for a pull request without review comments.
Create branch
Create a new branch in a GitHub repository
Create gist
Create a new gist
Create issue
Create a new issue in a GitHub repository.
Create or update file
Create or update a single file in a GitHub repository. If updating, you must provide the SHA of the file you want to update. Use this tool to create or update a file in a GitHub repository remotely; do not use it for local file operations.
Create pending pull request review
Create a pending review for a pull request. Call this first before attempting to add comments to a pending review, and ultimately submitting it. A pending pull request review means a pull request review, it is pending because you create it first and submit it later, and the PR author will not see it until it is submitted.
Create pull request
Create a new pull request in a GitHub repository.
Create pull request with copilot
Delegate a task to GitHub Copilot coding agent to perform in the background. The agent will create a pull request with the implementation. You should use this tool if the user asks to create a pull request to perform a specific task, or if the user asks Copilot to do something.
Create repository
Create a new GitHub repository in your account
Delete file
Delete a file from a GitHub repository
Delete pending pull request review
Delete the requester's latest pending pull request review. Use this after the user decides not to submit a pending review, if you don't know if they already created one then check first.
Delete workflow run logs
Delete logs for a workflow run
Dismiss notification
Dismiss a notification by marking it as read or done
Download workflow run artifact
Get download URL for a workflow run artifact
Fork repository
Fork a GitHub repository to your account or specified organization
Get code scanning alert
Get details of a specific code scanning alert in a GitHub repository.
Get commit
Get details for a commit from a GitHub repository
Get dependabot alert
Get details of a specific dependabot alert in a GitHub repository.
Get discussion
Get a specific discussion by ID
Get discussion comments
Get comments from a discussion
Get file contents
Get the contents of a file or directory from a GitHub repository
Get global security advisory
Get a global security advisory
Get issue
Get details of a specific issue in a GitHub repository.
Get issue comments
Get comments for a specific issue in a GitHub repository.
Get job logs
Download logs for a specific workflow job or efficiently get all failed job logs for a workflow run
Get latest release
Get the latest release in a GitHub repository
Get me
Get details of the authenticated GitHub user. Use this when a request is about the user's own profile for GitHub. Or when information is missing to build other tool calls.
Get notification details
Get detailed information for a specific GitHub notification, always call this tool when the user asks for details about a specific notification, if you don't know the ID list notifications first.
Get pull request
Get details of a specific pull request in a GitHub repository.
Get pull request comments
Get comments for a specific pull request.
Get pull request diff
Get the diff of a pull request.
Get pull request files
Get the files changed in a specific pull request.
Get pull request reviews
Get reviews for a specific pull request.
Get pull request status
Get the status of a specific pull request.
Get release by tag
Get a specific release by its tag name in a GitHub repository
Get secret scanning alert
Get details of a specific secret scanning alert in a GitHub repository.
Get tag
Get details about a specific git tag in a GitHub repository
Get team members
Get member usernames of a specific team in an organization. Limited to organizations accessible with current credentials
Get teams
Get details of the teams the user is a member of. Limited to organizations accessible with current credentials
Get workflow run
Get details of a specific workflow run
Get workflow run logs
Download logs for a specific workflow run (EXPENSIVE: downloads ALL logs as ZIP. Consider using get_job_logs with failed_only=true for debugging failed jobs)
Get workflow run usage
Get usage metrics for a workflow run
List branches
List branches in a GitHub repository
List code scanning alerts
List code scanning alerts in a GitHub repository.
List commits
Get list of commits of a branch in a GitHub repository. Returns at least 30 results per page by default, but can return more if specified using the perPage parameter (up to 100).
List dependabot alerts
List dependabot alerts in a GitHub repository.
List discussion categories
List discussion categories with their id and name, for a repository or organisation.
List discussions
List discussions for a repository or organisation.
List gists
List gists for a user
List global security advisories
List global security advisories from GitHub.
List issue types
List supported issue types for repository owner (organization).
List issues
List issues in a GitHub repository. For pagination, use the 'endCursor' from the previous response's 'pageInfo' in the 'after' parameter.
List notifications
Lists all GitHub notifications for the authenticated user, including unread notifications, mentions, review requests, assignments, and updates on issues or pull requests. Use this tool whenever the user asks what to work on next, requests a summary of their GitHub activity, wants to see pending reviews, or needs to check for new updates or tasks. This tool is the primary way to discover actionable items, reminders, and outstanding work on GitHub. Always call this tool when asked what to work on next, what is pending, or what needs attention in GitHub.
List org repository security advisories
List repository security advisories for a GitHub organization.
List pull requests
List pull requests in a GitHub repository. If the user specifies an author, then DO NOT use this tool and use the search_pull_requests tool instead.
List releases
List releases in a GitHub repository
List repository security advisories
List repository security advisories for a GitHub repository.
List secret scanning alerts
List secret scanning alerts in a GitHub repository.
List sub issues
List sub-issues for a specific issue in a GitHub repository.
List tags
List git tags in a GitHub repository
List workflow jobs
List jobs for a specific workflow run
List workflow run artifacts
List artifacts for a workflow run
List workflow runs
List workflow runs for a specific workflow
List workflows
List workflows in a repository
Manage notification subscription
Manage a notification subscription: ignore, watch, or delete a notification thread subscription.
Manage repository notification subscription
Manage a repository notification subscription: ignore, watch, or delete repository notifications subscription for the provided repository.
Mark all notifications read
Mark all notifications as read
Merge pull request
Merge a pull request in a GitHub repository.
Push files
Push multiple files to a GitHub repository in a single commit
Remove sub issue
Remove a sub-issue from a parent issue in a GitHub repository.
Reprioritize sub issue
Reprioritize a sub-issue to a different position in the parent issue's sub-issue list.
Request copilot review
Request a GitHub Copilot code review for a pull request. Use this for automated feedback on pull requests, usually before requesting a human reviewer.
Rerun failed jobs
Re-run only the failed jobs in a workflow run
Rerun workflow run
Re-run an entire workflow run
Run workflow
Run an Actions workflow by workflow ID or filename
Search code
Fast and precise code search across ALL GitHub repositories using GitHub's native search engine. Best for finding exact symbols, functions, classes, or specific code patterns.
Search issues
Search for issues in GitHub repositories using issues search syntax already scoped to is:issue
Search orgs
Find GitHub organizations by name, location, or other organization metadata. Ideal for discovering companies, open source foundations, or teams.
Search pull requests
Search for pull requests in GitHub repositories using issues search syntax already scoped to is:pr
Search repositories
Find GitHub repositories by name, description, readme, topics, or other metadata. Perfect for discovering projects, finding examples, or locating specific repositories across GitHub.
Search users
Find GitHub users by username, real name, or other profile information. Useful for locating developers, contributors, or team members.
Submit pending pull request review
Submit the requester's latest pending pull request review, normally this is a final step after creating a pending review, adding comments first, unless you know that the user already did the first two steps, you should check before calling this.
Update gist
Update an existing gist
Update issue
Update an existing issue in a GitHub repository.
Update pull request
Update an existing pull request in a GitHub repository.
Update pull request branch
Update the branch of a pull request with the latest changes from the base branch.