← Back to all apps

GitHub

Developer toolsby OpenAI

Explore repository files, documentation, folder structures, and commit history to understand code, prepare reviews, or document a project. Summarize pull requests, clarify how parts of the codebase fit together, or turn technical details into approachable explanations when sharing work with others.

41ChatGPT Tools
OpenAIDeveloper
Developer toolsCategory

Available Tools

Add Comment To Issue

add_comment_to_issue
Full Description

Create a top-level PR Conversation comment (Issue comment).

Parameters (3 required)
Required
commentstring
pr_numberinteger
repo_full_namestring

Add Reaction To Issue Comment

add_reaction_to_issue_comment
Full Description

Add a reaction to an issue comment.

Parameters (3 required)
Required
comment_idinteger
reactionstring
repo_full_namestring

Add Reaction To Pr

add_reaction_to_pr
Full Description

Add a reaction to a GitHub pull request.

Parameters (3 required)
Required
pr_numberinteger
reactionstring
repo_full_namestring

Add Reaction To Pr Review Comment

add_reaction_to_pr_review_comment
Full Description

Add a reaction to a pull request review comment.

Parameters (3 required)
Required
comment_idinteger
reactionstring
repo_full_namestring

Add Review To Pr

add_review_to_pr
Full Description

Add a review to a GitHub pull request. review is required for REQUEST_CHANGES and COMMENT events.

Parameters (5 required, 1 optional)
Required
action
file_commentsarray
pr_numberinteger
repo_full_namestring
reviewstring
Optional
commit_idstring
Default: null

Check Repo Initialized

check_repo_initialized
Full Description

Check if a GitHub repository has been set up.

Parameters (1 required)
Required
repo_idinteger

Compare Commits

compare_commits
Full Description

Compare two commits/refs and return per-file stats plus compare metadata.

This is a thin wrapper around GithubPlugin.compare_commits to provide a stable, compact response shape to connector consumers.

Parameters (3 required)
Required
basestring
headstring
repo_full_namestring

Create Blob

create_blob
Full Description

Create a blob in the repository and return its SHA.

Parameters (2 required, 1 optional)
Required
contentstring
repository_full_namestring
Optional
encodingstring

One of utf-8 or base64. Default is utf-8.

Options:utf-8base64
Default: utf-8

Create Branch

create_branch
Full Description

Create a new branch in the given repository from base_branch.

Parameters (3 required)
Required
branch_namestring
repository_full_namestring
shastring

Create Commit

create_commit
Full Description

Create a commit pointing to tree_sha with parent parent_sha.

Parameters (4 required)
Required
messagestring
parent_shastring
repository_full_namestring
tree_shastring

Create File

create_file
Full Description

Create a new file in the repository via the contents API.

Parameters (4 required, 1 optional)
Required
contentstring
messagestring
pathstring
repository_full_namestring
Optional
branchstring
Default: null

Create Pull Request

create_pull_request
Full Description

Open a pull request in the repository.

Parameters (5 required, 1 optional)
Required
base_branchstring
bodystring
head_branchstring
repository_full_namestring
titlestring
Optional
draftboolean
Default: False

Create Tree

create_tree
Full Description

Create a tree object in the repository from the given elements.

Parameters (2 required, 1 optional)
Required
repository_full_namestring
tree_elementsarray
Optional
base_tree_shastring
Default: null

Download User Content

download_user_content
Parameters (1 required)
Required
urlstring

Enable Auto Merge

enable_auto_merge
Full Description

Enable auto-merge for a pull request.

Parameters (2 required)
Required
pr_numberinteger
repository_full_namestring

Fetch

fetch
Full Description

Fetch a file from GitHub by URL.

Parameters (1 required)
Required
urlstring

Fetch Blob

fetch_blob
Full Description

Fetch blob content by SHA from the given repository.

Parameters (2 required)
Required
blob_shastring
repository_full_namestring

Fetch Commit

fetch_commit
Parameters (2 required)
Required
commit_shastring
repo_full_namestring

Fetch File

fetch_file
Full Description

Fetch file content by path and ref from the given repository.

Parameters (3 required, 1 optional)
Required
pathstring
refstring
repository_full_namestring
Optional
encodingstring

One of utf-8 or base64. Default is utf-8.

Options:utf-8base64
Default: utf-8

Fetch Issue

fetch_issue
Full Description

Fetch GitHub issue.

Parameters (2 required)
Required
issue_numberinteger
repostring

