client_setProfilePicture
Update the WhatsApp profile picture for an active session by providing base64 image data and its MIME type.
Instructions
[Client] Set the current user's profile 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": "client_setProfilePicture"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | Unique identifier for the session (alphanumeric and - allowed) | |
| pictureData | No | The base64 data of the picture to set as the profile picture for the user WhatsApp account. | |
| pictureMimetype | No | The mimetype of the picture to set as the profile picture for the user WhatsApp account. |