Create project
gitlab_create_projectCreate a new GitLab project with a name or repository path, then configure visibility, namespace, README initialization, templates, imports, and feature toggles.
Instructions
Create a new project.
Args: name: Project name (required unless path is given). path: Repository path. namespace_id: Group or user namespace id. visibility: 'private', 'internal' or 'public'. description: Project description. initialize_with_readme: Create an initial README. default_branch: Default branch name. topics: Project topics. issues_enabled: Enable issues. merge_requests_enabled: Enable merge requests. wiki_enabled: Enable the wiki. snippets_enabled: Enable snippets. container_registry_enabled: Enable the container registry. shared_runners_enabled: Enable shared runners. lfs_enabled: Enable Git LFS. only_allow_merge_if_pipeline_succeeds: Require a green pipeline to merge. squash_option: 'never', 'always', 'default_on' or 'default_off'. template_name: Instance template to start from. import_url: URL to import the repository from.
Returns: Response: A wrapper containing the original response and a Project model.
Raises: MissingParameterError: If neither name nor path is provided. ParameterError: If invalid parameters are provided.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "gitlab_create_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| path | No | ||
| topics | No | ||
| import_url | No | ||
| visibility | No | ||
| description | No | ||
| lfs_enabled | No | ||
| namespace_id | No | ||
| wiki_enabled | No | ||
| squash_option | No | ||
| template_name | No | ||
| default_branch | No | ||
| issues_enabled | No | ||
| snippets_enabled | No | ||
| initialize_with_readme | No | ||
| merge_requests_enabled | No | ||
| shared_runners_enabled | No | ||
| container_registry_enabled | No | ||
| only_allow_merge_if_pipeline_succeeds | No |