Create a group
cometchat_create_groupCreates a public, private or password group, optionally with up to 100 users as participants. Unknown UIDs can be skipped silently, so check with cometchat_list_group_members.
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>",
"name": "<name>",
"type": "<type>"
},
"name": "cometchat_create_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guid | Yes | Group ID: letters, numbers, - and _ | |
| name | Yes | Group name | |
| type | Yes | Who can join | |
| app_id | Yes | The CometChat App ID (from cometchat_list_apps). | |
| members | No | UIDs of existing users to add as participants (optional) | |
| password | No | Required for password groups |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guid | Yes | Group ID | |
| name | Yes | Name | |
| type | Yes | Type | |
| app_id | Yes | App ID | |
| members_added | Yes | UIDs sent to CometChat as participants; not confirmed per user |