Whatsapp Image Send

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.

modbender ead2061 1.0 KB Updated 12 repo stars

File contents

WhatsApp Image Send

Workflow

  1. Download: Save file to /tmp/<filename>

    curl -o /tmp/<filename> <url>
    
  2. Copy to workspace: WhatsApp requires workspace path

    cp /tmp/<filename> ~/.openclaw/workspace/
    
  3. Send to WhatsApp

    message --channel whatsapp --target <phone> --filePath /home/seekey/.openclaw/workspace/<filename> --message "<caption>"
    
  4. Cleanup: Delete temp file

    rm /tmp/<filename>
    

Notes

  • Phone format: +country + number (e.g., +14843124960)
  • Supported: jpg, png, gif, video, audio, document

modbender/skill-library-mcp/tree/main/data/whatsapp-image-send commit ead206175e

Frequently asked questions

npx skillmds add modbender/whatsapp-image-send