Current User
current_userRetrieves the authenticated user profile to verify credentials before performing workspace or document operations.
Instructions
Return the currently authenticated AFFiNE user profile. Use this read-only check to verify credentials before workspace or document operations.
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": "current_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||