Remove a group member
cometchat_remove_group_memberRemoves one user from a group; the user and the group remain. To delete the group use cometchat_delete_group.
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": {
"app_id": "<app_id>",
"guid": "<guid>",
"uid": "<uid>"
},
"name": "cometchat_remove_group_member"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | User ID | |
| guid | Yes | Group ID | |
| app_id | Yes | The CometChat App ID (from cometchat_list_apps). | |
| confirm | No | Set true only after the user has explicitly agreed to this change. Without it, nothing happens and you get a summary to show them. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | Removed user | |
| guid | Yes | Group ID | |
| app_id | Yes | App ID | |
| removed | Yes | Always true when the call succeeds |