App Logo
web.whatsapp.com

WhatsApp — Set group photo

Set/replace a WhatsApp group's photo (icon) by exact group name. Pass the image as base64 (imageBase64) — it is injected into the group-info drawer's photo input and the crop/adjust dialog is confirmed. Verifies the group photo actually changed before reporting success, and returns the new photoUrl plus replacedExisting. Admin-only; notifies the group. Keep imageBase64 well under ~96KB (MCP payload cap); for larger images serve the file over localhost instead.

Input

group required

Exact group name, as shown in the chat list

imageBase64 required

The image bytes, base64-encoded (jpg/png/gif). Keep it well under ~96KB of base64 - the MCP transport caps the payload.

mime optional

Optional MIME type. Default inferred from filename (image/png, image/gif, else image/jpeg).

filename optional

Optional filename to present to WhatsApp. Default group.png

Output

set required
group required
photoUrl optional

The URL of the group photo after the change

replacedExisting optional

true if the group already had a photo that was replaced

Start building not clicking