gitlab_add_project_member
Assign a user to a GitLab project with specified access level. Use this tool to manage project permissions by providing project ID, user ID, and access level (Guest, Reporter, Developer, Maintainer, Owner).
Instructions
Add a user to a project
Input Schema
Name | Required | Description | Default |
---|---|---|---|
access_level | Yes | Access level (10=Guest, 20=Reporter, 30=Developer, 40=Maintainer, 50=Owner) | |
project_id | Yes | The ID or URL-encoded path of the project | |
user_id | Yes | The ID of the user |
Input Schema (JSON Schema)
{
"properties": {
"access_level": {
"description": "Access level (10=Guest, 20=Reporter, 30=Developer, 40=Maintainer, 50=Owner)",
"enum": [
10,
20,
30,
40,
50
],
"type": "number"
},
"project_id": {
"description": "The ID or URL-encoded path of the project",
"type": "string"
},
"user_id": {
"description": "The ID of the user",
"type": "number"
}
},
"required": [
"project_id",
"user_id",
"access_level"
],
"type": "object"
}