Sim

GitHub

Interact with GitHub or trigger workflows from GitHub events

GitHub is the world's leading platform for software development and version control using Git. It provides a collaborative environment where developers can host and review code, manage projects, and build software together.

With GitHub, you can:

  • Host repositories: Store your code in public or private repositories with version control
  • Collaborate on code: Use pull requests to propose changes, review code, and merge contributions
  • Track issues: Create, assign, and manage issues to organize work and track bugs
  • Automate workflows: Use GitHub Actions to build, test, and deploy code automatically
  • Manage projects: Organize work with project boards, milestones, and task tracking
  • Document code: Create and maintain documentation with GitHub Pages and wikis

In Sim, the GitHub integration enables your agents to interact directly with GitHub repositories and workflows. This allows for powerful automation scenarios such as code review assistance, pull request management, issue tracking, and repository exploration. Your agents can fetch repository data, analyze code changes, post comments on pull requests, and perform other GitHub operations programmatically. This integration bridges the gap between your AI workflows and your development processes, enabling seamless collaboration between your agents and your development team.

Usage Instructions

Integrate Github into the workflow. Can get get PR details, create PR comment, get repository info, and get latest commit. Can be used in trigger mode to trigger a workflow when a PR is created, commented on, or a commit is pushed.

Tools

github_pr

Fetch PR details including diff and files changed

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner
repostringYesRepository name
pullNumbernumberYesPull request number
apiKeystringYesGitHub API token

Output

ParameterTypeDescription
contentstringHuman-readable PR summary
metadataobjectDetailed PR metadata including file changes

github_comment

Create comments on GitHub PRs

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner
repostringYesRepository name
bodystringYesComment content
pullNumbernumberYesPull request number
pathstringNoFile path for review comment
positionnumberNoLine number for review comment
commentTypestringNoType of comment (pr_comment or file_comment)
linenumberNoLine number for review comment
sidestringNoSide of the diff (LEFT or RIGHT)
commitIdstringNoThe SHA of the commit to comment on
apiKeystringYesGitHub API token

Output

ParameterTypeDescription
contentstringHuman-readable comment confirmation
metadataobjectComment metadata

github_repo_info

Retrieve comprehensive GitHub repository metadata including stars, forks, issues, and primary language. Supports both public and private repositories with optional authentication.

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner (user or organization)
repostringYesRepository name
apiKeystringYesGitHub Personal Access Token

Output

ParameterTypeDescription
contentstringHuman-readable repository summary
metadataobjectRepository metadata

github_latest_commit

