remove_participant
Remove a participant from a Telegram group or channel by specifying chat and user IDs. Requires confirm=true to execute this destructive action.
Instructions
Remove a user from a group or channel (DESTRUCTIVE: requires confirm=true)
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": {
"chat_id": "<chat_id>",
"user_id": "<user_id>"
},
"name": "remove_participant"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | Yes | ||
| confirm | No | Must be true to execute this destructive action. Without it, returns a warning. | |
| user_id | Yes |