send_message_as_bot
Send a message as a bot to any Feishu chat. Supports text, post, interactive, and other types; inline <at> tags become real @-mentions.
Instructions
[Official API] Send a message as the bot to any chat. Supports text, post, interactive, etc. This is the reliable path for @-mentions: include <at user_id="ou_xxx">Name</at> inline in text content and Feishu resolves it to a real @-notification.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | Yes | Target chat_id (oc_xxx) or open_id | |
| msg_type | Yes | Message type: text, post, image, interactive, etc. | |
| content | Yes | Message content (string or object, auto-serialized). Plain text: {"text":"hello"}. Text with @-mention: {"text":"<at user_id=\"ou_xxx\">Alice</at> hi"} — the inline tag becomes a real @-notification. |