Remove a member or leave
remove_memberRemove a member from the organization (owner only), or leave it yourself by passing your own userId (any member; the owner cannot leave). They lose access at once. The userId is from get_organization.
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": {
"userId": "<userId>"
},
"name": "remove_member"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | Yes | ||
| organizationId | No | Which organization to act in: an id from list_organizations. Leave out for this connection's default organization. |