Install
openclaw skills install feishu-send-image飞书消息发送工具。支持发送图片和文件。 **依赖**:读取 ~/.openclaw/openclaw.json 中的飞书应用凭据 (appId, appSecret) **当以下情况时使用此 Skill**: (1) 需要发送图片给飞书用户或群聊 (2) 需要发送文件给飞书用户或群聊 (3) 用户说"发图片"、"发文件"
openclaw skills install feishu-send-image本 skill 需要读取飞书应用凭据来进行 API 认证:
~/.openclaw/openclaw.jsonappId, appSecret# 发送图片
feishu_send_message --msg-type image --file-path /path/to/image.jpg --receive-id ou_xxx --receive-id-type open_id
# 发送文件
feishu_send_message --msg-type file --file-path /path/to/file.pdf --receive-id ou_xxx --receive-id-type open_id
| 参数 | 说明 | 必填 | 适用类型 |
|---|---|---|---|
| --msg-type | 消息类型:image 或 file | 是 | 全部 |
| --file-path | 文件路径(图片或文件) | 是 | 全部 |
| --receive-id | 接收者 ID(用户 open_id 或群 chat_id) | 是 | 全部 |
| --receive-id-type | 接收者类型:open_id(用户)或 chat_id(群聊) | 否,默认 open_id | 全部 |
feishu_send_message \
--msg-type image \
--file-path /tmp/photo.jpg \
--receive-id ou_xxxxxxxxxxxxxxxxxx \
--receive-id-type open_id
feishu_send_message \
--msg-type file \
--file-path /tmp/document.pdf \
--receive-id oc_xxx \
--receive-id-type chat_id
| 类型 | 说明 | 限制 |
|---|---|---|
| image | 图片消息 | 大小不超过 10MB,分辨率不超过 12000×12000 |
| file | 文件消息 | 大小不超过 100MB |