remove_channel_member
Deletes a member’s channel membership row to revoke access to a private channel and records an audit entry. Use it when removing a member from a channel; requires channel admin.
Instructions
Delete a member's membership row from a channel, which is what gates access to a private channel, and write a channel_member.remove audit record. It returns {ok: true} even when the member held no row. The member must belong to the channel's workspace, otherwise the call returns not found. To add or re-role a member use add_channel_member, and to see current members use list_channel_members. Requires channel:admin.
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": {
"channel_id": "<channel_id>",
"member_id": "<member_id>"
},
"name": "remove_channel_member"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| member_id | Yes | UUID of the member whose membership row to delete. It must be a member of the same workspace as the channel. | |
| channel_id | Yes | UUID of the channel to remove the member from. It must belong to the caller's workspace. |