chat_changeLabels
Add or remove labels on a WhatsApp chat by supplying the chat ID, label IDs, and session ID. Organize chats with custom labels for better management.
Instructions
[Chat] Add or remove labels
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": "chat_changeLabels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chatId | No | Unique WhatsApp identifier for the given Chat (either group or personal) | |
| labelIds | No | Array of (number or string) | |
| sessionId | Yes | Unique identifier for the session (alphanumeric and - allowed) |