Skip to Content

GitHub

GitHub icon
Arcade Optimized

Arcade.dev LLM tools for Github

Author:Arcade
Version:2.0.1
Auth:User authorization via the Github auth provider
44tools
44require secrets
PyPI VersionPython VersionsWheel StatusDownloadsLicense

Arcade Toolkit for GitHub

The Arcade Toolkit provides a suite of LLM tools designed to streamline interaction with GitHub, enabling developers to automate and enhance their workflows effectively.

Capabilities

  • Automate pull request and issue management, enabling seamless collaboration.
  • Create, update, and delete files and branches within repositories.
  • Retrieve detailed information about repositories, pull requests, and issues.
  • Efficiently search and manage collaborators and labels across repositories.

OAuth

  • Provider: GitHub
  • Scopes: None required.

Secrets

  • Types: webhook_secret, api_key, token.
  • Examples: GITHUB_SERVER_URL, GITHUB_CLASSIC_PERSONAL_ACCESS_TOKEN.

Available tools(44)

44 of 44
Tool nameDescriptionSecrets
Assign a user to a pull request with intelligent search and fuzzy matching.
1
Check if a pull request is ready to merge without attempting the merge.
1
Count the number of stargazers (stars) for a GitHub repository.
1
Create a new branch in a repository.
1
Create a new file or overwrite an existing file in a repository. The explicit mode parameter reduces accidental data loss: the default CREATE mode refuses to touch existing files, while OVERWRITE must be chosen intentionally.
1
Create an issue in a GitHub repository. Optionally add the created issue to a project by specifying add_to_project_number and add_to_project_scope.
1
Create a comment on an issue in a GitHub repository.
1
Create a pull request in a GitHub repository.
1
Create a reply to a review comment for a pull request. Optionally resolve the conversation thread after replying by setting resolve_thread=True and providing the thread_id (GraphQL Node ID).
1
Create a review comment for a pull request in a GitHub repository. IMPORTANT: Line numbers must be part of the diff (changed lines only). GitHub's API requires line numbers that exist in the pull request diff, not just any line in the file. If the line wasn't changed in the PR, the comment will fail with 422 error. If the subject_type is not 'file', then the start_line and end_line parameters are required. If the subject_type is 'file', then the start_line and end_line parameters are ignored. If the commit_id is not provided, the latest commit SHA from the PR will be used. TIP: Use subject_type='file' to comment on the entire file if unsure about line positions.
1
Get the contents of a file in a repository. Returns the decoded content (if text) along with metadata like SHA, size, and line count. For large files, use start_line and end_line to retrieve specific line ranges.
1
Get a specific issue from a GitHub repository.
1
Get a summary of GitHub notifications. Returns counts grouped by reason, repository, and type without full notification details.
2
Get details of a pull request in a GitHub repository.
1
Get a repository. Retrieves detailed information about a repository using the GitHub API.
1
Get pull requests awaiting review by the authenticated user. Returns PRs where user is requested as reviewer and PRs user has recently reviewed.
1
Get user's currently open pull requests and issues across all repositories. Returns open PRs and issues authored by the authenticated user.
1
Get the authenticated user's recent pull requests, reviews, issues, and commits. Returns PRs they authored, merged PRs, PRs they reviewed, issues they opened, and commits pushed
1
List issues in a GitHub repository.
1
List GitHub notifications with pagination. Returns notifications sorted chronologically by most recent first.
2
List repositories for the specified organization.
1
List fields for a Projects V2 project. Returns all custom fields configured for the project, including field types and available options for select/iteration fields.
1
List items for a Projects V2 project with optional filtering.
1
List Projects V2 across organization or user scopes.
1
List commits (from oldest to newest) on a pull request in a GitHub repository.
1
Page 1 of 2(25 of 44)

Selected tools

No tools selected.

Click "Show all tools" to add tools.

Requirements

Select tools to see requirements

#

Github.AssignPullRequestUser

Assign a user to a pull request with intelligent search and fuzzy matching.

Parameters

ParameterTypeReq.Description
ownerstringRequiredThe account owner of the repository.
repostringRequiredThe name of the repository without the .git extension.
pull_request_numberintegerRequiredThe number that identifies the pull request.
assignee_identifierstringRequiredThe user identifier: username, email, name, or ID.
search_modestringRequiredHow to interpret the assignee_identifier.
usernameemailnameid
auto_accept_matchesbooleanOptionalAuto-accept fuzzy matches above 0.9 confidence. Default is False

Requirements

