chat_getLabels
Retrieve all labels assigned to a WhatsApp chat. Get an array of label names for a specific chat to manage and organize conversations.
Instructions
[Chat] Return all labels. Return array of all labels assigned to this chat
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_getLabels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chatId | No | Unique WhatsApp ID for the given chat (either group or personal) | |
| sessionId | Yes | Unique identifier for the session (alphanumeric and - allowed) |