Update Profile
update_profileUpdate the current user's AFFiNE profile by setting a new display name and avatar URL.
Instructions
Update current user's profile information.
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": "update_profile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Display name | |
| avatarUrl | No | Avatar URL |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| ok | No | ||
| code | No | ||
| name | No | ||
| error | No | ||
| details | No | ||
| avatarUrl | No | ||
| retryable | No |