Secrets:GITHUB_SERVER_URL

Output

Type:json— Assignment result with user details or suggestions
#

Github.CheckPullRequestMergeStatus

Check if a pull request is ready to merge without attempting the merge.

Parameters

ParameterTypeReq.Description
ownerstringRequiredThe account owner of the repository.
repostringRequiredThe name of the repository without the .git extension.
pull_request_numberintegerRequiredThe number that identifies the pull request.
include_check_detailsbooleanOptionalInclude individual check run details in the response. Default is False.

Requirements

Secrets:GITHUB_SERVER_URL

Output

Type:json— Comprehensive merge readiness status
#

Github.CountStargazers

Count the number of stargazers (stars) for a GitHub repository.

Parameters

ParameterTypeReq.Description
ownerstringRequiredThe owner of the repository
namestringRequiredThe name of the repository

Requirements

Secrets:GITHUB_SERVER_URL

Output

Type:integer— The number of stargazers (stars) for the specified repository
#

Github.CreateBranch

Create a new branch in a repository.

Parameters

ParameterTypeReq.Description
ownerstringRequiredThe account owner of the repository.
repostringRequiredThe name of the repository without the .git extension.
branchstringRequiredThe name of the new branch.
from_branchstringOptionalThe name of the branch to branch off of. Default: repository default branch.

Requirements

Secrets:GITHUB_SERVER_URL

Output

Type:json— Created branch details
#

Github.CreateFile

Create a new file or overwrite an existing file in a repository. The explicit mode parameter reduces accidental data loss: the default CREATE mode refuses to touch existing files, while OVERWRITE must be chosen intentionally.

Parameters

ParameterTypeReq.Description
ownerstringRequiredThe account owner of the repository.
repostringRequiredThe name of the repository without the .git extension.
pathstringRequiredThe content path.
contentstringRequiredThe content of the file.
messagestringRequiredThe commit message.
branchstringRequiredThe branch name.
modestringOptionalHow to handle existing files. Default is FileMode.CREATE
createoverwrite

Requirements

Secrets:GITHUB_SERVER_URL

Output

Type:json— File creation/update result
#

Github.CreateIssue

Create an issue in a GitHub repository. Optionally add the created issue to a project by specifying add_to_project_number and add_to_project_scope.

Parameters

ParameterTypeReq.Description
ownerstringRequiredThe account owner of the repository. The name is not case sensitive.
repostringRequiredThe name of the repository without the .git extension. The name is not case sensitive.
titlestringRequiredThe title of the issue.
bodystringOptionalThe contents of the issue.
assigneesarray<string>OptionalLogins for Users to assign to this issue.
milestoneintegerOptionalThe number of the milestone to associate this issue with.
labelsarray<string>OptionalLabels to associate with this issue.
add_to_project_numberintegerOptionalProject number to add this issue to
add_to_project_scopestringOptionalProject scope
allorganizationuser
add_to_project_ownerstringOptionalProject owner (defaults to issue owner if not specified)

Requirements

Secrets:GITHUB_SERVER_URL

Output

Type:json— Created issue details with optional project link status
#

Github.CreateIssueComment

Create a comment on an issue in a GitHub repository.

Parameters

ParameterTypeReq.Description
ownerstringRequiredThe account owner of the repository. The name is not case sensitive.
repostringRequiredThe name of the repository without the .git extension. The name is not case sensitive.
issue_numberintegerRequiredThe number that identifies the issue.
bodystringRequiredThe contents of the comment.

Requirements

Secrets:GITHUB_SERVER_URL

Output

Type:json— Created comment details
#

Github.CreatePullRequest

Create a pull request in a GitHub repository.

Parameters

ParameterTypeReq.Description
ownerstringRequiredThe account owner of the repository.
repostringRequiredThe name of the repository without the .git extension.
titlestringRequiredThe title of the pull request.
headstringRequiredThe name of the branch where your changes are implemented. For cross-repository PRs, use format: username:branch.
basestringRequiredThe name of the branch you want the changes pulled into.
bodystringOptionalThe contents/description of the pull request.
draftbooleanOptionalCreate as a draft pull request. Default is False.
maintainer_can_modifybooleanOptionalAllow repository maintainers to modify the pull request branch. Default is True.
issueintegerOptionalIssue number to auto-link. Will prepend 'Closes #{issue}' to the PR body.
reviewersarray<string>OptionalList of user logins to request reviews from.
team_reviewersarray<string>OptionalList of team slugs to request reviews from.

Requirements

Secrets:GITHUB_SERVER_URL

