Remove team member
remove_team_memberRemove a team member permanently: their membership is deleted and they lose access to this organization. The person themself and every order they sold stay exactly as they are. The org Owner can never be removed, and you cannot remove yourself. Call once to preview (confirm defaults to false), show the preview to the user, then call again with confirm=true and the same idempotency_key to remove them. Owner/Admin only.
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": {
"member_id": "<member_id>",
"idempotency_key": "<idempotency_key>"
},
"name": "remove_team_member"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Set to true ONLY after showing the preview to the user and getting their approval. Default false: returns a preview of exactly what would happen and changes nothing. | |
| member_id | Yes | Team member ID (the membership id) from list_team_members. | |
| idempotency_key | Yes | A unique key for this write (e.g. a UUID). REQUIRED. Reuse the exact same key if you retry this call — a replay returns the original result instead of executing again. A retry with a different key (or none) may create a second event or send a second broadcast. | |
| organization_id | No | Organization ID. Required when you belong to several organizations — use list_my_organizations to see them. Omit it when you belong to exactly one. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| member | No | ||
| preview | Yes | ||
| summary | No | ||
| replayed | No | ||
| confirm_required | No |