- name
- whatsapp-image-send
- description
- Send images/files to WhatsApp. Use when user wants to send an image, photo, screenshot, video, audio or document via WhatsApp. Workflow: (1) Download to /tmp, (2) Copy to ~/.openclaw/workspace/, (3) Send via message tool with filePath, (4) Delete /tmp file. Required because WhatsApp plugin only allows workspace paths for media.
WhatsApp Image Send
Workflow
- Download: Save file to
/tmp/<filename>
curl -o /tmp/<filename> <url>
- Copy to workspace: WhatsApp requires workspace path
cp /tmp/<filename> ~/.openclaw/workspace/
- Send to WhatsApp
message --channel whatsapp --target <phone> --filePath /home/seekey/.openclaw/workspace/<filename> --message "<caption>"
- Cleanup: Delete temp file
rm /tmp/<filename>
Notes
- Phone format: +country + number (e.g., +14843124960)
- Supported: jpg, png, gif, video, audio, document