GitHub
Code Platform

GitHub Connector

Connect to GitHub — manage repositories, issues, PRs, branches, releases, workflows, files, gists, and more.

$pip install "toolsconnector[github]"
37
Actions
Code Platform
Category
Free
Apache 2.0

All 37 Actions

Action Description Parameters Returns
add_labelsAdd labels to an issueowner, repo, issue_number, labelslist
create_comment ⚠Create a comment on an issue or pull requestowner, repo, issue_number, bodyComment
create_gist ⚠Create a gistfiles  [description, public]GitHubGist
create_issue ⚠Create an issue in a repositoryowner, repo, title  [body, labels, assignees]Issue
create_or_update_file ⚠Create or update a file in a repositoryowner, repo, path, content, message  [sha, branch]dict
create_pull_request ⚠Create a pull requestowner, repo, title, head, base  [body, draft]PullRequest
create_release ⚠Create a releaseowner, repo, tag_name  [name, body, draft, prerelease, target_commitish]Release
create_repo ⚠Create a new repositoryname  [description, private, auto_init, org]Repository
delete_file ⚠Delete a file from a repositoryowner, repo, path, sha, message  [branch]dict
fork_repo ⚠Fork a repositoryowner, repo  [organization]Repository
get_authenticated_userGet the authenticated user's profiledict
get_branchGet a single branchowner, repo, branchBranch
get_contentGet file or directory contents from a repositoryowner, repo, path  [ref]FileContent
get_issueGet a single issue by numberowner, repo, issue_numberIssue
get_latest_releaseGet the latest releaseowner, repoRelease
get_pull_requestGet a single pull request by numberowner, repo, pr_numberPullRequest
get_rate_limitGet the current rate limit statusdict
get_repoGet a single repository by owner and nameowner, repoRepository
list_branchesList branches in a repositoryowner, repo  [limit, page]PaginatedList[Branch]
list_commentsList comments on an issueowner, repo, issue_number  [limit, page]PaginatedList[Comment]
list_commitsList commits for a repositoryowner, repo  [sha, path, author, limit, page]PaginatedList[Commit]
list_gistsList gists for the authenticated user[limit, page]PaginatedList[GitHubGist]
list_issuesList issues for a repositoryowner, repo  [state, labels, assignee, limit, page]PaginatedList[Issue]
list_pull_requestsList pull requests for a repositoryowner, repo  [state, limit, page]PaginatedList[PullRequest]
list_releasesList releases for a repositoryowner, repo  [limit, page]PaginatedList[Release]
list_reposList repositories for a user or organisation[org, user, limit, page]PaginatedList[Repository]
list_workflow_runsList workflow runs for a repositoryowner, repo  [workflow_id, branch, status, limit, page]PaginatedList[WorkflowRun]
list_workflowsList workflows in a repositoryowner, repo  [limit, page]PaginatedList[Workflow]
merge_pull_request ⚠Merge a pull requestowner, repo, pr_number  [merge_method, commit_title, commit_message]dict
remove_label ⚠Remove a label from an issueowner, repo, issue_number, label_nameNoneType
search_codeSearch code across GitHub repositoriesquery  [limit, page]PaginatedList[CodeSearchResult]
search_issuesSearch issues and pull requests on GitHubquery  [sort, order, limit, page]PaginatedList[Issue]
search_reposSearch repositories on GitHubquery  [sort, order, limit, page]PaginatedList[Repository]
star_repo ⚠Star a repositoryowner, repoNoneType
trigger_workflow ⚠Trigger a workflow dispatchowner, repo, workflow_id  [ref, inputs]NoneType
unstar_repo ⚠Unstar a repositoryowner, repoNoneType
update_issueUpdate an existing issueowner, repo, issue_number  [title, body, state, labels, assignees]Issue
Open Interactive Docs & Playground →

Full schema explorer, code generation, and live API testing