whoami
Retrieves details of the currently authenticated GitLab user, requiring read_user or User:Read permission. Use it to verify identity; for other users, use get_user or get_users.
Instructions
Get current authenticated user details. Requires classic read_user or fine-grained User:Read. Use get_user or get_users to look up another 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": "whoami"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jmespath | No | Optional JMESPath expression filtering the JSON result before return. |