Output

Type:json— Created pull request details
#

Github.CreateReplyForReviewComment

Create a reply to a review comment for a pull request. Optionally resolve the conversation thread after replying by setting resolve_thread=True and providing the thread_id (GraphQL Node ID).

Parameters

ParameterTypeReq.Description
ownerstringRequiredThe account owner of the repository. The name is not case sensitive.
repostringRequiredThe name of the repository without the .git extension. The name is not case sensitive.
pull_numberintegerRequiredThe number that identifies the pull request.
comment_idintegerRequiredThe unique identifier of the comment.
bodystringRequiredThe text of the review comment.
thread_idstringOptionalOptional GraphQL Node ID of the review thread to resolve after replying.
resolve_threadbooleanOptionalWhether to resolve the thread after replying. Default is False.

Requirements

Secrets:GITHUB_SERVER_URL

Output

Type:json— Created reply comment details
#

Github.CreateReviewComment

Create a review comment for a pull request in a GitHub repository. IMPORTANT: Line numbers must be part of the diff (changed lines only). GitHub's API requires line numbers that exist in the pull request diff, not just any line in the file. If the line wasn't changed in the PR, the comment will fail with 422 error. If the subject_type is not 'file', then the start_line and end_line parameters are required. If the subject_type is 'file', then the start_line and end_line parameters are ignored. If the commit_id is not provided, the latest commit SHA from the PR will be used. TIP: Use subject_type='file' to comment on the entire file if unsure about line positions.

Parameters

ParameterTypeReq.Description
ownerstringRequiredThe account owner of the repository. The name is not case sensitive.
repostringRequiredThe name of the repository without the .git extension. The name is not case sensitive.
pull_numberintegerRequiredThe number that identifies the pull request.
bodystringRequiredThe text of the review comment.
pathstringRequiredThe relative path to the file that necessitates a comment.
commit_idstringOptionalThe SHA of the commit needing a comment. If not provided, the latest commit SHA from the PR will be used.
start_lineintegerOptionalThe start line of the range of lines in the pull request diff that the comment applies to. Required unless 'subject_type' is 'file'.
end_lineintegerOptionalThe end line of the range of lines in the pull request diff that the comment applies to. Required unless 'subject_type' is 'file'.
sidestringOptionalThe side of the diff that the pull request's changes appear on. Use LEFT for deletions that appear in red. Use RIGHT for additions that appear in green or unchanged lines that appear in white and are shown for context. Default is RIGHT.
LEFTRIGHT
start_sidestringOptionalThe starting side of the diff that the comment applies to.
subject_typestringOptionalThe type of subject that the comment applies to. Default is file.
fileline

Requirements

Secrets:GITHUB_SERVER_URL

Output

Type:json— Created review comment details
#

Github.GetFileContents

Get the contents of a file in a repository. Returns the decoded content (if text) along with metadata like SHA, size, and line count. For large files, use start_line and end_line to retrieve specific line ranges.

Parameters

ParameterTypeReq.Description
ownerstringRequiredThe account owner of the repository.
repostringRequiredThe name of the repository without the .git extension.
pathstringRequiredPath within the repository relative to its root; omit owner/repo prefixes.
refstringOptionalThe name of the commit/branch/tag. Default: the repository's default branch.
start_lineintegerOptionalFirst line to retrieve (1-indexed). Default: None (entire file).
end_lineintegerOptionalLast line to retrieve (1-indexed, inclusive). Default: None (entire file).

Requirements

Secrets:GITHUB_SERVER_URL

Output

Type:json— File content and metadata
#

Github.GetIssue

Get a specific issue from a GitHub repository.

Parameters

ParameterTypeReq.Description
ownerstringRequiredThe account owner of the repository. The name is not case sensitive.
repostringRequiredThe name of the repository without the .git extension. The name is not case sensitive.
issue_numberintegerRequiredThe number that identifies the issue.

Requirements

Secrets:GITHUB_SERVER_URL

Output

Type:json— Issue details
#

Github.GetNotificationSummary

Get a summary of GitHub notifications. Returns counts grouped by reason, repository, and type without full notification details.

Parameters

No parameters required.

Requirements

Secrets:GITHUB_SERVER_URLGITHUB_CLASSIC_PERSONAL_ACCESS_TOKEN

Output

Type:json— Summary of user notifications
#

Github.GetPullRequest

Get details of a pull request in a GitHub repository.

Parameters

