Upload a local file to Astron Claw Bridge Server and return a publicly accessible download URL. Supports images, audio, video, documents and other file types.
✅ USE this skill when:
❌ DON'T use this skill when:
ParameterTypeRequiredDescriptionfilestringYesAbsolute or relative path to the local file to upload--session-idstringNoOptional session ID for the upload
bash
python3 scripts/upload_media.py '/path/to/file.png'
bash
python3 scripts/upload_media.py '/path/to/file.png' --session-id 'my-session'
"Help me upload this image and get a link."
bash
python3 scripts/upload_media.py './screenshot.png'
"Upload this PDF document."
bash
python3 scripts/upload_media.py './report.pdf'
Script outputs upload result to stdout:
text
fileName: screenshot.png
mimeType: image/png
fileSize: 102400
sessionId: abc123
downloadUrl: http://.../<path>/<filename>
/root/.openclaw/openclaw.json, no need to pass at runtimerequests package: pip install requests