openclaw - 💡(How to fix) Fix [Feature Request] Support image/media files between agents via sessions_send [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#61484Fetched 2026-04-08 02:58:06
View on GitHub
Comments
0
Participants
1
Timeline
0
Reactions
0
Participants

Error Message

  • Cron jobs automatically send error screenshots via push notification

Fix Action

Fix / Workaround

Background

Currently sessions_send only supports plain text, making it impossible to send images directly between agents (e.g., main agent <-> reviewer agent). This forces teams to use third-party image hosts as a workaround.

RAW_BUFFERClick to expand / collapse

Feature Request: Support image/media files between agents via sessions_send

Background

Currently sessions_send only supports plain text, making it impossible to send images directly between agents (e.g., main agent <-> reviewer agent). This forces teams to use third-party image hosts as a workaround.

Requested Capabilities

  1. sessions_send should accept local file paths via a --media parameter (similar to openclaw message send)
  2. When pushing images between agents, the system should automatically send via the bot's native API (e.g., QQ C2C Push) rather than degrading to text-only
  3. Support common image types: PNG, JPG, GIF, WebP, etc.
  4. Prefer native platform media sending (QQ/WeChat/Telegram) over HTTP link fallbacks

Example Use Cases

  • Main agent generates a Cacti/Zabbix screenshot and pushes it directly to a reviewer agent for approval
  • Reviewer agent returns the annotated image back to the main agent
  • Cron jobs automatically send error screenshots via push notification

Priority

Medium-High

Additional Context

This would align sessions_send parity with openclaw message send --media, which already supports image upload via chunked upload to platform COS (for QQ). The core bottleneck is in the inter-agent routing layer, not the platform-specific sending layer.

extent analysis

TL;DR

Implementing a --media parameter in sessions_send to support sending image/media files between agents via native platform APIs is the most likely fix.

Guidance

  • Identify the inter-agent routing layer as the core bottleneck and focus on modifying this layer to support media file transfers.
  • Investigate the existing implementation of openclaw message send --media for inspiration on how to handle chunked uploads and native platform API integration.
  • Determine the required changes to sessions_send to accept local file paths and automatically send media files via the bot's native API.
  • Consider prioritizing support for common image types such as PNG, JPG, GIF, and WebP.

Example

No code example is provided due to the lack of specific implementation details in the issue.

Notes

The solution may require significant changes to the inter-agent routing layer and native platform API integration, which could be complex and time-consuming to implement.

Recommendation

Apply a workaround by utilizing third-party image hosting services until the --media parameter is implemented in sessions_send, as this is a medium-high priority feature request.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING