You're viewing a demo portfolio

Join the waitlist
PRSM

ic_membership_upload_photo

Active

Tool of Immersive Commons

declared in 1.31.0

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`."
    }
  }
}

What this tool wraps· 0 endpoints

min confidence0.700.50

No endpoints wrapped at confidence ≥ 0.50.

Parent server

Immersive Commons

https://github.com/immersive-commons/ic-skills

1/7 registries
View full server →