GitHub
Arcade.dev LLM tools for Github
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)
| Tool name | Description | Secrets | |
|---|---|---|---|
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 |
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
| Parameter | Type | Req. | Description |
|---|---|---|---|
owner | string | Required | The account owner of the repository. |
repo | string | Required | The name of the repository without the .git extension. |
pull_request_number | integer | Required | The number that identifies the pull request. |
assignee_identifier | string | Required | The user identifier: username, email, name, or ID. |
search_mode | string | Required | How to interpret the assignee_identifier.usernameemailnameid |
auto_accept_matches | boolean | Optional | Auto-accept fuzzy matches above 0.9 confidence. Default is False |
Requirements
Output
json— Assignment result with user details or suggestionsGithub.CheckPullRequestMergeStatus
Check if a pull request is ready to merge without attempting the merge.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
owner | string | Required | The account owner of the repository. |
repo | string | Required | The name of the repository without the .git extension. |
pull_request_number | integer | Required | The number that identifies the pull request. |
include_check_details | boolean | Optional | Include individual check run details in the response. Default is False. |
Requirements
Output
json— Comprehensive merge readiness statusGithub.CountStargazers
Count the number of stargazers (stars) for a GitHub repository.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
owner | string | Required | The owner of the repository |
name | string | Required | The name of the repository |
Requirements
Output
integer— The number of stargazers (stars) for the specified repositoryGithub.CreateBranch
Create a new branch in a repository.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
owner | string | Required | The account owner of the repository. |
repo | string | Required | The name of the repository without the .git extension. |
branch | string | Required | The name of the new branch. |
from_branch | string | Optional | The name of the branch to branch off of. Default: repository default branch. |
Requirements
Output
json— Created branch detailsGithub.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
| Parameter | Type | Req. | Description |
|---|---|---|---|
owner | string | Required | The account owner of the repository. |
repo | string | Required | The name of the repository without the .git extension. |
path | string | Required | The content path. |
content | string | Required | The content of the file. |
message | string | Required | The commit message. |
branch | string | Required | The branch name. |
mode | string | Optional | How to handle existing files. Default is FileMode.CREATEcreateoverwrite |
Requirements
Output
json— File creation/update resultGithub.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
| Parameter | Type | Req. | Description |
|---|---|---|---|
owner | string | Required | The account owner of the repository. The name is not case sensitive. |
repo | string | Required | The name of the repository without the .git extension. The name is not case sensitive. |
title | string | Required | The title of the issue. |
body | string | Optional | The contents of the issue. |
assignees | array<string> | Optional | Logins for Users to assign to this issue. |
milestone | integer | Optional | The number of the milestone to associate this issue with. |
labels | array<string> | Optional | Labels to associate with this issue. |
add_to_project_number | integer | Optional | Project number to add this issue to |
add_to_project_scope | string | Optional | Project scopeallorganizationuser |
add_to_project_owner | string | Optional | Project owner (defaults to issue owner if not specified) |
Requirements
Output
json— Created issue details with optional project link statusGithub.CreateIssueComment
Create a comment on an issue in a GitHub repository.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
owner | string | Required | The account owner of the repository. The name is not case sensitive. |
repo | string | Required | The name of the repository without the .git extension. The name is not case sensitive. |
issue_number | integer | Required | The number that identifies the issue. |
body | string | Required | The contents of the comment. |
Requirements
Output
json— Created comment detailsGithub.CreatePullRequest
Create a pull request in a GitHub repository.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
owner | string | Required | The account owner of the repository. |
repo | string | Required | The name of the repository without the .git extension. |
title | string | Required | The title of the pull request. |
head | string | Required | The name of the branch where your changes are implemented. For cross-repository PRs, use format: username:branch. |
base | string | Required | The name of the branch you want the changes pulled into. |
body | string | Optional | The contents/description of the pull request. |
draft | boolean | Optional | Create as a draft pull request. Default is False. |
maintainer_can_modify | boolean | Optional | Allow repository maintainers to modify the pull request branch. Default is True. |
issue | integer | Optional | Issue number to auto-link. Will prepend 'Closes #{issue}' to the PR body. |
reviewers | array<string> | Optional | List of user logins to request reviews from. |
team_reviewers | array<string> | Optional | List of team slugs to request reviews from. |
Requirements
Output
json— Created pull request detailsGithub.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
| Parameter | Type | Req. | Description |
|---|---|---|---|
owner | string | Required | The account owner of the repository. The name is not case sensitive. |
repo | string | Required | The name of the repository without the .git extension. The name is not case sensitive. |
pull_number | integer | Required | The number that identifies the pull request. |
comment_id | integer | Required | The unique identifier of the comment. |
body | string | Required | The text of the review comment. |
thread_id | string | Optional | Optional GraphQL Node ID of the review thread to resolve after replying. |
resolve_thread | boolean | Optional | Whether to resolve the thread after replying. Default is False. |
Requirements
Output
json— Created reply comment detailsGithub.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
| Parameter | Type | Req. | Description |
|---|---|---|---|
owner | string | Required | The account owner of the repository. The name is not case sensitive. |
repo | string | Required | The name of the repository without the .git extension. The name is not case sensitive. |
pull_number | integer | Required | The number that identifies the pull request. |
body | string | Required | The text of the review comment. |
path | string | Required | The relative path to the file that necessitates a comment. |
commit_id | string | Optional | The SHA of the commit needing a comment. If not provided, the latest commit SHA from the PR will be used. |
start_line | integer | Optional | The start line of the range of lines in the pull request diff that the comment applies to. Required unless 'subject_type' is 'file'. |
end_line | integer | Optional | The end line of the range of lines in the pull request diff that the comment applies to. Required unless 'subject_type' is 'file'. |
side | string | Optional | The 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_side | string | Optional | The starting side of the diff that the comment applies to. |
subject_type | string | Optional | The type of subject that the comment applies to. Default is file.fileline |
Requirements
Output
json— Created review comment detailsGithub.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
| Parameter | Type | Req. | Description |
|---|---|---|---|
owner | string | Required | The account owner of the repository. |
repo | string | Required | The name of the repository without the .git extension. |
path | string | Required | Path within the repository relative to its root; omit owner/repo prefixes. |
ref | string | Optional | The name of the commit/branch/tag. Default: the repository's default branch. |
start_line | integer | Optional | First line to retrieve (1-indexed). Default: None (entire file). |
end_line | integer | Optional | Last line to retrieve (1-indexed, inclusive). Default: None (entire file). |
Requirements
Output
json— File content and metadataGithub.GetIssue
Get a specific issue from a GitHub repository.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
owner | string | Required | The account owner of the repository. The name is not case sensitive. |
repo | string | Required | The name of the repository without the .git extension. The name is not case sensitive. |
issue_number | integer | Required | The number that identifies the issue. |
Requirements
Output
json— Issue detailsGithub.GetNotificationSummary
Get a summary of GitHub notifications. Returns counts grouped by reason, repository, and type without full notification details.
Parameters
No parameters required.
Requirements
Output
json— Summary of user notificationsGithub.GetPullRequest
Get details of a pull request in a GitHub repository.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
owner | string | Required | The account owner of the repository. The name is not case sensitive. |
repo | string | Required | The name of the repository without the .git extension. The name is not case sensitive. |
pull_number | integer | Required | The number that identifies the pull request. |
include_diff_content | boolean | Optional | If true, return the diff content of the pull request. Default is False. |
Requirements
Output
json— Pull request detailsGithub.GetRepository
Get a repository. Retrieves detailed information about a repository using the GitHub API.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
owner | string | Required | The account owner of the repository. The name is not case sensitive. |
repo | string | Required | The name of the repository without the .git extension. The name is not case sensitive. |
Requirements
Output
json— Repository detailsGithub.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
Output
json— PR review workload informationGithub.GetUserOpenItems
Get user's currently open pull requests and issues across all repositories. Returns open PRs and issues authored by the authenticated user.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
per_page | integer | Optional | Number of items per category (PRs and issues). Default is 30, max 100. |
Requirements
Output
json— User's currently open pull requests and issuesGithub.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
| Parameter | Type | Req. | Description |
|---|---|---|---|
days | integer | Optional | Number of days to look back. Default is 30. |
per_page | integer | Optional | Number of items per category (PRs and issues). Default is 10, max 50. |
Requirements
Output
json— Recent pull requests, reviews, issues, and commitsGithub.ListIssues
List issues in a GitHub repository.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
owner | string | Required | The account owner of the repository. The name is not case sensitive. |
repo | string | Required | The name of the repository without the .git extension. The name is not case sensitive. |
state | string | Optional | Indicates the state of the issues to return. Default: openopenclosedall |
labels | string | Optional | A list of comma separated label names. Example: bug,ui,@high |
sort | string | Optional | What to sort results by. Default: createdcreatedupdatedcomments |
direction | string | Optional | The direction to sort the results by. Default: descascdesc |
since | string | Optional | Only show notifications updated after the given time. This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ. |
per_page | integer | Optional | The number of results per page (max 100). Default: 30 |
page | integer | Optional | Page number of the results to fetch. Default: 1 |
search_org_wide | boolean | Optional | Search across all organization repositories instead of just one repository. Default is False. |
Requirements
Output
json— List of issues in the repositoryGithub.ListNotifications
List GitHub notifications with pagination. Returns notifications sorted chronologically by most recent first.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
page | integer | Optional | Page number to fetch. Default is 1. |
per_page | integer | Optional | Number of notifications per page (max 100). Default is 30. |
all_notifications | boolean | Optional | Include read notifications. Default is False. |
participating | boolean | Optional | Only show notifications user is participating in. Default is False. |
repository_full_name | string | Optional | Filter notifications to owner/name repository. Default is None. |
subject_types | array<string> | Optional | List of notification subject types to include. Default is None (all types).IssuePullRequestReleaseCommitDiscussion |
Requirements
Output
json— Paginated list of notificationsGithub.ListOrgRepositories
List repositories for the specified organization.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
org | string | Required | The organization name. The name is not case sensitive |
repo_type | string | Optional | The types of repositories you want returned. Default is all repositories.allpublicprivateforkssourcesmember |
sort | string | Optional | The property to sort the results by. Default is created.createdupdatedpushedfull_name |
sort_direction | string | Optional | The order to sort by. Default is asc.ascdesc |
per_page | integer | Optional | The number of results per page. Default is 30. |
page | integer | Optional | The page number of the results to fetch. Default is 1. |
Requirements
Output
json— List of organization repositoriesGithub.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
| Parameter | Type | Req. | Description |
|---|---|---|---|
project_search_mode | string | Required | Select project lookup by number or namenumbername |
project_identifier | string | Required | Project number or title |
scope_target | string | Required | Where the project livesallorganizationuser |
scope_identifier | string | Required | Owner reference |
auto_accept_matches | boolean | Optional | Auto-accept fuzzy matches above 0.9 confidence. Default is False |
Requirements
Output
json— Project fields with optionsGithub.ListProjectItems
List items for a Projects V2 project with optional filtering.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
project_search_mode | string | Required | Select project lookup by number or namenumbername |
project_identifier | string | Required | Project number or title |
scope_target | string | Required | Where the project livesallorganizationuser |
scope_identifier | string | Required | Owner reference |
filter_assignee | string | Optional | Filter by assignee ('@me' or username) |
filter_status | string | Optional | Filter by status field value |
filter_labels | array<string> | Optional | Filter by labels |
filter_is_open | boolean | Optional | Filter by open/closed state |
advanced_query | string | Optional | Advanced query (overrides filters) |
per_page | integer | Optional | Items per page (max 100). Default is 30. |
cursor | string | Optional | Cursor for next page |
auto_accept_matches | boolean | Optional | Auto-accept fuzzy matches above 0.9 confidence. Default is False |
Requirements
Output
json— Project items with summary and paginationGithub.ListProjects
List Projects V2 across organization or user scopes.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
search_mode | string | Required | Select search by number or namenumbername |
scope_target | string | Required | Where the project livesallorganizationuser |
scope_identifier | string | Required | Owner reference (org name or username) |
project_identifier | string | Optional | Project number or title |
query_filter | string | Optional | Filter projects (e.g., 'template') |
state | string | Optional | Project state filteropenclosedall |
per_page | integer | Optional | Items per page (max 100). Default is 30. |
cursor | string | Optional | Cursor for next page |
auto_accept_matches | boolean | Optional | Auto-accept fuzzy matches above 0.9 confidence. Default is False |
Requirements
Output
json— Projects with summary and paginationGithub.ListPullRequestCommits
List commits (from oldest to newest) on a pull request in a GitHub repository.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
owner | string | Required | The account owner of the repository. The name is not case sensitive. |
repo | string | Required | The name of the repository without the .git extension. The name is not case sensitive. |
pull_number | integer | Required | The number that identifies the pull request. |
per_page | integer | Optional | The number of results per page (max 100). Default is 30. |
page | integer | Optional | The page number of the results to fetch. Default is 1. |
Requirements
Output
json— List of commits on the pull requestGithub.ListPullRequests
List pull requests in a GitHub repository. By default returns newest pull requests first (direction=DESC).
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
owner | string | Required | The account owner of the repository. The name is not case sensitive. |
repo | string | Required | The name of the repository without the .git extension. The name is not case sensitive. |
state | string | Optional | The state of the pull requests to return. Default is open.openclosedall |
head | string | Optional | Filter pulls by head user or head organization and branch name in the format of user:ref-name or organization:ref-name. |
base | string | Optional | Filter pulls by base branch name. Default is main. |
sort | string | Optional | The property to sort the results by.createdupdatedpopularitylong-running |
direction | string | Optional | The direction of the sort.ascdesc |
per_page | integer | Optional | The number of results per page (max 100). Default is 30. |
page | integer | Optional | The page number of the results to fetch. Default is 1. |
search_org_wide | boolean | Optional | Search across all organization repositories instead of just one repository. Default is False. |
Requirements
Output
json— List of pull requestsGithub.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
| Parameter | Type | Req. | Description |
|---|---|---|---|
owner | string | Required | The account owner of the repository. The name is not case sensitive. |
repo | string | Required | The name of the repository without the .git extension. The name is not case sensitive. |
direction | string | Optional | The direction to sort the results by. Default is desc.ascdesc |
per_page | integer | Optional | The number of results per page (max 100). Default is 30. |
before | string | Optional | A cursor (unique ID, e.g., a SHA of a commit) to search for results before this cursor. |
after | string | Optional | A cursor (unique ID, e.g., a SHA of a commit) to search for results after this cursor. |
ref | string | Optional | The 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. |
actor | string | Optional | The GitHub username to filter by the actor who performed the activity. |
time_period | string | Optional | The time period to filter by.dayweekmonthquarteryear |
activity_type | string | Optional | The activity type to filter by.pushforce_pushbranch_creationbranch_deletionpr_mergemerge_queue_merge |
Requirements
Output
json— List of repository activitiesGithub.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
| Parameter | Type | Req. | Description |
|---|---|---|---|
owner | string | Required | The account owner of the repository. |
repo | string | Required | The name of the repository without the .git extension. |
affiliation | string | Optional | Filter by affiliation type. Default is all.outsidedirectall |
permission | string | Optional | Filter by permission level. Default returns all permission levels.pulltriagepushmaintainadmin |
detail_level | string | Optional | Detail level to include when listing collaborators. Default is include_org_members.basicinclude_org_membersfull_profiles |
include_teams | boolean | Optional | Include teams that have access to the repository. Teams can be requested as reviewers using their slug. Default is True. |
per_page | integer | Optional | Number of collaborators per page (max 100). Default is 30. |
page | integer | Optional | Page number of results to fetch. Default is 1. |
Requirements
Output
json— List of repository collaborators and teams who can review PRsGithub.ListRepositoryLabels
List all labels defined in a repository.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
owner | string | Required | The account owner of the repository. The name is not case sensitive. |
repo | string | Required | The name of the repository without the .git extension. The name is not case sensitive. |
per_page | integer | Optional | The number of results per page (max 100). Default is 100. |
page | integer | Optional | The page number of the results to fetch. Default is 1. |
Requirements
Output
json— List of repository labelsGithub.ListReviewCommentsInARepository
List review comments in a GitHub repository.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
owner | string | Required | The account owner of the repository. The name is not case sensitive. |
repo | string | Required | The name of the repository without the .git extension. The name is not case sensitive. |
sort | string | Optional | The property to sort the results by. Default is created.createdupdated |
direction | string | Optional | The direction to sort results. Ignored without sort parameter. Default is desc.ascdesc |
since | string | Optional | Only 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_page | integer | Optional | The number of results per page (max 100). Default is 30. |
page | integer | Optional | The page number of the results to fetch. Default is 1. |
Requirements
Output
json— List of review comments in the repositoryGithub.ListReviewCommentsOnPullRequest
List review comments on a pull request in a GitHub repository.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
owner | string | Required | The account owner of the repository. The name is not case sensitive. |
repo | string | Required | The name of the repository without the .git extension. The name is not case sensitive. |
pull_number | integer | Required | The number that identifies the pull request. |
sort | string | Optional | The property to sort the results by. Default is created.createdupdated |
direction | string | Optional | The direction to sort results. Default is desc.ascdesc |
since | string | Optional | Only 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_page | integer | Optional | The number of results per page (max 100). Default is 30. |
page | integer | Optional | The page number of the results to fetch. Default is 1. |
show_resolved | boolean | Optional | Filter by resolution status. True=resolved only, False=unresolved only, None=all. Default is None. |
Requirements
Output
json— List of review comments on the pull requestGithub.ListStargazers
List the stargazers for a GitHub repository. Returns stargazers in chronological order (oldest first).
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
owner | string | Required | The owner of the repository |
repo | string | Required | The name of the repository |
page | integer | Optional | The page number of the stargazers to fetch. Default is 1. |
per_page | integer | Optional | The number of stargazers per page (max 100). Default is 30. |
Requirements
Output
json— List of stargazers for the repositoryGithub.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
| Parameter | Type | Req. | Description |
|---|---|---|---|
owner | string | Required | The account owner of the repository. |
repo | string | Required | The name of the repository without the .git extension. |
number | integer | Required | The number that identifies the issue or pull request. |
entity_type | string | Required | The type of entity (issue or pull_request).issuepull_request |
add_labels | array<string> | Optional | List of label names to add. Supports fuzzy matching for typo tolerance. |
remove_labels | array<string> | Optional | List of label names to remove. Supports fuzzy matching for typo tolerance. |
auto_accept_matches | boolean | Optional | Auto-accept fuzzy matches above 0.9 confidence. Default is False. |
Requirements
Output
json— Label management operation resultGithub.ManagePullRequestReviewers
Manage reviewers for a pull request.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
owner | string | Required | The account owner of the repository. |
repo | string | Required | The name of the repository without the .git extension. |
pull_request_number | integer | Required | The number that identifies the pull request. |
add_reviewers | array<string> | Optional | List of user logins to add as reviewers. |
add_team_reviewers | array<string> | Optional | List of team slugs to add as reviewers. |
remove_reviewers | array<string> | Optional | List of user logins to remove as reviewers. |
remove_team_reviewers | array<string> | Optional | List of team slugs to remove as reviewers. |
Requirements
Output
json— Updated reviewers informationGithub.MergePullRequest
Merge a pull request in a GitHub repository.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
owner | string | Required | The account owner of the repository. |
repo | string | Required | The name of the repository without the .git extension. |
pull_request_number | integer | Required | The number that identifies the pull request. |
merge_method | string | Optional | The merge method to use. Default is merge.mergesquashrebase |
commit_title | string | Optional | Title for the merge commit. |
commit_message | string | Optional | Extra detail for the merge commit message. |
sha | string | Optional | Expected head SHA to ensure merge safety. Merge fails if SHA doesn't match. |
delete_branch | boolean | Optional | Delete the head branch after successful merge. Default is False. |
Requirements
Output
json— Merge operation status and detailsGithub.ResolveReviewThread
Resolve or unresolve a pull request review conversation thread.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
owner | string | Required | The account owner of the repository. |
repo | string | Required | The name of the repository. |
thread_id | string | Required | The GraphQL Node ID of the review thread. |
resolved | boolean | Optional | Whether to resolve or unresolve the thread. Default is True. |
Requirements
Output
json— Thread resolution resultGithub.SearchMyRepos
Search repositories accessible to the authenticated user with fuzzy matching.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
repo_name | string | Required | Repository name or partial name to search for |
scope | string | Optional | Where to search. Default is all.allpersonalorganization |
organization | string | Optional | Organization name when scope is 'organization'. If omitted, searches all of your organizations. |
auto_accept_matches | boolean | Optional | Auto-accept fuzzy matches above 0.9 confidence. Default is False |
include_recent_branches | integer | Optional | Include up to this many recent branches per repository (0 disables, default 10, max 30). |
Requirements
Output
json— Fuzzy repository search resultsGithub.SearchProjectItem
Search for a specific item in a Projects V2 project.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
project_search_mode | string | Required | Select project lookup by number or namenumbername |
project_identifier | string | Required | Project number or title |
item_search_mode | string | Required | Select item lookup by ID or titleidtitle |
item_identifier | string | Required | Item ID or title |
scope_target | string | Required | Where the project livesallorganizationuser |
scope_identifier | string | Required | Owner reference |
auto_accept_matches | boolean | Optional | Auto-accept fuzzy matches above 0.9 confidence. Default is False |
Requirements
Output
json— Single item or suggestionsGithub.SetStarred
Star or un-star a GitHub repository.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
owner | string | Required | The owner of the repository |
name | string | Required | The name of the repository |
starred | boolean | Optional | Whether to star the repository or not. Default is True. |
Requirements
Output
json— Result of starring/unstarring operationGithub.SubmitPullRequestReview
Submit a review for a pull request.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
owner | string | Required | The account owner of the repository. |
repo | string | Required | The name of the repository without the .git extension. |
pull_request_number | integer | Required | The number that identifies the pull request. |
event | string | Required | The review action to perform.APPROVEREQUEST_CHANGESCOMMENT |
body | string | Optional | The body text of the review. Required when event is REQUEST_CHANGES or COMMENT. |
Requirements
Output
json— Submitted review detailsGithub.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
| Parameter | Type | Req. | Description |
|---|---|---|---|
owner | string | Required | The account owner of the repository. |
repo | string | Required | The name of the repository without the .git extension. |
path | string | Required | The content path. |
branch | string | Required | The branch to update. |
new_content | string | Required | The replacement lines (no need to include trailing newline). |
message | string | Required | The commit message describing the change. |
start_line | integer | Optional | First line to replace (1-indexed). Required when mode is FileUpdateMode.REPLACE; ignored when mode is FileUpdateMode.APPEND. |
end_line | integer | Optional | Last line to replace (1-indexed, inclusive). Required when mode is FileUpdateMode.REPLACE; ignored when mode is FileUpdateMode.APPEND. |
mode | string | Optional | How to apply the change. Default is FileUpdateMode.REPLACEreplaceappend |
Requirements
Output
json— Partial file update resultGithub.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
| Parameter | Type | Req. | Description |
|---|---|---|---|
owner | string | Required | The account owner of the repository |
repo | string | Required | The name of the repository |
issue_number | integer | Required | The number that identifies the issue |
title | string | Optional | The new title. Not provided = unchanged. |
body | string | Optional | The new contents. Not provided = unchanged. |
state | string | Optional | State of the issue. Not provided = unchanged.openclosedall |
labels | array<string> | Optional | Labels to set (replaces existing). Not provided = unchanged. |
assignees | array<string> | Optional | Assignees to set (replaces existing). Not provided = unchanged. |
milestone | integer | Optional | Milestone number. Not provided = unchanged. |
Requirements
Output
json— Updated issue detailsGithub.UpdatePullRequest
Update a pull request in a GitHub repository.
Parameters
| Parameter | Type | Req. | Description |
|---|---|---|---|
owner | string | Required | The account owner of the repository. The name is not case sensitive. |
repo | string | Required | The name of the repository without the .git extension. The name is not case sensitive. |
pull_number | integer | Required | The number that identifies the pull request. |
title | string | Optional | The title of the pull request. |
body | string | Optional | The contents of the pull request. |
append_body | boolean | Optional | If True, append to existing body instead of replacing it. Default is False. |
state | string | Optional | State of this Pull Request.openclosedall |
base | string | Optional | The name of the branch you want your changes pulled into. |
Requirements
Output
json— Updated pull request detailsGithub.WhoAmI
Get information about the authenticated GitHub user. Returns profile, organizations, and teams.
Parameters
No parameters required.
Requirements
Output
json— User profile with organizations and teams