Remove a member
remove_memberRemove someone from this workspace; they lose access right away. Only an owner can remove an owner, and the workspace always keeps an owner or admin. The user id comes from list_members. Admins only. Ask the user to confirm before calling this tool.
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": {
"user_id": "<user_id>"
},
"name": "remove_member"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | User id from list_members | |
| workspace_id | No | Leave empty to act in the connected organization, which is the usual case. Set it only when the user names another store or location: its id from list_workspaces or create_workspace. |