leave_organization
Leave a gym as a coach (confirm-gated) — high impact: the coach's clients are handed to transferClientCoachId if given. Not for owners (transfer ownership first). Get explicit confirmation before calling with confirm: true.
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>"
},
"name": "leave_organization"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Must be true to actually execute. If false/omitted, returns a preview only. | |
| organizationId | Yes | ||
| transferClientCoachId | No |