client_addOrRemoveLabels
Add or remove labels in WhatsApp chats using chat IDs and label IDs. Specify a session ID to target the correct chats and labels for modification.
Instructions
[Client] Change labels in chats
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_addOrRemoveLabels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chatIds | No | Array of chat IDs | |
| labelIds | No | Array of label IDs | |
| sessionId | Yes | Unique identifier for the session (alphanumeric and - allowed) |