Remove workspace member
remove_workspace_memberRemoves a team member from a workspace so they lose access to it. Destructive: confirm with the user first, naming the person. Owners and admins can remove others; admins can't remove owners or admins; the owner can't be removed. Passing your own user_id makes you leave the workspace (owners must transfer ownership first). Get user_id from list_workspace_members.
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": {
"workspace_id": "<workspace_id>",
"user_id": "<user_id>"
},
"name": "remove_workspace_member"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | The member's user_id from list_workspace_members. | |
| workspace_id | Yes | Workspace to manage. Get from list_workspaces. | |
| idempotency_key | No | Optional client-generated key (e.g., a UUID) to make retries safe. Identical calls with the same key within 10 minutes return the original result instead of running the write twice. |