Create GitHub repository
github_repository_createCreate a new GitHub repository in an allowlisted organization, specifying visibility as public or private. Returns ALREADY_EXISTS if a matching repository already exists.
Instructions
Create a new repository under an allowlisted GitHub organization with specified visibility (public or private). Idempotent: returns ALREADY_EXISTS if repository already exists with matching visibility. Does NOT initialize with README/license/gitignore, does NOT push code, does NOT configure remotes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Repository name | |
| visibility | Yes | Repository visibility: public or private | |
| description | No | Optional repository description | |
| organization | Yes | Allowlisted GitHub organization name (e.g. CosmGrid) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| owner | Yes | ||
| status | Yes | ||
| created | Yes | ||
| cloneUrl | Yes | ||
| visibility | Yes | ||
| defaultBranch | Yes | ||
| repositoryUrl | Yes |