groupChat_setInfoAdminsOnly
Toggle the adminsOnly setting to restrict or allow editing of WhatsApp group information (e.g., name, description) to administrators only.
Instructions
[Group Chat] Update the info group settings
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": "groupChat_setInfoAdminsOnly"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chatId | No | Unique WhatsApp id for the given chat group | |
| sessionId | Yes | Unique identifier for the session (alphanumeric and - allowed) | |
| adminsOnly | No | Enable or disable this option |