Get a repository
get_repoRetrieve a repository's default branch, size, and feature toggles to verify which units (issues, releases, Actions, packages) are enabled and explain 404s from disabled endpoints.
Instructions
Get one repository's details (owner/repo): default branch, size (KiB), and the unit toggles (has_issues, has_pull_requests, has_wiki, has_releases, has_actions, has_packages, has_projects). A unit that is off 404s its whole endpoint family rather than returning empty, so this is where to check when a release or workflow tool reports a repository that plainly exists as missing.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"owner": "<owner>",
"repo": "<repo>"
},
"name": "get_repo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository name. | |
| owner | Yes | Repository owner — user or organization. |