ParameterTypeReq.Description
ownerstringRequiredThe account owner of the repository. The name is not case sensitive.
repostringRequiredThe name of the repository without the .git extension. The name is not case sensitive.
pull_numberintegerRequiredThe number that identifies the pull request.
include_diff_contentbooleanOptionalIf true, return the diff content of the pull request. Default is False.

Requirements

Secrets:GITHUB_SERVER_URL

Output

Type:json— Pull request details
#

Github.GetRepository

Get a repository. Retrieves detailed information about a repository using the GitHub API.

Parameters

ParameterTypeReq.Description
ownerstringRequiredThe account owner of the repository. The name is not case sensitive.
repostringRequiredThe name of the repository without the .git extension. The name is not case sensitive.

Requirements

Secrets:GITHUB_SERVER_URL

Output

Type:json— Repository details
#

Github.GetReviewWorkload

Get pull requests awaiting review by the authenticated user. Returns PRs where user is requested as reviewer and PRs user has recently reviewed.

Parameters

No parameters required.

Requirements

Secrets:GITHUB_SERVER_URL

Output

Type:json— PR review workload information
#

Github.GetUserOpenItems

Get user's currently open pull requests and issues across all repositories. Returns open PRs and issues authored by the authenticated user.

Parameters

ParameterTypeReq.Description
per_pageintegerOptionalNumber of items per category (PRs and issues). Default is 30, max 100.

Requirements

Secrets:GITHUB_SERVER_URL

Output

Type:json— User's currently open pull requests and issues
#

Github.GetUserRecentActivity

Get the authenticated user's recent pull requests, reviews, issues, and commits. Returns PRs they authored, merged PRs, PRs they reviewed, issues they opened, and commits pushed

Parameters

ParameterTypeReq.Description
daysintegerOptionalNumber of days to look back. Default is 30.
per_pageintegerOptionalNumber of items per category (PRs and issues). Default is 10, max 50.

Requirements

Secrets:GITHUB_SERVER_URL

Output

Type:json— Recent pull requests, reviews, issues, and commits
#

Github.ListIssues

List issues in a GitHub repository.

Parameters

ParameterTypeReq.Description
ownerstringRequiredThe account owner of the repository. The name is not case sensitive.
repostringRequiredThe name of the repository without the .git extension. The name is not case sensitive.
statestringOptionalIndicates the state of the issues to return. Default: open
openclosedall
labelsstringOptionalA list of comma separated label names. Example: bug,ui,@high
sortstringOptionalWhat to sort results by. Default: created
createdupdatedcomments
directionstringOptionalThe direction to sort the results by. Default: desc
ascdesc
sincestringOptionalOnly show notifications updated after the given time. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.
per_pageintegerOptionalThe number of results per page (max 100). Default: 30
pageintegerOptionalPage number of the results to fetch. Default: 1
search_org_widebooleanOptionalSearch across all organization repositories instead of just one repository. Default is False.

Requirements

Secrets:GITHUB_SERVER_URL

Output

Type:json— List of issues in the repository
#

Github.ListNotifications

List GitHub notifications with pagination. Returns notifications sorted chronologically by most recent first.

Parameters

ParameterTypeReq.Description
pageintegerOptionalPage number to fetch. Default is 1.
per_pageintegerOptionalNumber of notifications per page (max 100). Default is 30.
all_notificationsbooleanOptionalInclude read notifications. Default is False.
participatingbooleanOptionalOnly show notifications user is participating in. Default is False.
repository_full_namestringOptionalFilter notifications to owner/name repository. Default is None.
subject_typesarray<string>OptionalList of notification subject types to include. Default is None (all types).
IssuePullRequestReleaseCommitDiscussion

Requirements

Secrets:GITHUB_SERVER_URLGITHUB_CLASSIC_PERSONAL_ACCESS_TOKEN

Output

Type:json— Paginated list of notifications
#

Github.ListOrgRepositories

List repositories for the specified organization.

Parameters

ParameterTypeReq.Description
orgstringRequiredThe organization name. The name is not case sensitive
repo_typestringOptionalThe types of repositories you want returned. Default is all repositories.
allpublicprivateforkssourcesmember
sortstringOptionalThe property to sort the results by. Default is created.
createdupdatedpushedfull_name
sort_directionstringOptionalThe order to sort by. Default is asc.
ascdesc
per_pageintegerOptionalThe number of results per page. Default is 30.
pageintegerOptionalThe page number of the results to fetch. Default is 1.

Requirements

Secrets:GITHUB_SERVER_URL

Output

Type:json— List of organization repositories
#

Github.ListProjectFields

