gitlab_get_current_user
Retrieve details of the currently authenticated GitLab user, including ID, username, email, and permissions.
Instructions
Get current authenticated GitLab user (/user).
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_get_current_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether the tool call succeeded. | |
| tool | Yes | Tool name. | |
| data | No | Current authenticated GitLab user payload. | |
| error_type | No | Error type when ok=false. | |
| message | No | Error message when ok=false. |