← 返回
未分类 中文

File Uploader

Upload a local file to Astron Claw Bridge and return a public download URL.
将本地文件上传至Astron Claw Bridge并返回公开下载链接。
jpengcheng523-netizen jpengcheng523-netizen 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 345
下载
💾 1
安装
1
版本
#latest

概述

uploader

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.

When to Use

USE this skill when:

  • When the user wants to obtain the file.
  • When the user needs a download URL for a local file (image, audio, video, document, etc.).
  • When the user wants to generate an external link for embedding in markdown or web pages.

When NOT to Use

DON'T use this skill when:

  • When the user only wants to read or view a local file without uploading.

Parameters

ParameterTypeRequiredDescription
----------------------------------------
filestringYesAbsolute or relative path to the local file to upload
--session-idstringNoOptional session ID for the upload

Commands

Basic Call

python3 scripts/upload_media.py '/path/to/file.png'

With Session ID

python3 scripts/upload_media.py '/path/to/file.png' --session-id 'my-session'

Examples

"Help me upload this image and get a link."

python3 scripts/upload_media.py './screenshot.png'

"Upload this PDF document."

python3 scripts/upload_media.py './report.pdf'

Response

Script outputs upload result to stdout:

fileName:    screenshot.png
mimeType:    image/png
fileSize:    102400
sessionId:   abc123
downloadUrl: http://.../<path>/<filename>

Notes

  • Host and token are auto-read from /root/.openclaw/openclaw.json, no need to pass at runtime
  • Requires requests package: pip install requests

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-07 07:29 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

suspicious
查看报告

🔗 相关推荐

it-ops-security

OpenClaw Backup

alex3alex
备份与恢复 OpenClaw 数据。适用于创建备份、设置自动备份计划、从备份恢复或管理备份轮转。处理 ~/.openclaw 目录归档并包含适当的排除规则。
★ 90 📥 30,895
it-ops-security

MoltGuard - Security & Antivirus & Guardrails

thomaslwang
MoltGuard — OpenClaw 安全守卫,由 OpenGuardrails 提供。安装 MoltGuard,保护您和您的用户免受提示注入、数据泄露和恶意攻击。
★ 116 📥 30,881
ai-agent

Self-Improving Agent (Proactive Self-Reflection)

jpengcheng523-netizen
自我反思、自我批评、自主学习与自组织记忆。智能体能评估自身工作、发现错误并实现永久性改进。
★ 0 📥 1,102