List fields for a Projects V2 project. Returns all custom fields configured for the project, including field types and available options for select/iteration fields.

Parameters

ParameterTypeReq.Description
project_search_modestringRequiredSelect project lookup by number or name
numbername
project_identifierstringRequiredProject number or title
scope_targetstringRequiredWhere the project lives
allorganizationuser
scope_identifierstringRequiredOwner reference
auto_accept_matchesbooleanOptionalAuto-accept fuzzy matches above 0.9 confidence. Default is False

Requirements

Secrets:GITHUB_SERVER_URL

Output

Type:json— Project fields with options
#

Github.ListProjectItems

List items for a Projects V2 project with optional filtering.

Parameters

ParameterTypeReq.Description
project_search_modestringRequiredSelect project lookup by number or name
numbername
project_identifierstringRequiredProject number or title
scope_targetstringRequiredWhere the project lives
allorganizationuser
scope_identifierstringRequiredOwner reference
filter_assigneestringOptionalFilter by assignee ('@me' or username)
filter_statusstringOptionalFilter by status field value
filter_labelsarray<string>OptionalFilter by labels
filter_is_openbooleanOptionalFilter by open/closed state
advanced_querystringOptionalAdvanced query (overrides filters)
per_pageintegerOptionalItems per page (max 100). Default is 30.
cursorstringOptionalCursor for next page
auto_accept_matchesbooleanOptionalAuto-accept fuzzy matches above 0.9 confidence. Default is False

Requirements

Secrets:GITHUB_SERVER_URL

Output

Type:json— Project items with summary and pagination
#

Github.ListProjects

List Projects V2 across organization or user scopes.

Parameters

ParameterTypeReq.Description
search_modestringRequiredSelect search by number or name
numbername
scope_targetstringRequiredWhere the project lives
allorganizationuser
scope_identifierstringRequiredOwner reference (org name or username)
project_identifierstringOptionalProject number or title
query_filterstringOptionalFilter projects (e.g., 'template')
statestringOptionalProject state filter
openclosedall
per_pageintegerOptionalItems per page (max 100). Default is 30.
cursorstringOptionalCursor for next page
auto_accept_matchesbooleanOptionalAuto-accept fuzzy matches above 0.9 confidence. Default is False

Requirements

Secrets:GITHUB_SERVER_URL

Output

Type:json— Projects with summary and pagination
#

Github.ListPullRequestCommits

List commits (from oldest to newest) on a pull request in a GitHub repository.

Parameters

ParameterTypeReq.Description
ownerstringRequiredThe account owner of the repository. The name is not case sensitive.
repostringRequiredThe name of the repository without the .git extension. The name is not case sensitive.
pull_numberintegerRequiredThe number that identifies the pull request.
per_pageintegerOptionalThe number of results per page (max 100). Default is 30.
pageintegerOptionalThe page number of the results to fetch. Default is 1.

Requirements

Secrets:GITHUB_SERVER_URL

Output

Type:json— List of commits on the pull request
#

Github.ListPullRequests

List pull requests in a GitHub repository. By default returns newest pull requests first (direction=DESC).

Parameters

ParameterTypeReq.Description
ownerstringRequiredThe account owner of the repository. The name is not case sensitive.
repostringRequiredThe name of the repository without the .git extension. The name is not case sensitive.
statestringOptionalThe state of the pull requests to return. Default is open.
openclosedall
headstringOptionalFilter pulls by head user or head organization and branch name in the format of user:ref-name or organization:ref-name.
basestringOptionalFilter pulls by base branch name. Default is main.
sortstringOptionalThe property to sort the results by.
createdupdatedpopularitylong-running
directionstringOptionalThe direction of the sort.
ascdesc
per_pageintegerOptionalThe number of results per page (max 100). Default is 30.
pageintegerOptionalThe page number of the results to fetch. Default is 1.
search_org_widebooleanOptionalSearch across all organization repositories instead of just one repository. Default is False.

Requirements

Secrets:GITHUB_SERVER_URL

Output

Type:json— List of pull requests
#

Github.ListRepositoryActivities

List repository activities. Retrieves a detailed history of changes to a repository, such as pushes, merges, force pushes, and branch changes, and associates these changes with commits and users.

Parameters

