Who am I
whoamiReturns the authenticated identity, whether the caller used a session cookie, a session token, an API key or an OAuth token. An OAuth token sees email only with the email scope, and role never. Backs vg whoami.
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 |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | Yes | ||
| role | Yes | ||
| Yes |