openclaw - 💡(How to fix) Fix WhatsApp group chat: agent responses not routing to message tool despite visibleReplies config [1 comments, 2 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#80291Fetched 2026-05-11 03:16:43
View on GitHub
Comments
1
Participants
2
Timeline
2
Reactions
2
Timeline (top)
closed ×1commented ×1

WhatsApp group chat agent responses are not being sent back to the group, despite the visibleReplies: "message_tool" configuration being set.

Root Cause

WhatsApp group chat agent responses are not being sent back to the group, despite the visibleReplies: "message_tool" configuration being set.

Code Example

{
     "channels": {
       "whatsapp": {
         "groupPolicy": "open",
         "groups": { "*": { "requireMention": false } }
       }
     },
     "agents": {
       "list": [{
         "id": "main",
         "groupChat": {
           "historyLimit": 50,
           "mentionPatterns": [".*"],
           "visibleReplies": "message_tool"
         }
       }]
     }
   }
RAW_BUFFERClick to expand / collapse

Bug Report

Description

WhatsApp group chat agent responses are not being sent back to the group, despite the visibleReplies: "message_tool" configuration being set.

Steps to Reproduce

  1. Enable WhatsApp group chat with config:

    {
      "channels": {
        "whatsapp": {
          "groupPolicy": "open",
          "groups": { "*": { "requireMention": false } }
        }
      },
      "agents": {
        "list": [{
          "id": "main",
          "groupChat": {
            "historyLimit": 50,
            "mentionPatterns": [".*"],
            "visibleReplies": "message_tool"
          }
        }]
      }
    }
  2. Send a message to a WhatsApp group (e.g., mention the bot)

  3. Observe the typing indicator appears

  4. Agent runs (visible in logs: model_call:started)

  5. No response is sent to the group

Expected Behavior

With visibleReplies: "message_tool" configured, the agent should automatically call the message tool to send responses back to the group.

Actual Behavior

Agent completes but no response is delivered. Manual message tool calls from outside the agent session work fine.

Evidence

  • Group messages are received: Inbound message [email protected] -> +351912237155 (group, ...)
  • Agent runs: Liveness warning shows agent:main:whatsapp:group:[email protected](processing/model_call)
  • But no corresponding outbound or auto-reply sent log entry for agent responses
  • Manual message tool calls succeed: Sent message ... -> [email protected]

Environment

  • OpenClaw version: 2026.5.7
  • Channel: WhatsApp
  • OS: macOS 15.6

Related

  • Config setting exists: messages.groupChat.visibleReplies: "message_tool"
  • Direct message responses work fine (auto-reply mechanism works)
  • Group message receiving works fine (inbound routing works)
  • Manual message tool calls work fine

The issue appears to be in the agent-to-group response routing layer, where responses from group sessions aren't being converted to message tool calls even when the config is set to do so.

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

openclaw - 💡(How to fix) Fix WhatsApp group chat: agent responses not routing to message tool despite visibleReplies config [1 comments, 2 participants]