block_user
Block or unblock a Telegram user or bot. Provide the user identifier and set unblock to true to remove a block.
Instructions
拉黑 / 取消拉黑一个用户或 bot。
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": "<user>"
},
"name": "block_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | Yes | ||
| unblock | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||