Create a group
create_groupName a new group of the user's accepted contacts, for sending to several at once with draft_package(toGroup:). Only on the user's explicit request, naming who belongs on it — every member must already be an accepted contact (invite_contact first if not). Two delivery modes, fixed once chosen: "separate" sends each member their own private copy and none of them learns of the others or that a group exists; "shared" is one thread every member is on and can reply to, which reaches everyone. list_groups shows what exists — check it before naming a near-duplicate.
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": {
"name": "<name>",
"delivery": "<delivery>"
},
"name": "create_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | A short name for the group, at most 60 characters and no '@'. | |
| members | No | Members to add now, each as the user names them: nickname, name or address, as list_contacts shows it. Every one must already be an accepted contact. | |
| delivery | Yes | "separate" (each member gets their own private copy, and never learns of the others) or "shared" (one thread everyone on it can reply to). |