ic_membership_upload_photo
ActiveTool of Immersive Commons
Accept 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.
Parameters schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"base64": {
"type": "string",
"maxLength": 20000000,
"description": "Bare base64 string (no data: prefix). Mutually exclusive with `data_url`."
},
"data_url": {
"type": "string",
"maxLength": 20000000,
"description": "Standard data URL form. Mutually exclusive with `base64`."
}
}
}No endpoints wrapped at confidence ≥ 0.70.
Parent server
Immersive Commons
https://github.com/immersive-commons/ic-skills
1/7 registries