recall_message
Recalls a message in a group chat, allowing only the original sender to withdraw it using the group ID, sender token, and message ID.
Instructions
撤回消息。
只有消息发送者本人可以撤回。
Args: group_id: 群组 ID。 token: 发送者身份令牌。 message_id: 要撤回的消息 ID。
Raises: GroupNotFoundError: 群组不存在。 AuthenticationError: 身份验证失败。 MessageNotFoundError: 消息不存在或已被撤回。 PermissionDeniedError: 不是本人发出的消息。
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>",
"token": "<token>",
"message_id": "<message_id>"
},
"name": "recall_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | ||
| group_id | Yes | ||
| message_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |