send_organization_announcement
Send an announcement to a gym's coaches, clients, or everyone (confirm-gated). Irreversible: recipients get an in-app notice, and a real email if alsoEmail is true. Show the coach the exact text and audience first.
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": {
"organizationId": "<organizationId>",
"title": "<title>",
"body": "<body>",
"audience": "<audience>"
},
"name": "send_organization_announcement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| title | Yes | ||
| confirm | No | Must be true to actually execute. If false/omitted, returns a preview only. | |
| audience | Yes | ||
| alsoEmail | No | ||
| locationId | No | Limit to one location | |
| organizationId | Yes |