Feishu IM Read Skill
Quick Index
| User Intent |
module |
tool_action |
Required Parameters |
| Send Message |
message |
send_message |
chat_id/user_id, content |
| Read Message History |
message |
history |
chat_id |
| Upload File |
message |
upload_file |
source, file_type |
Call Example
Send Message
python3 skills/feishu-cli/run.py '{
"action": "tool",
"module": "message",
"tool_action": "send_message",
"chat_id": "oc_xxx",
"content": "Hello! 这是一条测试消息"
}'
Read Message History
python3 skills/feishu-cli/run.py '{
"action": "tool",
"module": "message",
"tool_action": "history",
"chat_id": "oc_xxx",
"start_time": "2026-03-01",
"end_time": "2026-03-10",
"page_size": 20
}'
Core Constraints
- chat_id: Group chat ID (
oc_ prefix);Required— can be passed directly via parameter, or automatically injected via environment variable LARK_CHAT_ID (injected by default in Lark channel)
- user_id: User open_id (
ou_ prefix), used for direct messages
- Message Type: Supports text, post (rich text), image, file, etc.
- Pagination: Use
page_token and page_size for pagination
- Time Filter:
start_time and end_time support date strings