create_group
Create a new GitLab group or subgroup, specifying parent for subgroups and visibility, with validation and error handling from GitLab.
Instructions
Create new group or subgroup. 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 | The name of the group | |
| path | Yes | The path of the group | |
| jmespath | No | Optional JMESPath expression filtering the JSON result before return. | |
| parent_id | No | The parent group ID for creating a subgroup | |
| visibility | No | The group's visibility level | |
| description | No | The group's description |