飞书即时通讯工具。Activate when user wants to send messages, read chat history, search messages, or download IM resources.
Aligned with @larksuite/openclaw-lark official plugin.
{ "action": "send", "receive_id": "ou_xxx", "receive_id_type": "open_id", "msg_type": "text", "content": "{\"text\": \"Hello!\"}" }
{ "action": "reply", "message_id": "om_xxx", "msg_type": "text", "content": "{\"text\": \"Reply here\"}" }
Actions:
send — Send a message to a user or chat (supports text, post, image, interactive, etc.)reply — Reply to a specific message{ "container_id": "oc_xxx", "container_id_type": "chat", "start_time": "1680000000", "end_time": "1680086400", "page_size": 20 }
Get historical messages from a chat or conversation.
{ "thread_id": "omt_xxx", "page_size": 20 }
Get messages within a thread (topic/reply chain).
{ "query": "project update", "from_ids": ["ou_xxx"], "chat_ids": ["oc_xxx"], "start_time": "1680000000", "end_time": "1680086400" }
Search messages across conversations with keyword, sender, chat, and time filters.
{ "message_id": "om_xxx", "file_key": "file_xxx", "type": "file", "output_path": "/path/to/save" }
Download a file or image resource from an IM message.
{ "image_key": "img_xxx", "output_path": "/path/to/save.png" }
Download image or file resource as bot identity.
Required: im:message, im:message:readonly, im:resource