update_message
Edit a sent message by updating its content. Only text and interactive card messages are editable.
Instructions
[Official API] Edit a sent message (bot can only edit its own messages). Feishu supports edit only for text and interactive (card) messages — other types (post, image, file, etc.) are rejected by the API.
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>",
"msg_type": "<msg_type>",
"content": "<content>"
},
"name": "update_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message_id | Yes | Message ID (om_xxx) | |
| msg_type | Yes | Message type: text or interactive. Other types are not editable per Feishu API. | |
| content | Yes | New content. For text: {"text":"updated text"}. For interactive: full card JSON. |