ParameterTypeReq.Description
ownerstringRequiredThe account owner of the repository. The name is not case sensitive.
repostringRequiredThe name of the repository without the .git extension. The name is not case sensitive.
directionstringOptionalThe direction to sort the results by. Default is desc.
ascdesc
per_pageintegerOptionalThe number of results per page (max 100). Default is 30.
beforestringOptionalA cursor (unique ID, e.g., a SHA of a commit) to search for results before this cursor.
afterstringOptionalA cursor (unique ID, e.g., a SHA of a commit) to search for results after this cursor.
refstringOptionalThe Git reference for the activities you want to list. The ref for a branch can be formatted either as refs/heads/BRANCH_NAME or BRANCH_NAME, where BRANCH_NAME is the name of your branch.
actorstringOptionalThe GitHub username to filter by the actor who performed the activity.
time_periodstringOptionalThe time period to filter by.
dayweekmonthquarteryear
activity_typestringOptionalThe activity type to filter by.
pushforce_pushbranch_creationbranch_deletionpr_mergemerge_queue_merge

Requirements

Secrets:GITHUB_SERVER_URL

Output

Type:json— List of repository activities
#

Github.ListRepositoryCollaborators

List collaborators for a repository. Returns users who have access to the repository and can be requested as reviewers for pull requests. Useful for discovering who can review your PR. Detail levels: - basic: Only explicit collaborators (fast, minimal API calls) - include_org_members: Add all org members (default, moderate API calls) - full_profiles: Add org members + enrich with names/emails (slow, many API calls)

Parameters

ParameterTypeReq.Description
ownerstringRequiredThe account owner of the repository.
repostringRequiredThe name of the repository without the .git extension.
affiliationstringOptionalFilter by affiliation type. Default is all.
outsidedirectall
permissionstringOptionalFilter by permission level. Default returns all permission levels.
pulltriagepushmaintainadmin
detail_levelstringOptionalDetail level to include when listing collaborators. Default is include_org_members.
basicinclude_org_membersfull_profiles
include_teamsbooleanOptionalInclude teams that have access to the repository. Teams can be requested as reviewers using their slug. Default is True.
per_pageintegerOptionalNumber of collaborators per page (max 100). Default is 30.
pageintegerOptionalPage number of results to fetch. Default is 1.

Requirements

Secrets:GITHUB_SERVER_URL

Output

Type:json— List of repository collaborators and teams who can review PRs
#

Github.ListRepositoryLabels

List all labels defined in a repository.

Parameters

ParameterTypeReq.Description
ownerstringRequiredThe account owner of the repository. The name is not case sensitive.
repostringRequiredThe name of the repository without the .git extension. The name is not case sensitive.
per_pageintegerOptionalThe number of results per page (max 100). Default is 100.
pageintegerOptionalThe page number of the results to fetch. Default is 1.

Requirements

Secrets:GITHUB_SERVER_URL

Output

Type:json— List of repository labels
#

Github.ListReviewCommentsInARepository

List review comments in a GitHub repository.

Parameters

ParameterTypeReq.Description
ownerstringRequiredThe account owner of the repository. The name is not case sensitive.
repostringRequiredThe name of the repository without the .git extension. The name is not case sensitive.
sortstringOptionalThe property to sort the results by. Default is created.
createdupdated
directionstringOptionalThe direction to sort results. Ignored without sort parameter. Default is desc.
ascdesc
sincestringOptionalOnly show results updated after this time. Supports: relative dates ('today', 'yesterday', 'last_week', 'last_30_days'), ISO 8601 ('2025-11-10T00:00:00Z'), or simple dates ('2025-11-10').
per_pageintegerOptionalThe number of results per page (max 100). Default is 30.
pageintegerOptionalThe page number of the results to fetch. Default is 1.

Requirements

Secrets:GITHUB_SERVER_URL

Output

Type:json— List of review comments in the repository
#

Github.ListReviewCommentsOnPullRequest

List review comments on a pull request in a GitHub repository.

Parameters

ParameterTypeReq.Description
ownerstringRequiredThe account owner of the repository. The name is not case sensitive.
repostringRequiredThe name of the repository without the .git extension. The name is not case sensitive.
pull_numberintegerRequiredThe number that identifies the pull request.
sortstringOptionalThe property to sort the results by. Default is created.
createdupdated
directionstringOptionalThe direction to sort results. Default is desc.
ascdesc
sincestringOptionalOnly show results updated after this time. Supports: relative dates ('today', 'yesterday', 'last_week', 'last_30_days'), ISO 8601 ('2025-11-10T00:00:00Z'), or simple dates ('2025-11-10').
per_pageintegerOptionalThe number of results per page (max 100). Default is 30.
pageintegerOptionalThe page number of the results to fetch. Default is 1.
show_resolvedbooleanOptionalFilter by resolution status. True=resolved only, False=unresolved only, None=all. Default is None.