Retrieve the latest commit from a GitHub repository

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner (user or organization)
repostringYesRepository name
branchstringNoBranch name (defaults to the repository's default branch)
apiKeystringYesGitHub API token

Output

ParameterTypeDescription
contentstringHuman-readable commit summary
metadataobjectCommit metadata

github_issue_comment

Create a comment on a GitHub issue

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner
repostringYesRepository name
issue_numbernumberYesIssue number
bodystringYesComment content
apiKeystringYesGitHub API token

Output

ParameterTypeDescription
contentstringHuman-readable comment confirmation
metadataobjectComment metadata

github_list_issue_comments

List all comments on a GitHub issue

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner
repostringYesRepository name
issue_numbernumberYesIssue number
sincestringNoOnly show comments updated after this ISO 8601 timestamp
per_pagenumberNoNumber of results per page (max 100)
pagenumberNoPage number
apiKeystringYesGitHub API token

Output

ParameterTypeDescription
contentstringHuman-readable comments summary
metadataobjectComments list metadata

github_update_comment

Update an existing comment on a GitHub issue or pull request

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner
repostringYesRepository name
comment_idnumberYesComment ID
bodystringYesUpdated comment content
apiKeystringYesGitHub API token

Output

ParameterTypeDescription
contentstringHuman-readable update confirmation
metadataobjectUpdated comment metadata

github_delete_comment

Delete a comment on a GitHub issue or pull request

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner
repostringYesRepository name
comment_idnumberYesComment ID
apiKeystringYesGitHub API token

Output

ParameterTypeDescription
contentstringHuman-readable deletion confirmation
metadataobjectDeletion result metadata

github_list_pr_comments

List all review comments on a GitHub pull request

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner
repostringYesRepository name
pullNumbernumberYesPull request number
sortstringNoSort by created or updated
directionstringNoSort direction (asc or desc)
sincestringNoOnly show comments updated after this ISO 8601 timestamp
per_pagenumberNoNumber of results per page (max 100)
pagenumberNoPage number
apiKeystringYesGitHub API token

Output

ParameterTypeDescription
contentstringHuman-readable review comments summary
metadataobjectReview comments list metadata

github_create_pr

Create a new pull request in a GitHub repository

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner
repostringYesRepository name
titlestringYesPull request title
headstringYesThe name of the branch where your changes are implemented
basestringYesThe name of the branch you want the changes pulled into
bodystringNoPull request description (Markdown)
draftbooleanNoCreate as draft pull request
apiKeystringYesGitHub API token

Output

ParameterTypeDescription
contentstringHuman-readable PR creation confirmation
metadataobjectPull request metadata

github_update_pr

Update an existing pull request in a GitHub repository

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner
repostringYesRepository name
pullNumbernumberYesPull request number
titlestringNoNew pull request title
bodystringNoNew pull request description (Markdown)
statestringNoNew state (open or closed)
basestringNoNew base branch name
apiKeystringYesGitHub API token

Output

ParameterTypeDescription
contentstringHuman-readable PR update confirmation
metadataobjectUpdated pull request metadata

github_merge_pr

Merge a pull request in a GitHub repository

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner
repostringYesRepository name
pullNumbernumberYesPull request number
commit_titlestringNoTitle for the merge commit
commit_messagestringNoExtra detail to append to merge commit message
merge_methodstringNoMerge method: merge, squash, or rebase
apiKeystringYesGitHub API token

Output

ParameterTypeDescription
contentstringHuman-readable merge confirmation
metadataobjectMerge result metadata

github_list_prs

List pull requests in a GitHub repository

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner
repostringYesRepository name
statestringNoFilter by state: open, closed, or all
headstringNoFilter by head user or branch name (format: user:ref-name or organization:ref-name)
basestringNoFilter by base branch name
sortstringNoSort by: created, updated, popularity, or long-running
directionstringNoSort direction: asc or desc
per_pagenumberNoResults per page (max 100)
pagenumberNoPage number
apiKeystringYesGitHub API token

Output

ParameterTypeDescription
contentstringHuman-readable list of pull requests
metadataobjectPull requests list metadata

github_get_pr_files

Get the list of files changed in a pull request

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner
repostringYesRepository name
pullNumbernumberYesPull request number
per_pagenumberNoResults per page (max 100)
pagenumberNoPage number
apiKeystringYesGitHub API token

Output

ParameterTypeDescription
contentstringHuman-readable list of files changed in PR
metadataobjectPR files metadata

github_close_pr

Close a pull request in a GitHub repository

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner
repostringYesRepository name
pullNumbernumberYesPull request number
apiKeystringYesGitHub API token

Output

ParameterTypeDescription
contentstringHuman-readable PR close confirmation
metadataobjectClosed pull request metadata

github_request_reviewers

Request reviewers for a pull request

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner
repostringYesRepository name
pullNumbernumberYesPull request number
reviewersstringYesComma-separated list of user logins to request reviews from
team_reviewersstringNoComma-separated list of team slugs to request reviews from
apiKeystringYesGitHub API token

Output

ParameterTypeDescription
contentstringHuman-readable reviewer request confirmation
metadataobjectRequested reviewers metadata

github_get_file_content

Get the content of a file from a GitHub repository. Supports files up to 1MB. Content is returned decoded and human-readable.

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner (user or organization)
repostringYesRepository name
pathstringYesPath to the file in the repository (e.g., "src/index.ts")
refstringNoBranch name, tag, or commit SHA (defaults to repository default branch)
apiKeystringYesGitHub Personal Access Token

Output

ParameterTypeDescription
contentstringHuman-readable file information with content preview
metadataobjectFile metadata including name, path, SHA, size, and URLs

github_create_file

Create a new file in a GitHub repository. The file content will be automatically Base64 encoded. Supports files up to 1MB.

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner (user or organization)
repostringYesRepository name
pathstringYesPath where the file will be created (e.g., "src/newfile.ts")
messagestringYesCommit message for this file creation
contentstringYesFile content (plain text, will be Base64 encoded automatically)
branchstringNoBranch to create the file in (defaults to repository default branch)
apiKeystringYesGitHub Personal Access Token

Output

ParameterTypeDescription
contentstringHuman-readable file creation confirmation
metadataobjectFile and commit metadata

github_update_file

Update an existing file in a GitHub repository. Requires the file SHA. Content will be automatically Base64 encoded. Supports files up to 1MB.

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner (user or organization)
repostringYesRepository name
pathstringYesPath to the file to update (e.g., "src/index.ts")
messagestringYesCommit message for this file update
contentstringYesNew file content (plain text, will be Base64 encoded automatically)
shastringYesThe blob SHA of the file being replaced (get from github_get_file_content)
branchstringNoBranch to update the file in (defaults to repository default branch)
apiKeystringYesGitHub Personal Access Token

Output

ParameterTypeDescription
contentstringHuman-readable file update confirmation
metadataobjectUpdated file and commit metadata

github_delete_file

Delete a file from a GitHub repository. Requires the file SHA. This operation cannot be undone through the API.

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner (user or organization)
repostringYesRepository name
pathstringYesPath to the file to delete (e.g., "src/oldfile.ts")
messagestringYesCommit message for this file deletion
shastringYesThe blob SHA of the file being deleted (get from github_get_file_content)
branchstringNoBranch to delete the file from (defaults to repository default branch)
apiKeystringYesGitHub Personal Access Token

Output

ParameterTypeDescription
contentstringHuman-readable file deletion confirmation
metadataobjectDeletion confirmation and commit metadata

github_get_tree

Get the contents of a directory in a GitHub repository. Returns a list of files and subdirectories. Use empty path or omit to get root directory contents.

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner (user or organization)
repostringYesRepository name
pathstringNoDirectory path (e.g., "src/components"). Leave empty for root directory.
refstringNoBranch name, tag, or commit SHA (defaults to repository default branch)
apiKeystringYesGitHub Personal Access Token

Output

ParameterTypeDescription
contentstringHuman-readable directory tree listing
metadataobjectDirectory contents metadata

github_list_branches

List all branches in a GitHub repository. Optionally filter by protected status and control pagination.

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner (user or organization)
repostringYesRepository name
protectedbooleanNoFilter branches by protection status
per_pagenumberNoNumber of results per page (max 100, default 30)
pagenumberNoPage number for pagination (default 1)
apiKeystringYesGitHub Personal Access Token

Output

ParameterTypeDescription
contentstringHuman-readable list of branches
metadataobjectBranch list metadata

github_get_branch

Get detailed information about a specific branch in a GitHub repository, including commit details and protection status.

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner (user or organization)
repostringYesRepository name
branchstringYesBranch name
apiKeystringYesGitHub Personal Access Token

Output

ParameterTypeDescription
contentstringHuman-readable branch details
metadataobjectBranch metadata

github_create_branch

Create a new branch in a GitHub repository by creating a git reference pointing to a specific commit SHA.

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner (user or organization)
repostringYesRepository name
branchstringYesName of the branch to create
shastringYesCommit SHA to point the branch to
apiKeystringYesGitHub Personal Access Token

Output

ParameterTypeDescription
contentstringHuman-readable branch creation confirmation
metadataobjectGit reference metadata

github_delete_branch

Delete a branch from a GitHub repository by removing its git reference. Protected branches cannot be deleted.

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner (user or organization)
repostringYesRepository name
branchstringYesName of the branch to delete
apiKeystringYesGitHub Personal Access Token

Output

ParameterTypeDescription
contentstringHuman-readable deletion confirmation
metadataobjectDeletion metadata

github_get_branch_protection

Get the branch protection rules for a specific branch, including status checks, review requirements, and restrictions.

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner (user or organization)
repostringYesRepository name
branchstringYesBranch name
apiKeystringYesGitHub Personal Access Token

Output

ParameterTypeDescription
contentstringHuman-readable branch protection summary
metadataobjectBranch protection configuration

github_update_branch_protection

Update branch protection rules for a specific branch, including status checks, review requirements, admin enforcement, and push restrictions.

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner (user or organization)
repostringYesRepository name
branchstringYesBranch name
required_status_checksobjectYesRequired status check configuration (null to disable). Object with strict (boolean) and contexts (string array)
enforce_adminsbooleanYesWhether to enforce restrictions for administrators
required_pull_request_reviewsobjectYesPR review requirements (null to disable). Object with optional required_approving_review_count, dismiss_stale_reviews, require_code_owner_reviews
restrictionsobjectYesPush restrictions (null to disable). Object with users (string array) and teams (string array)
apiKeystringYesGitHub Personal Access Token

Output

ParameterTypeDescription
contentstringHuman-readable branch protection update summary
metadataobjectUpdated branch protection configuration

github_create_issue

Create a new issue in a GitHub repository

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner
repostringYesRepository name
titlestringYesIssue title
bodystringNoIssue description/body
assigneesstringNoComma-separated list of usernames to assign to this issue
labelsstringNoComma-separated list of label names to add to this issue
milestonenumberNoMilestone number to associate with this issue
apiKeystringYesGitHub API token

Output

ParameterTypeDescription
contentstringHuman-readable issue creation confirmation
metadataobjectIssue metadata

github_update_issue

Update an existing issue in a GitHub repository

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner
repostringYesRepository name
issue_numbernumberYesIssue number
titlestringNoNew issue title
bodystringNoNew issue description/body
statestringNoIssue state (open or closed)
labelsarrayNoArray of label names (replaces all existing labels)
assigneesarrayNoArray of usernames (replaces all existing assignees)
apiKeystringYesGitHub API token

Output

ParameterTypeDescription
contentstringHuman-readable issue update confirmation
metadataobjectUpdated issue metadata

github_list_issues

List issues in a GitHub repository. Note: This includes pull requests as PRs are considered issues in GitHub

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner
repostringYesRepository name
statestringNoFilter by state: open, closed, or all (default: open)
assigneestringNoFilter by assignee username
creatorstringNoFilter by creator username
labelsstringNoComma-separated list of label names to filter by
sortstringNoSort by: created, updated, or comments (default: created)
directionstringNoSort direction: asc or desc (default: desc)
per_pagenumberNoResults per page (max 100, default: 30)
pagenumberNoPage number (default: 1)
apiKeystringYesGitHub API token

Output

ParameterTypeDescription
contentstringHuman-readable list of issues
metadataobjectIssues list metadata

github_get_issue

Get detailed information about a specific issue in a GitHub repository

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner
repostringYesRepository name
issue_numbernumberYesIssue number
apiKeystringYesGitHub API token

Output

ParameterTypeDescription
contentstringHuman-readable issue details
metadataobjectDetailed issue metadata

github_close_issue

Close an issue in a GitHub repository

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner
repostringYesRepository name
issue_numbernumberYesIssue number
state_reasonstringNoReason for closing: completed or not_planned
apiKeystringYesGitHub API token

Output

ParameterTypeDescription
contentstringHuman-readable issue close confirmation
metadataobjectClosed issue metadata

github_add_labels

Add labels to an issue in a GitHub repository

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner
repostringYesRepository name
issue_numbernumberYesIssue number
labelsstringYesComma-separated list of label names to add to the issue
apiKeystringYesGitHub API token

Output

ParameterTypeDescription
contentstringHuman-readable labels confirmation
metadataobjectLabels metadata

github_remove_label

Remove a label from an issue in a GitHub repository

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner
repostringYesRepository name
issue_numbernumberYesIssue number
namestringYesLabel name to remove
apiKeystringYesGitHub API token

Output

ParameterTypeDescription
contentstringHuman-readable label removal confirmation
metadataobjectRemaining labels metadata

github_add_assignees

Add assignees to an issue in a GitHub repository

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner
repostringYesRepository name
issue_numbernumberYesIssue number
assigneesstringYesComma-separated list of usernames to assign to the issue
apiKeystringYesGitHub API token

Output

ParameterTypeDescription
contentstringHuman-readable assignees confirmation
metadataobjectUpdated issue metadata with assignees

github_create_release

Create a new release for a GitHub repository. Specify tag name, target commit, title, description, and whether it should be a draft or prerelease.

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner (user or organization)
repostringYesRepository name
tag_namestringYesThe name of the tag for this release
target_commitishstringNoSpecifies the commitish value that determines where the Git tag is created from. Can be any branch or commit SHA. Defaults to the repository default branch.
namestringNoThe name of the release
bodystringNoText describing the contents of the release (markdown supported)
draftbooleanNotrue to create a draft (unpublished) release, false to create a published one
prereleasebooleanNotrue to identify the release as a prerelease, false to identify as a full release
apiKeystringYesGitHub Personal Access Token

Output

ParameterTypeDescription
contentstringHuman-readable release creation summary
metadataobjectRelease metadata including download URLs

github_update_release

Update an existing GitHub release. Modify tag name, target commit, title, description, draft status, or prerelease status.

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner (user or organization)
repostringYesRepository name
release_idnumberYesThe unique identifier of the release
tag_namestringNoThe name of the tag
target_commitishstringNoSpecifies the commitish value for where the tag is created from
namestringNoThe name of the release
bodystringNoText describing the contents of the release (markdown supported)
draftbooleanNotrue to set as draft, false to publish
prereleasebooleanNotrue to identify as a prerelease, false for a full release
apiKeystringYesGitHub Personal Access Token

Output

ParameterTypeDescription
contentstringHuman-readable release update summary
metadataobjectUpdated release metadata including download URLs

github_list_releases

List all releases for a GitHub repository. Returns release information including tags, names, and download URLs.

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner (user or organization)
repostringYesRepository name
per_pagenumberNoNumber of results per page (max 100)
pagenumberNoPage number of the results to fetch
apiKeystringYesGitHub Personal Access Token

Output

ParameterTypeDescription
contentstringHuman-readable list of releases with summary
metadataobjectReleases metadata

github_get_release

Get detailed information about a specific GitHub release by ID. Returns release metadata including assets and download URLs.

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner (user or organization)
repostringYesRepository name
release_idnumberYesThe unique identifier of the release
apiKeystringYesGitHub Personal Access Token

Output

ParameterTypeDescription
contentstringHuman-readable release details
metadataobjectRelease metadata including download URLs

github_delete_release

Delete a GitHub release by ID. This permanently removes the release but does not delete the associated Git tag.

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner (user or organization)
repostringYesRepository name
release_idnumberYesThe unique identifier of the release to delete
apiKeystringYesGitHub Personal Access Token

Output

ParameterTypeDescription
contentstringHuman-readable deletion confirmation
metadataobjectDeletion result metadata

github_list_workflows

List all workflows in a GitHub repository. Returns workflow details including ID, name, path, state, and badge URL.

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner (user or organization)
repostringYesRepository name
per_pagenumberNoNumber of results per page (default: 30, max: 100)
pagenumberNoPage number of results to fetch (default: 1)
apiKeystringYesGitHub Personal Access Token

Output

ParameterTypeDescription
contentstringHuman-readable workflows summary
metadataobjectWorkflows metadata

github_get_workflow

Get details of a specific GitHub Actions workflow by ID or filename. Returns workflow information including name, path, state, and badge URL.

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner (user or organization)
repostringYesRepository name
workflow_idstringYesWorkflow ID (number) or workflow filename (e.g., "main.yaml")
apiKeystringYesGitHub Personal Access Token

Output

ParameterTypeDescription
contentstringHuman-readable workflow details
metadataobjectWorkflow metadata

github_trigger_workflow

Trigger a workflow dispatch event for a GitHub Actions workflow. The workflow must have a workflow_dispatch trigger configured. Returns 204 No Content on success.

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner (user or organization)
repostringYesRepository name
workflow_idstringYesWorkflow ID (number) or workflow filename (e.g., "main.yaml")
refstringYesGit reference (branch or tag name) to run the workflow on
inputsobjectNoInput keys and values configured in the workflow file
apiKeystringYesGitHub Personal Access Token

Output

ParameterTypeDescription
contentstringConfirmation message
metadataobjectEmpty metadata object (204 No Content response)

github_list_workflow_runs

List workflow runs for a repository. Supports filtering by actor, branch, event, and status. Returns run details including status, conclusion, and links.

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner (user or organization)
repostringYesRepository name
actorstringNoFilter by user who triggered the workflow
branchstringNoFilter by branch name
eventstringNoFilter by event type (e.g., push, pull_request, workflow_dispatch)
statusstringNoFilter by status (queued, in_progress, completed, waiting, requested, pending)
per_pagenumberNoNumber of results per page (default: 30, max: 100)
pagenumberNoPage number of results to fetch (default: 1)
apiKeystringYesGitHub Personal Access Token

Output

ParameterTypeDescription
contentstringHuman-readable workflow runs summary
metadataobjectWorkflow runs metadata

github_get_workflow_run

Get detailed information about a specific workflow run by ID. Returns status, conclusion, timing, and links to the run.

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner (user or organization)
repostringYesRepository name
run_idnumberYesWorkflow run ID
apiKeystringYesGitHub Personal Access Token

Output

ParameterTypeDescription
contentstringHuman-readable workflow run details
metadataobjectWorkflow run metadata

github_cancel_workflow_run

Cancel a workflow run. Returns 202 Accepted if cancellation is initiated, or 409 Conflict if the run cannot be cancelled (already completed).

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner (user or organization)
repostringYesRepository name
run_idnumberYesWorkflow run ID to cancel
apiKeystringYesGitHub Personal Access Token

Output

ParameterTypeDescription
contentstringCancellation status message
metadataobjectCancellation metadata

github_rerun_workflow

Rerun a workflow run. Optionally enable debug logging for the rerun. Returns 201 Created on success.

Input

ParameterTypeRequiredDescription
ownerstringYesRepository owner (user or organization)
repostringYesRepository name
run_idnumberYesWorkflow run ID to rerun
enable_debug_loggingbooleanNoEnable debug logging for the rerun (default: false)
apiKeystringYesGitHub Personal Access Token

Output

ParameterTypeDescription
contentstringRerun confirmation message
metadataobjectRerun metadata

github_list_projects

List GitHub Projects V2 for an organization or user. Returns up to 20 projects with their details including ID, title, number, URL, and status.

Input

ParameterTypeRequiredDescription
owner_typestringYesOwner type: "org" for organization or "user" for user
owner_loginstringYesOrganization or user login name
apiKeystringYesGitHub Personal Access Token with project read permissions

Output

ParameterTypeDescription
contentstringHuman-readable list of projects
metadataobjectProjects metadata

github_get_project

Get detailed information about a specific GitHub Project V2 by its number. Returns project details including ID, title, description, URL, and status.

Input

ParameterTypeRequiredDescription
owner_typestringYesOwner type: "org" for organization or "user" for user
owner_loginstringYesOrganization or user login name
project_numbernumberYesProject number
apiKeystringYesGitHub Personal Access Token with project read permissions

Output

ParameterTypeDescription
contentstringHuman-readable project details
metadataobjectProject metadata

github_create_project

Create a new GitHub Project V2. Requires the owner Node ID (not login name). Returns the created project with ID, title, and URL.

Input

ParameterTypeRequiredDescription
owner_idstringYesOwner Node ID (format: PVT_... or MDQ6...). Use GitHub GraphQL API to get this ID from organization or user login.
titlestringYesProject title
apiKeystringYesGitHub Personal Access Token with project write permissions

Output

ParameterTypeDescription
contentstringHuman-readable confirmation message
metadataobjectCreated project metadata

github_update_project

Update an existing GitHub Project V2. Can update title, description, visibility (public), or status (closed). Requires the project Node ID.

Input

ParameterTypeRequiredDescription
project_idstringYesProject Node ID (format: PVT_...)
titlestringNoNew project title
shortDescriptionstringNoNew project short description
project_publicbooleanNoSet project visibility (true = public, false = private)
closedbooleanNoSet project status (true = closed, false = open)
apiKeystringYesGitHub Personal Access Token with project write permissions

Output

ParameterTypeDescription
contentstringHuman-readable confirmation message
metadataobjectUpdated project metadata

github_delete_project

Delete a GitHub Project V2. This action is permanent and cannot be undone. Requires the project Node ID.

Input

ParameterTypeRequiredDescription
project_idstringYesProject Node ID (format: PVT_...)
apiKeystringYesGitHub Personal Access Token with project admin permissions

Output

ParameterTypeDescription
contentstringHuman-readable confirmation message
metadataobjectDeleted project metadata

Notes

  • Category: tools
  • Type: github
On this page

On this page

Usage Instructions
Tools
github_pr
Input
Output
github_comment
Input
Output
github_repo_info
Input
Output
github_latest_commit
Input
Output
github_issue_comment
Input
Output
github_list_issue_comments
Input
Output
github_update_comment
Input
Output
github_delete_comment
Input
Output
github_list_pr_comments
Input
Output
github_create_pr
Input
Output
github_update_pr
Input
Output
github_merge_pr
Input
Output
github_list_prs
Input
Output
github_get_pr_files
Input
Output
github_close_pr
Input
Output
github_request_reviewers
Input
Output
github_get_file_content
Input
Output
github_create_file
Input
Output
github_update_file
Input
Output
github_delete_file
Input
Output
github_get_tree
Input
Output
github_list_branches
Input
Output
github_get_branch
Input
Output
github_create_branch
Input
Output
github_delete_branch
Input
Output
github_get_branch_protection
Input
Output
github_update_branch_protection
Input
Output
github_create_issue
Input
Output
github_update_issue
Input
Output
github_list_issues
Input
Output
github_get_issue
Input
Output
github_close_issue
Input
Output
github_add_labels
Input
Output
github_remove_label
Input
Output
github_add_assignees
Input
Output
github_create_release
Input
Output
github_update_release
Input
Output
github_list_releases
Input
Output
github_get_release
Input
Output
github_delete_release
Input
Output
github_list_workflows
Input
Output
github_get_workflow
Input
Output
github_trigger_workflow
Input
Output
github_list_workflow_runs
Input
Output
github_get_workflow_run
Input
Output
github_cancel_workflow_run
Input
Output
github_rerun_workflow
Input
Output
github_list_projects
Input
Output
github_get_project
Input
Output
github_create_project
Input
Output
github_update_project
Input
Output
github_delete_project
Input
Output
Notes
Start building today
Trusted by over 60,000 builders.
Build Agentic workflows visually on a drag-and-drop canvas or with natural language.
Get started