Add project member
gitlab_add_project_memberGrant a user access to a GitLab project by specifying their user ID, access level, and optional expiration date.
Instructions
Grants a user access to a project.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"user_id": "<user_id>",
"access_level": "<access_level>"
},
"name": "gitlab_add_project_member"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | User id to add | |
| expires_at | No | YYYY-MM-DD | |
| project_id | No | Project id or URL-encoded path, e.g. `42` or `group/subgroup/project`. Falls back to GITLAB_PROJECT_ID. | |
| access_level | Yes | 10 guest, 20 reporter, 30 developer, 40 maintainer, 50 owner |