Skip to content

[Bug]: Slack Socket Mode: channel_id not passed to tool context (reactions.add / file upload fail) #38457

@Fumiaki0604

Description

@Fumiaki0604

Bug type

Regression (worked before, now fails)

Summary

When using Slack in Socket Mode, tool calls that require a channel parameter
(e.g. reactions.add, file upload) fail because the channel ID is not forwarded
to the agent's tool context.

  • OpenClaw: v2026.3.3
  • Channel: Slack Socket Mode
  • OS: macOS

Steps to reproduce

  1. Configure OpenClaw with Slack Socket Mode ("mode": "socket")
  2. Ask the agent to add a reaction to a message, or send an image file
  3. Agent attempts the tool call but reports channel:<id> is unavailable

Expected behavior

The channel ID and message timestamp from the Slack event payload should be
available in the tool context, allowing reactions.add and file upload to work.

Actual behavior

Tool call fails. Agent confirms: "channel ID is not being passed through."
Channel: Slack Socket Mode

OpenClaw version

v2026.3.3

Operating system

macOS 26.3.1

Install method

Docker Compose (self-hosted)

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingregressionBehavior that previously worked and now failsstaleMarked as stale due to inactivity

    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