dhis2_whoami
Returns the authenticated user's name, username, roles, and assigned organisation units to confirm data access permissions.
Instructions
Return the authenticated user: name, username, roles and the organisation units they are assigned to. Useful for confirming which data the account can see.
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": "dhis2_whoami"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |