Skip to content

[Bug]: Chat tool card sidebar does not show full command for long exec commands #43153

@zhouhe-xydt

Description

@zhouhe-xydt

Bug type

Regression (worked before, now fails)

Summary

When clicking a tool card in the Chat UI, the sidebar only displays the (truncated) output text but omits the full command, making it impossible to view long exec commands that are already truncated with … on the card itself.

Steps to reproduce

1.Open the Chat UI (Control UI / Dashboard)
2.Trigger an agent that runs a long exec command, e.g. python3 ~/.openclaw/workspace/skills/node-cluster-3.connector/scripts/main.py invoke wangjx-node-host system.run --raw-co...
4.Observe the tool card shows the command truncated with … in the detail line
5.Click the tool card to open the sidebar

Expected behavior

Clicking the tool card should open the sidebar showing the full, untruncated command along with the complete tool output, so the user can read the entire command that was executed.

Actual behavior

The sidebar only shows the tool output text (or "No output — tool completed successfully."). The full command is never displayed — it remains truncated at ~120 characters with … both on the card and in the sidebar. There is no way to view the complete command string.

OpenClaw version

2026.3.9

Operating system

ubuntu 24.04

Install method

No response

Model

minimax

Provider / routing chain

N/A

Config file / key location

No response

Additional provider/model setup details

No response

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 fails

    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