GitHub
Where the world builds software. Millions of developers and companies build, ship, and maintain their software on GitHub—the largest and most advanced development platform in the world.
Start freeCategory
Works with
AI Compatible
Tools
Create Branch
Create a new branch in a GitHub repo. See the documentation
Create Gist
Allows you to add a new gist with one or more files. See the documentation
Create Issue
Create a new issue in a GitHub repo. See the documentation Return only the translated text without explanations.
Create Issue Comment
Create a new comment in a issue. See the documentation
Create or Update File Contents
Create or update a file in a repository. See the documentation Return only the translated text without explanations.
Create Pull Request
Creates a new pull request for a specified repository. See the documentation
Create Pull Request Review
Submit a review on a pull request: approve it, request changes, or leave a general comment. Set event to APPROVE, REQUEST_CHANGES, or COMMENT — a body is required for REQUEST_CHANGES and COMMENT. Optionally attach inline comments tied to specific lines of the diff. GitHub forbids approving your own pull request, so use COMMENT to leave feedback on PRs you authored. Provide the repository as an owner/repo string and the PR number. Use **Get Pull Request Files** to find the file paths and lines to comment on, and **Search Issues and Pull Requests** with is:pr to resolve the PR number from a title. See the documentation
Create Repository
Creates a new repository for the authenticated user. See the documentation Return only the translated text without explanations.
Create Workflow Dispatch
Creates a new workflow dispatch event. See the documentation
Disable Workflow
Disables a workflow and sets the **state** of the workflow to **disabled_manually**. See the documentation
Enable Workflow
Enables a workflow and sets the **state** of the workflow to **active**. See the documentation
Get Commit
Get a commit in a GitHub repo. See the documentation Return only the translated text without explanations.
Get Current User
Gather a full snapshot of the authenticated GitHub actor, combining /user, /user/orgs, and /user/teams. Returns profile metadata (login, name, email, company, plan, creation timestamps) and trimmed lists of organizations and teams for quick role awareness. Helpful when you need to validate which user is calling the API, adapt behavior based on their org/team memberships, or provide LLMs with grounding before repository operations. See the documentation.
Get Issue
Get the full details of a single issue: title, body, state, labels, assignees, milestone, comment count, and timestamps. Provide the repository as an owner/repo string and the issue number. If you only know the issue by title or topic, call **Search Issues and Pull Requests** first to resolve its number. See the documentation
Get Issue Assignees
Get assignees for an issue in a GitHub repo. See the documentation Return only the translated text without explanations.
Get Pull Request
Get the full details of a single pull request along with its reviews and a CI/merge readiness summary. Returns PR metadata (title, body, state, head/base branches, draft flag, timestamps), the mergeable/mergeable_state flags, a checksSummary rollup of CI status for the head commit (combined commit status + check runs, summarized to an overall state and pass/fail counts), the list of reviews, and a deduplicated list of reviewers with their review states (e.g. APPROVED, CHANGES_REQUESTED). Use this to answer "can I merge this?" and "is CI green?" before calling **Merge Pull Request**. Provide the repository as an owner/repo string and the PR number. If you only know the PR by title, call **Search Issues and Pull Requests** with is:pr first to resolve its number. See the documentation
Get Pull Request Files
List the files changed in a pull request (the PR diff at the file level). Returns each file's filename, status (added/modified/removed/renamed), additions/deletions/changes counts, and the unified patch when available — use this to review what a PR changes before approving or merging it. Provide the repository as an owner/repo string and the PR number. If you only know the PR by title, call **Get Pull Request** or **Search Issues and Pull Requests** with is:pr first to resolve its number. See the documentation
Get Repository Info
Get information for a specific repository. See the documentation Return only the translated text without explanations.
Get Repository Content
Get the content of a file or directory in a specific repository. See the documentation Return only the translated text without explanations.
Get Reviewers
Get reviewers for a PR (see documentation) or Commit SHA (see documentation).
Get Workflow Run
Gets a specific workflow run. See the documentation
List Branches
List the branches in a repository. Provide the repository as an owner/repo string. Optionally filter to only protected (or only unprotected) branches. If you need to discover repository names first, use **List Repositories**. See the documentation
List Commits
List commits in a GitHub repo. See the documentation Return only the translated text without explanations.
List Gist Id Options
Retrieves available options for the Gist Id field.
List Gists for a User Return only the translated text without explanations.
Lists public gists for the specified user. See the documentation Return only the translated text without explanations.
List Organization Options
Retrieves available options for the Organization field.
List Organization Repositories
List repositories for an organization. See the documentation
List Organizations
List all organizations in the authenticated user's account. See the documentation
List Releases
List releases for a repository See the documentation
List Repositories
List repositories the authenticated user can access, or — when org is provided — the repositories of a specific organization. Use this to discover a repo's owner/repo name before calling **Get Repository**, **Get Repository Content**, or **List Commits**. To find repos by name, set the name substring filter. See the documentation
List Team Id Options
Retrieves available options for the Team Id field.
List Workflow Runs
List workflowRuns for a repository See the documentation Return only the translated text without explanations.
List Workflows
List the GitHub Actions workflows defined in a repository. Returns each workflow's id, name, path (e.g. .github/workflows/ci.yml), and state. Use this to discover the workflow file name or ID needed by **Run Workflow**. Provide the repository as an owner/repo string. See the documentation
Merge Pull Request
Merge an open pull request into its base branch. Choose the mergeMethod: merge (a merge commit, the default), squash (combine all commits into one), or rebase. The merge fails if the PR is not mergeable (conflicts, failing required checks, or required reviews missing) — check mergeable state and CI with **Get Pull Request** first. Provide the repository as an owner/repo string and the PR number. To create the PR first, use **Create Pull Request**. See the documentation
Run Workflow
Trigger a GitHub Actions workflow run, or re-run the failed jobs of a previous run. To start a new run, provide workflow (the workflow file name, e.g. ci.yml, its display name, or its numeric ID) and optionally ref (the branch or tag to run on — defaults to the repository's default branch) and inputs (for workflow_dispatch workflows). To re-run only the failed jobs of an existing run instead, provide rerunFailedRunId. The workflow must already have a workflow_dispatch trigger to be dispatchable. Use **List Workflows** to find the workflow file name and **List Workflow Runs** to find a run ID. Provide the repository as an owner/repo string. See the documentation
Search Issues and Pull Requests
Find issues and pull requests by state and keyword. See the documentation
Star Repo
Star a repository. See the docs for more info.
Sync Fork Branch with Upstream
Sync a forked branch with the upstream branch. See the documentation
Update Gist
Allows you to update a gist's description and to update, delete, or rename gist files. See the documentation
Update Issue
Update a new issue in a GitHub repo. See the documentation Return only the translated text without explanations.
Update Project (V2) Item Status
Update the status of an item in the selected Project (V2). See the documentation
Update Pull Request
Updates an existing pull request with new title, body, state, or base branch. See the documentation