hedgedoc_whoami
Verify the current session and return the logged-in user's profile. Call before write operations to confirm authentication or identify the active account.
Instructions
Verify the current session is valid and return the logged-in user's profile.
Returns JSON with user info (status, id, name, photo). Call this to confirm the server is correctly authenticated before attempting write operations, or to identify which account is active.
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": "hedgedoc_whoami"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||