What you can ask
- “What does GitHub have for the area or asset I'm working on?”
- “Pull the most recent GitHub records and put them in a table.”
- “What does GitHub cover, and how fresh is the data?”
About this source
GitHub connector for managing repositories, issues, pull requests, commits, and code. CRITICAL USAGE RULES: 1. Use listRepositories() to discover available repos before other operations. 2. Repository names use owner/repo format (e.g., "anthropics/claude-code"). 3. Use searchCode() for finding code patterns across repositories. 4. Issue and PR numbers are integers, not IDs. 5. File contents are returned as base64 - decode if needed. AUTHENTICATION: - Uses OAuth token from user's connected GitHub account - Scopes: repo, read:user, user:email, read:org
Connector ID github
Provenance
Freshness & coverage
Caveats
- ⚠ PatchOps exposes a curated 18-method subset mapped to 21 endpoints in GitHub REST API version 2022-11-28; it is not the complete GitHub REST surface.
- ⚠ Write methods require an explicit action execution lane and are certified only with local exact-wire tests.
› Methods (18)
Technical detail for developers: parameters, pagination, units, and freshness per method.
listRepositories
readList repositories for a user or organization with sort and paging.
getRepository
readRetrieve a single repository by owner and repository name.
listIssues
readList issues in a repository filtered by state, labels, and assignee.
createIssue
writeCreate a new issue in a repository with title, body, and labels.
updateIssue
writeUpdate an existing repository issue including title, body, state, and labels.
listPullRequests
readList pull requests in a repository filtered by state, head, and base.
getPullRequest
readRetrieve a single pull request by owner, repository, and number.
createPullRequest
writeCreate a pull request from a head branch into a base branch.
listCommits
readList commits in a repository filtered by author, path, and date.
getCommit
readRetrieve a single commit by repository owner and git ref.
listBranches
readList branches in a repository, optionally limited to protected branches.
getFileContents
readRetrieve file contents from a repository path at a git ref.
searchCode
readSearch code across repositories using a query string.
searchIssues
readSearch issues and pull requests across repositories by query.
listWorkflows
readList workflow definitions in a repository, including workflow ids.
listWorkflowRuns
readList workflow run history filtered by workflow, branch, event, and status.
getUser
readRetrieve a public user profile by username, including metadata.
listOrganizations
readList organizations the authenticated user belongs to, with paging.
