原地更新已发出的卡片
feishu_update_cardReplace an existing Feishu card message in place to update progress or show results without sending a new chat bubble; use the original message_id from a card sent with update_multi enabled.
Instructions
把已发出的卡片整张替换成新内容,聊天里不新增消息气泡 —— 这是"不刷屏"的关键手段。典型用法:先发一张进度卡,之后反复 update 同一个 message_id 推进进度 / 换成结果卡。限制:只有发出时带 config.update_multi = true 的卡片才能更新,否则飞书会报错;也不能更新别人发的消息,只能用自己发出的 message_id。不适合:想让用户看到历史过程的每一步(每次都会覆盖,只留最新一版);需要保留每步记录就用 feishu_send_text 逐条追加。
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>",
"card": "<card>"
},
"name": "feishu_update_card"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| card | Yes | 新的完整卡片 JSON(整张替换,不是补丁)。结构同 feishu_send_card;建议保留 config.update_multi = true 以便继续更新。 | |
| message_id | Yes | 要更新的卡片消息 id(om_ 开头),来自 feishu_send_card 的返回值,必须是本应用发的卡片消息。 |