groupChat_setPicture
Set the group profile picture for a WhatsApp chat. Provide the chat ID and base64-encoded image data to update the group's photo.
Instructions
[Group Chat] Set the group picture
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sessionId": "<sessionId>"
},
"name": "groupChat_setPicture"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chatId | No | Unique WhatsApp id for the given chat group | |
| sessionId | Yes | Unique identifier for the session (alphanumeric and - allowed) | |
| pictureData | No | Base64-encoded data of the file | |
| pictureMimeType | No | MIME type of the attachment |