block_user
Block a user in Telegram by ID. Set confirm=true to execute; otherwise returns a warning. Stops unwanted messages.
Instructions
Block a user (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": {
"user_id": "<user_id>"
},
"name": "block_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Must be true to execute this destructive action. Without it, returns a warning. | |
| user_id | Yes |