wa_list_add
Add a WhatsApp chat or group to an existing list by name or ID; returns a plan unless confirmation and action permissions are enabled.
Instructions
Adds a chat (phone number, jid or name; a group by jid) to a list (name or id, from wa_list_lists). Companion only; lists resolve by name or id from the companion. Without confirm=true it only returns the plan; runs with confirm=true AND WA_ALLOW_ACTIONS=1. The answer has verified=true once the companion's list state shows the change. Only when the owner explicitly asks.
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": {
"list": "<list>",
"chat": "<chat>"
},
"name": "wa_list_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | ||
| list | Yes | ||
| confirm | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||