Award Achievement
award_achievementAssign a GitLab achievement to a specified username, with an optional award message; recipients may need to accept before it appears on their profile.
Instructions
Award an achievement to a GitLab username. Multiple awards to the same user are allowed. Requires group Maintainer/Owner. GitLab notifies the recipient, who may need to accept before it appears on their profile.
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": {
"achievementId": "<achievementId>",
"username": "<username>"
},
"name": "award_achievement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| username | Yes | ||
| awardMessage | No | Optional award message, supported on instances exposing this mutation field. | |
| achievementId | Yes | Numeric achievement ID or gid://gitlab/Achievements::Achievement/<id>. | |
| userCredentials | No | Your GitLab credentials (optional — falls back to the configured env token if not provided) |