Who am I in Dolibarr
dolibarr_whoamiIdentifies the Dolibarr user, version and groups behind the current connection. Call it at session start, or with include_rights to find which permission blocks a refused action.
Instructions
Returns the Dolibarr user this connection acts as, the Dolibarr version, the user's groups and (optionally) permissions. Call it first in a session, and again with include_rights=true when Dolibarr refuses an action, to tell the user which right is missing.
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": "dolibarr_whoami"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include_rights | No | Also list the user's permissions (long list). |