Gh Get Repo
gh_get_repoGet detailed info for a specific repository. Returns description, language, stars, forks, open issues, default branch, and access level.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"repo": "Hello-World",
"owner": "octocat"
},
"name": "gh_get_repo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository name | |
| owner | Yes | Repository owner |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Repository ID | |
| name | No | Repository name | |
| owner | No | ||
| private | No | Whether repository is private | |
| html_url | No | Repository web URL | |
| language | No | Primary programming language | |
| full_name | No | Full repository name (owner/repo) | |
| pushed_at | No | ISO timestamp of last push | |
| updated_at | No | ISO timestamp of last update | |
| description | No | Repository description | |
| forks_count | No | Number of forks | |
| permissions | No | ||
| default_branch | No | Default branch name | |
| stargazers_count | No | Number of stars | |
| open_issues_count | No | Number of open issues |