{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Creates a new repository for the authenticated user.\n\nOAuth app tokens and personal access tokens (classic) need the `public_repo` or `repo` scope to create a public repository, and `repo` scope to create a private repository.","properties":{"body":{"properties":{"name":{"description":"The name of the repository.","type":"string","examples":["Team Environment"]},"description":{"description":"A short description of the repository.","type":"string"},"homepage":{"description":"A URL with more information about the repository.","type":"string"},"private":{"description":"Whether the repository is private.","default":false,"type":"boolean"},"has_issues":{"description":"Whether issues are enabled.","default":true,"type":"boolean","examples":[true]},"has_projects":{"description":"Whether projects are enabled.","default":true,"type":"boolean","examples":[true]},"has_wiki":{"description":"Whether the wiki is enabled.","default":true,"type":"boolean","examples":[true]},"has_discussions":{"description":"Whether discussions are enabled.","default":false,"type":"boolean","examples":[true]},"team_id":{"description":"The id of the team that will be granted access to this repository. This is only valid when creating a repository in an organization.","type":"integer"},"auto_init":{"description":"Whether the repository is initialized with a minimal README.","default":false,"type":"boolean"},"gitignore_template":{"description":"The desired language or platform to apply to the .gitignore.","type":"string","examples":["Haskell"]},"license_template":{"description":"The license keyword of the open source license for this repository.","type":"string","examples":["mit"]},"allow_squash_merge":{"description":"Whether to allow squash merges for pull requests.","default":true,"type":"boolean","examples":[true]},"allow_merge_commit":{"description":"Whether to allow merge commits for pull requests.","default":true,"type":"boolean","examples":[true]},"allow_rebase_merge":{"description":"Whether to allow rebase merges for pull requests.","default":true,"type":"boolean","examples":[true]},"allow_auto_merge":{"description":"Whether to allow Auto-merge to be used on pull requests.","default":false,"type":"boolean","examples":[false]},"delete_branch_on_merge":{"description":"Whether to delete head branches when pull requests are merged","default":false,"type":"boolean","examples":[false]},"squash_merge_commit_title":{"type":"string","enum":["PR_TITLE","COMMIT_OR_PR_TITLE"],"description":"Required when using `squash_merge_commit_message`.\n\nThe default value for a squash merge commit title:\n\n- `PR_TITLE` - default to the pull request's title.\n- `COMMIT_OR_PR_TITLE` - default to the commit's title (if only one commit) or the pull request's title (when more than one commit)."},"squash_merge_commit_message":{"type":"string","enum":["PR_BODY","COMMIT_MESSAGES","BLANK"],"description":"The default value for a squash merge commit message:\n\n- `PR_BODY` - default to the pull request's body.\n- `COMMIT_MESSAGES` - default to the branch's commit messages.\n- `BLANK` - default to a blank commit message."},"merge_commit_title":{"type":"string","enum":["PR_TITLE","MERGE_MESSAGE"],"description":"Required when using `merge_commit_message`.\n\nThe default value for a merge commit title.\n\n- `PR_TITLE` - default to the pull request's title.\n- `MERGE_MESSAGE` - default to the classic title for a merge message (e.g., Merge pull request #123 from branch-name)."},"merge_commit_message":{"type":"string","enum":["PR_BODY","PR_TITLE","BLANK"],"description":"The default value for a merge commit message.\n\n- `PR_TITLE` - default to the pull request's title.\n- `PR_BODY` - default to the pull request's body.\n- `BLANK` - default to a blank commit message."},"has_downloads":{"description":"Whether downloads are enabled.","default":true,"type":"boolean","examples":[true]},"is_template":{"description":"Whether this repository acts as a template that can be used to generate new repositories.","default":false,"type":"boolean","examples":[true]}},"required":["name"],"type":"object","examples":[{"name":"Hello-World","description":"This is your first repo!","homepage":"https://github.com","private":false,"is_template":true}]}},"required":["body"],"additionalProperties":false},"name":"Create a repository for the authenticated user","id":"github.repos.create-for-authenticated-user","example":{"body":{"name":"Hello-World","description":"This is your first repo!","homepage":"https://github.com","private":false,"is_template":true}},"maxRequests":1,"summary":false}}