Get GitHub repository information
github_repository_infoRetrieve GitHub repository metadata for allowlisted organizations, including existence, owner, visibility, default branch, fork status, archived status, and URL.
Instructions
Query metadata for a GitHub repository under an allowlisted organization. Returns existence, owner, visibility, default branch, fork/archived flags, and repository URL.
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": {
"organization": "<organization>",
"repository": "<repository>"
},
"name": "github_repository_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repository | Yes | Repository name to query | |
| organization | Yes | Allowlisted GitHub organization name (e.g. CosmGrid) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fork | Yes | ||
| name | Yes | ||
| owner | Yes | ||
| exists | Yes | ||
| archived | Yes | ||
| visibility | Yes | ||
| defaultBranch | Yes | ||
| repositoryUrl | Yes |