im_send_message
Send Feishu (Lark) messages to any user or chat. Supports text, rich text, interactive cards, and more with configurable receiver ID and message type.
Instructions
发送飞书消息(支持文本、富文本、卡片等)
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": {
"receive_id": "<receive_id>",
"receive_id_type": "<receive_id_type>",
"msg_type": "<msg_type>",
"content": "<content>"
},
"name": "im_send_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | 消息内容 JSON 字符串,如 {"text":"hello"} | |
| msg_type | Yes | 消息类型 | |
| receive_id | Yes | 接收者 ID(open_id/user_id/chat_id/email) | |
| receive_id_type | Yes | 接收者 ID 类型 |