Requirements

Secrets:GITHUB_SERVER_URL

Output

Type:json— List of review comments on the pull request
#

Github.ListStargazers

List the stargazers for a GitHub repository. Returns stargazers in chronological order (oldest first).

Parameters

ParameterTypeReq.Description
ownerstringRequiredThe owner of the repository
repostringRequiredThe name of the repository
pageintegerOptionalThe page number of the stargazers to fetch. Default is 1.
per_pageintegerOptionalThe number of stargazers per page (max 100). Default is 30.

Requirements

Secrets:GITHUB_SERVER_URL

Output

Type:json— List of stargazers for the repository
#

Github.ManageLabels

Add or remove labels from an issue or pull request. Supports fuzzy matching for typo tolerance. Both issues and pull requests support labels through the same API. You can add and remove labels in a single operation.

Parameters

ParameterTypeReq.Description
ownerstringRequiredThe account owner of the repository.
repostringRequiredThe name of the repository without the .git extension.
numberintegerRequiredThe number that identifies the issue or pull request.
entity_typestringRequiredThe type of entity (issue or pull_request).
issuepull_request
add_labelsarray<string>OptionalList of label names to add. Supports fuzzy matching for typo tolerance.
remove_labelsarray<string>OptionalList of label names to remove. Supports fuzzy matching for typo tolerance.
auto_accept_matchesbooleanOptionalAuto-accept fuzzy matches above 0.9 confidence. Default is False.

Requirements

Secrets:GITHUB_SERVER_URL

Output

Type:json— Label management operation result
#

Github.ManagePullRequestReviewers

Manage reviewers for a pull request.

Parameters

ParameterTypeReq.Description
ownerstringRequiredThe account owner of the repository.
repostringRequiredThe name of the repository without the .git extension.
pull_request_numberintegerRequiredThe number that identifies the pull request.
add_reviewersarray<string>OptionalList of user logins to add as reviewers.
add_team_reviewersarray<string>OptionalList of team slugs to add as reviewers.
remove_reviewersarray<string>OptionalList of user logins to remove as reviewers.
remove_team_reviewersarray<string>OptionalList of team slugs to remove as reviewers.

Requirements

Secrets:GITHUB_SERVER_URL

Output

Type:json— Updated reviewers information
#

Github.MergePullRequest

Merge a pull request in a GitHub repository.

Parameters

ParameterTypeReq.Description
ownerstringRequiredThe account owner of the repository.
repostringRequiredThe name of the repository without the .git extension.
pull_request_numberintegerRequiredThe number that identifies the pull request.
merge_methodstringOptionalThe merge method to use. Default is merge.
mergesquashrebase
commit_titlestringOptionalTitle for the merge commit.
commit_messagestringOptionalExtra detail for the merge commit message.
shastringOptionalExpected head SHA to ensure merge safety. Merge fails if SHA doesn't match.
delete_branchbooleanOptionalDelete the head branch after successful merge. Default is False.

Requirements

Secrets:GITHUB_SERVER_URL

Output

Type:json— Merge operation status and details
#

Github.ResolveReviewThread

Resolve or unresolve a pull request review conversation thread.

Parameters

ParameterTypeReq.Description
ownerstringRequiredThe account owner of the repository.
repostringRequiredThe name of the repository.
thread_idstringRequiredThe GraphQL Node ID of the review thread.
resolvedbooleanOptionalWhether to resolve or unresolve the thread. Default is True.

Requirements

Secrets:GITHUB_SERVER_URL

Output

Type:json— Thread resolution result
#

Github.SearchMyRepos

Search repositories accessible to the authenticated user with fuzzy matching.

Parameters

ParameterTypeReq.Description
repo_namestringRequiredRepository name or partial name to search for
scopestringOptionalWhere to search. Default is all.
allpersonalorganization
organizationstringOptionalOrganization name when scope is 'organization'. If omitted, searches all of your organizations.
auto_accept_matchesbooleanOptionalAuto-accept fuzzy matches above 0.9 confidence. Default is False
include_recent_branchesintegerOptionalInclude up to this many recent branches per repository (0 disables, default 10, max 30).

Requirements

Secrets:GITHUB_SERVER_URL

Output

Type:json— Fuzzy repository search results
#

Github.SearchProjectItem

Search for a specific item in a Projects V2 project.

Parameters

