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.
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>",
"name": "<name>",
"visibility": "<visibility>"
},
"name": "github_repository_create"
}
}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 |