Fetch Issue Comments

fetch_issue_comments
Full Description

Fetch comments for a GitHub issue.

Parameters (2 required)
Required
issue_numberinteger
repo_full_namestring

Fetch Pr

fetch_pr
Parameters (2 required)
Required
pr_numberinteger
repo_full_namestring

Fetch Pr Comments

fetch_pr_comments
Full Description

Fetch comments for a GitHub pull request.

Parameters (2 required)
Required
pr_numberinteger
repo_full_namestring

Fetch Pr File Patch

fetch_pr_file_patch
Parameters (3 required)
Required
pathstring
pr_numberinteger
repo_full_namestring

Fetch Pr Patch

fetch_pr_patch
Full Description

Fetch the patch for a GitHub pull request.

Parameters (2 required)
Required
pr_numberinteger
repo_full_namestring

Get Commit Combined Status

get_commit_combined_status
Parameters (2 required)
Required
commit_shastring
repo_full_namestring

Get Issue Comment Reactions

get_issue_comment_reactions
Full Description

Fetch reactions for an issue comment.

Parameters (2 required, 2 optional)
Required
comment_idinteger
repo_full_namestring
Optional
pageinteger
Default: null
per_pageinteger
Default: null

Get Pr Diff

get_pr_diff
Parameters (2 required, 1 optional)
Required
pr_numberinteger
repo_full_namestring
Optional
formatstring
Options:diffpatch
Default: diff

Get Pr Info

get_pr_info
Full Description

Get metadata (title, description, refs, and status) for a pull request.