ParameterTypeReq.Description
project_search_modestringRequiredSelect project lookup by number or name
numbername
project_identifierstringRequiredProject number or title
item_search_modestringRequiredSelect item lookup by ID or title
idtitle
item_identifierstringRequiredItem ID or title
scope_targetstringRequiredWhere the project lives
allorganizationuser
scope_identifierstringRequiredOwner reference
auto_accept_matchesbooleanOptionalAuto-accept fuzzy matches above 0.9 confidence. Default is False

Requirements

Secrets:GITHUB_SERVER_URL

Output

Type:json— Single item or suggestions
#

Github.SetStarred

Star or un-star a GitHub repository.

Parameters

ParameterTypeReq.Description
ownerstringRequiredThe owner of the repository
namestringRequiredThe name of the repository
starredbooleanOptionalWhether to star the repository or not. Default is True.

Requirements

Secrets:GITHUB_SERVER_URL

Output

Type:json— Result of starring/unstarring operation
#

Github.SubmitPullRequestReview

Submit a review for a pull request.

Parameters

ParameterTypeReq.Description
ownerstringRequiredThe account owner of the repository.
repostringRequiredThe name of the repository without the .git extension.
pull_request_numberintegerRequiredThe number that identifies the pull request.
eventstringRequiredThe review action to perform.
APPROVEREQUEST_CHANGESCOMMENT
bodystringOptionalThe body text of the review. Required when event is REQUEST_CHANGES or COMMENT.

Requirements

Secrets:GITHUB_SERVER_URL

Output

Type:json— Submitted review details
#

Github.UpdateFileLines

Replace a block of lines within a file (1-indexed, inclusive). Set mode=FileUpdateMode.APPEND to add new content to the end of the file.

Parameters

ParameterTypeReq.Description
ownerstringRequiredThe account owner of the repository.
repostringRequiredThe name of the repository without the .git extension.
pathstringRequiredThe content path.
branchstringRequiredThe branch to update.
new_contentstringRequiredThe replacement lines (no need to include trailing newline).
messagestringRequiredThe commit message describing the change.
start_lineintegerOptionalFirst line to replace (1-indexed). Required when mode is FileUpdateMode.REPLACE; ignored when mode is FileUpdateMode.APPEND.
end_lineintegerOptionalLast line to replace (1-indexed, inclusive). Required when mode is FileUpdateMode.REPLACE; ignored when mode is FileUpdateMode.APPEND.
modestringOptionalHow to apply the change. Default is FileUpdateMode.REPLACE
replaceappend

Requirements

Secrets:GITHUB_SERVER_URL

Output

Type:json— Partial file update result
#

Github.UpdateIssue

Update an issue in a GitHub repository. Parameters that are not provided (None) will not be updated or cleared. Updates apply to the issue in the repository. If the issue is in a project, the project item will automatically reflect these changes.

Parameters

ParameterTypeReq.Description
ownerstringRequiredThe account owner of the repository
repostringRequiredThe name of the repository
issue_numberintegerRequiredThe number that identifies the issue
titlestringOptionalThe new title. Not provided = unchanged.
bodystringOptionalThe new contents. Not provided = unchanged.
statestringOptionalState of the issue. Not provided = unchanged.
openclosedall
labelsarray<string>OptionalLabels to set (replaces existing). Not provided = unchanged.
assigneesarray<string>OptionalAssignees to set (replaces existing). Not provided = unchanged.
milestoneintegerOptionalMilestone number. Not provided = unchanged.

Requirements

Secrets:GITHUB_SERVER_URL

Output

Type:json— Updated issue details
#

Github.UpdatePullRequest

Update a pull request in a GitHub repository.

Parameters

ParameterTypeReq.Description
ownerstringRequiredThe account owner of the repository. The name is not case sensitive.
repostringRequiredThe name of the repository without the .git extension. The name is not case sensitive.
pull_numberintegerRequiredThe number that identifies the pull request.
titlestringOptionalThe title of the pull request.
bodystringOptionalThe contents of the pull request.
append_bodybooleanOptionalIf True, append to existing body instead of replacing it. Default is False.
statestringOptionalState of this Pull Request.
openclosedall
basestringOptionalThe name of the branch you want your changes pulled into.

Requirements

Secrets:GITHUB_SERVER_URL

Output

Type:json— Updated pull request details
#

Github.WhoAmI

Get information about the authenticated GitHub user. Returns profile, organizations, and teams.

Parameters

No parameters required.

Requirements

Secrets:GITHUB_SERVER_URL

Output

Type:json— User profile with organizations and teams
Last updated on