message_groups
Send the same message to every client in one or more groups, in each client's own chat with the coach. A sent message cannot be taken back, so show the text and the recipient list first. (confirm-gated: without confirm it previews who would get it, writing nothing)
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": {
"text": "<text>",
"groupIds": "<groupIds>"
},
"name": "message_groups"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| confirm | No | Must be true to actually execute. If false/omitted, returns a preview only. | |
| groupIds | Yes | Group ids from list_client_groups | |
| allowDuplicates | No | Also give it to a member who already has the same thing over the same dates (default: skip them) | |
| excludeClientIds | No | Members to leave out this time (client User _ids) |