create_repository
Create a new GitLab project by specifying its name, visibility, description, and optional namespace. Initialize with README if desired.
Instructions
Create a new GitLab project. Use this for a new resource or action; choose the corresponding update or edit tool when the resource already exists. It changes remote GitLab state and requires the necessary project or group permission; GitLab returns validation, conflict, permission, or rate-limit errors instead of silently applying an invalid request. When project_id or group_id is accepted, provide the numeric ID or complete URL-encoded path described by the schema; use required identifiers and pagination fields exactly as documented.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Repository name | |
| visibility | No | Repository visibility level | |
| description | No | Repository description | |
| namespace_id | No | Group namespace ID to create the project in. Omit to use the current user's namespace. | |
| initialize_with_readme | No | Initialize with README.md |