Update Profile
update_profileUpdate the current user's display name or avatar URL to keep AFFiNE profile information accurate; provide at least one field.
Instructions
Update current user's profile information. Requires at least one of name or avatarUrl.
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 | ||
| causeCode | No | ||
| retryable | No | ||
| recoveryGuidance | No |