client_setDisplayName
Set the WhatsApp display name for the current session, shown to users who haven't added you as a contact in groups and your profile.
Instructions
[Client] Set the current user. This is the name shown to WhatsApp users that have not added you as a contact beside your number in groups and in your profile.
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_setDisplayName"
}
}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. |