Tools · Services
github
Changes thingsWork 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": "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
| Name | Type | Description |
|---|---|---|
| action* | string | —search_issuesget_issuecreate_issuecomment_issueclose_issuelist_pullsget_pullcreate_pullupdate_pullmerge_pullreview_pullrequest_review |
| owner | string | — |
| repo | string | — |
| number | integer | — |
| run_id | integer | — |
| query | string | — |
| title | string | — |
| body | string | — |
| state | string | — |
| head | string | — |
| base | string | — |
| path | string | — |
| ref | string | — |
| labels | array | — |
| assignees | array | — |
| reviewers | array | — |
| merge_method | string | —mergerebasesquash |
| event | string | —APPROVECOMMENTREQUEST_CHANGES |
| per_page | integer | — |
| page | integer | — |
* required
More in Services
Work in GitHub, Slack, Jira, Linear, Notion, Google, Stripe and more.