Upload your member photo (auto-cropped to 256² WebP)
ic_membership_upload_photoAccept a base64-encoded image (PNG / JPEG / WebP / HEIC — anything sharp can decode), server-crop to a 256×256 WebP avatar, store on the calling member's profile. Subsequent calls overwrite. Max raw input 12MB. Args: { data_url?: 'data:image/png;base64,...', base64?: '...' } (one of). Returns: { ok, profile, base64_len }. Required scope: membership:write.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base64 | No | Bare base64 string (no data: prefix). Mutually exclusive with `data_url`. | |
| data_url | No | Standard data URL form. Mutually exclusive with `base64`. |