This action does *not* include the actual code changes. If you need the diff or per-file patches, call fetch_pr_patch instead (or use get_users_recent_prs_in_repo with `include_diff=True` when listing the user's own PRs).

Parameters (2 required)
Required
pr_numberinteger
repository_full_namestring

Get Pr Reactions

get_pr_reactions
Full Description

Fetch reactions for a GitHub pull request.

Parameters (2 required, 2 optional)
Required
pr_numberinteger
repo_full_namestring
Optional
pageinteger
Default: null
per_pageinteger
Default: null

Get Pr Review Comment Reactions

get_pr_review_comment_reactions
Full Description

Fetch reactions for a pull request review comment.

Parameters (2 required, 2 optional)
Required
comment_idinteger
repo_full_namestring
Optional
pageinteger
Default: null
per_pageinteger
Default: null

Get Profile

get_profile
Full Description

Retrieve the GitHub profile for the authenticated user.

Get Repo

get_repo
Full Description

Retrieve metadata for a GitHub repository.

Parameters (1 required)
Required
repo_idstring

Get Repo Collaborator Permission

get_repo_collaborator_permission
Parameters (2 required)
Required
repository_full_namestring
usernamestring

Get User Login

get_user_login
Full Description

Return the GitHub login for the authenticated user.

Get Users Recent Prs In Repo

get_users_recent_prs_in_repo
Full Description

List the user's recent GitHub pull requests in a repository.

Parameters (1 required, 4 optional)
Required
repository_full_namestring
Optional
include_commentsboolean
Default: False
include_diffboolean
Default: False
limitinteger
Default: 20
statestring
Default: all

Label Pr

label_pr
Full Description

Label a pull request.

Parameters (3 required)
Required
labelstring
pr_numberinteger
repository_full_namestring

List Installations

list_installations
Full Description

List all organizations the authenticated user has installed this GitHub App on.

List Installed Accounts

list_installed_accounts
Full Description

List all accounts that the user has installed our GitHub app on.

List Pr Changed Filenames

list_pr_changed_filenames
Parameters (2 required)
Required
pr_numberinteger
repo_full_namestring

List Recent Issues

list_recent_issues
Full Description

Return the most recent GitHub issues the user can access.

Parameters (0 required, 1 optional)
Optional
top_kinteger
Default: 20

List Repositories

list_repositories
Full Description

List repositories accessible to the authenticated user.

Parameters (0 required, 3 optional)
Optional
include_search_index_statusboolean
Default: False
page_offsetinteger
Default: 0
page_sizeinteger
Default: 20

List Repositories By Affiliation

list_repositories_by_affiliation
Full Description

List repositories accessible to the authenticated user filtered by affiliation.

Parameters (1 required, 2 optional)
Required
affiliationstring
Optional
page_offsetinteger
Default: 0
page_sizeinteger
Default: 100

List Repositories By Installation

list_repositories_by_installation
Full Description

List repositories accessible to the authenticated user.

Parameters (1 required, 2 optional)
Required
installation_idinteger
Optional
page_offsetinteger
Default: 0
page_sizeinteger
Default: 20

List User Org Memberships

list_user_org_memberships

List User Orgs

list_user_orgs
Full Description

List organizations the authenticated user is a member of.

Remove Reaction From Issue Comment

remove_reaction_from_issue_comment
Full Description

Remove a reaction from an issue comment.

Parameters (3 required)
Required
comment_idinteger
reaction_idinteger
repo_full_namestring

Remove Reaction From Pr

remove_reaction_from_pr
Full Description

Remove a reaction from a GitHub pull request.

Parameters (3 required)
Required
pr_numberinteger
reaction_idinteger
repo_full_namestring

Remove Reaction From Pr Review Comment

remove_reaction_from_pr_review_comment
Full Description

Remove a reaction from a pull request review comment.

Parameters (3 required)
Required
comment_idinteger
reaction_idinteger
repo_full_namestring

Reply To Review Comment

reply_to_review_comment
Full Description

Reply to an inline review comment on a PR (Files changed thread). comment_id must be the ID of the thread’s top-level inline review comment (replies-to-replies are not supported by the API)

Parameters (4 required)
Required
commentstring
comment_idinteger
pr_numberinteger
repo_full_namestring

Search

search
Full Description

Search files within a specific GitHub repository.

Provide a plain string query, avoid GitHub query flags such as `is:pr. Include keywords that match file names, functions, or error messages. repository_name or org can narrow the search scope. Example: query="tokenizer bug" repository_name="tiktoken". topn` is the number of results to return. No results are returned if the query is empty.

Parameters (1 required, 3 optional)
Required
querystring
Optional
orgstring
Default: null
repository_namestring
Default: null
topninteger
Default: 20

Search Branches

search_branches
Full Description

Search GitHub branches within a repository.

Parameters (3 required, 2 optional)
Required
ownerstring
querystring
repo_namestring
Optional
cursorstring
Default: null
page_sizeinteger
Default: 20

Search Commits

search_commits
Parameters (1 required, 5 optional)
Required
querystring
Optional
order
Default: null
orgstring
Default: null
repostring
Default: null
sort
Default: null
topninteger
Default: 20

Search Installed Repositories Streaming

search_installed_repositories_streaming
Full Description

Search for a repository (not a file) by name or description. To search for a file, use search.

Parameters (1 required, 4 optional)
Required
querystring
Optional
limitinteger
Default: 10
next_tokenstring
Default: null
option_enrich_code_search_index_availabilityboolean
Default: True
option_enrich_code_search_index_request_concurrency_limitinteger
Default: 10

Search Installed Repositories V2

search_installed_repositories_v2
Full Description

Search repositories within the user's installations using GitHub search.

Parameters (1 required, 4 optional)
Required
querystring
Optional
include_search_index_statusboolean
Default: False
installation_idsarray
Default: null
limitinteger
Default: 10
pageinteger
Default: 1

Search Issues

search_issues
Full Description

Search GitHub issues.

Parameters (2 required, 3 optional)
Required
querystring
repostring
Optional
order
Default: null
sort
Default: null
topninteger
Default: 20

Search Prs

search_prs
Full Description

Search GitHub pull requests.

Parameters (1 required, 5 optional)
Required
querystring
Optional
order
Default: null
orgstring
Default: null
repostring
Default: null
sort
Default: null
topninteger
Default: 20

Search Repositories

search_repositories
Full Description

Search for a repository (not a file) by name or description. To search for a file, use search.

Parameters (1 required, 4 optional)
Required
querystring
Optional
orgstring
Default: null
pageinteger
Default: 1
per_pageinteger
Default: null
topninteger
Default: null

Update Issue Comment

update_issue_comment
Full Description

Update a top-level PR Conversation comment (Issue comment).

Parameters (3 required)
Required
commentstring
comment_idinteger
repo_full_namestring

Update Ref

update_ref
Full Description

Move branch ref to the given commit SHA.

Parameters (3 required, 1 optional)
Required
branch_namestring
repository_full_namestring
shastring
Optional
forceboolean
Default: False

Update Review Comment

update_review_comment
Full Description

Update an inline review comment (or a reply) on a PR.

Parameters (3 required)
Required
commentstring
comment_idinteger
repo_full_namestring