Tools · Services

github

Changes things

Work with GitHub issues, pull requests, file contents, and Actions workflow runs via the REST API.

When to use: Use this for GitHub issue triage, pull request review and merging, reading source files, and managing GitHub Actions workflow runs.

Example

The call

tool call
{
  "tool": "github",
  "arguments": {
    "action": "search_issues",
    "query": "repo:shipiit/shipit_agent is:open label:bug"
  }
}

Needs a GitHub token (GITHUB_TOKEN) or a connected account

So it isn't run here, and no output is shown: nothing on this page is made up.

Parameters

NameTypeDescription
action*string—search_issuesget_issuecreate_issuecomment_issueclose_issuelist_pullsget_pullcreate_pullupdate_pullmerge_pullreview_pullrequest_review
ownerstring—
repostring—
numberinteger—
run_idinteger—
querystring—
titlestring—
bodystring—
statestring—
headstring—
basestring—
pathstring—
refstring—
labelsarray—
assigneesarray—
reviewersarray—
merge_methodstring—mergerebasesquash
eventstring—APPROVECOMMENTREQUEST_CHANGES
per_pageinteger—
pageinteger—

* required

Work in GitHub, Slack, Jira, Linear, Notion, Google, Stripe and more.