Skip to content

[Feature Request] Add file upload support to Control UI (Web) #43242

@liu9205

Description

@liu9205

Description

Currently, the OpenClaw Control UI (web interface at port 18789) does not support file uploads in the chat. Users would like to be able to upload files directly through the web UI.

Use Case

  • Users want to share files (images, documents, etc.) directly in the web chat
  • Currently, users must place files in accessible directories and reference them by path, which is less intuitive
  • File upload is a common feature in chat applications

Proposed Solution

Add a file upload button to the Control UI chat input area that:

  1. Allows selecting files from local system
  2. Uploads files to a temporary location (e.g., /tmp/openclaw/uploads/)
  3. Makes the file available to the agent in the conversation

Alternatives

  • Currently users can use openclaw browser upload for form automation
  • Users can manually place files in accessible directories
  • Use channel-specific media upload (Feishu, WhatsApp, etc.)

Additional Context

  • Control UI is built with Vite + Lit
  • Gateway already handles file operations via RPC
  • Related: Control UI chat uses chat.send, chat.history, chat.inject RPCs

Metadata

Metadata

Assignees

Labels

clawsweeperTracked by ClawSweeper automation

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions