Block / unblock in a group
group_blockBlocks a user from a group so they leave and cannot rejoin or be added, or removes an existing block to restore access.
Instructions
Owner and editors: blocks a user from a group (they leave it and cannot join or add) or lifts the block.
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": {
"group_id": "<group_id>",
"user_id": "<user_id>",
"block": "<block>"
},
"name": "group_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| block | Yes | ||
| user_id | Yes | ||
| group_id | Yes |