撤回一条消息
feishu_recallRecall messages your bot sent within the past 24 hours, and remove files attached to them. Only self-sent messages can be recalled under Feishu rules.
Instructions
撤回机器人自己发出去的消息(飞书只允许撤回 24 小时内的、且只能撤回自己发的)。也用于「删掉群里那个旧文件」——文件是挂在消息上的,删了消息文件就一起没了。不是自己发的消息会失败,这不是权限问题而是飞书规则。
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": {
"message_id": "<message_id>"
},
"name": "feishu_recall"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message_id | Yes | 要撤回的消息 id(om_ 开头)。 |