handle_label
Add or remove a label from a chat by providing the chat number, label ID, and target action.
Instructions
Add or remove a label from a 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": {
"instanceName": "<instanceName>",
"number": "<number>",
"labelId": "<labelId>",
"action": "<action>"
},
"name": "handle_label"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| number | Yes | Chat number/JID | |
| labelId | Yes | Label ID | |
| instanceName | Yes | Name of the Evolution API instance |