Create a repository
create_repoCreate a new private repository under your own account to start an empty project, then push code or add a first file. Fails if a repository with that name already exists.
Instructions
Create a repository under your own account, not an organization (requires write mode; defaults to private). It starts empty, with no commit or branch, so push to it or add a first file with create_or_update_file. Not idempotent: it fails if you already have a repo of that name. Answers with the repository in get_repo's shape. To copy an existing repo in from another instance, with its issues and pull requests, use migrate_repo instead; edit_repo changes settings afterwards.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the repository to create (under the authenticated user). | |
| private | No | Whether the repository is private. Defaults to private when omitted. | |
| description | No | Optional description. |