openclaw - 💡(How to fix) Fix [Bug]: Tool calls rendered as raw text in all UIs (control-ui, telegram, tui) [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#62089Fetched 2026-04-08 03:09:07
View on GitHub
Comments
1
Participants
2
Timeline
3
Reactions
0
Author
Participants
Timeline (top)
labeled ×2commented ×1

OpenClaw 2026.4.5 (also tested 2026.4.2) Model: minimax/MiniMax-M2.7 OS: Linux (CachyOS)

PROBLEM: Tool calls (exec, read, write, web_search, etc.) are displayed as raw text blocks instead of being rendered inline.

Root Cause

OpenClaw 2026.4.5 (also tested 2026.4.2) Model: minimax/MiniMax-M2.7 OS: Linux (CachyOS)

PROBLEM: Tool calls (exec, read, write, web_search, etc.) are displayed as raw text blocks instead of being rendered inline.

RAW_BUFFERClick to expand / collapse

Bug type

Regression (worked before, now fails)

Beta release blocker

No

Summary

OpenClaw 2026.4.5 (also tested 2026.4.2) Model: minimax/MiniMax-M2.7 OS: Linux (CachyOS)

PROBLEM: Tool calls (exec, read, write, web_search, etc.) are displayed as raw text blocks instead of being rendered inline.

Steps to reproduce

STEPS TO REPRODUCE:

  1. Send any message that triggers a tool call
  2. Tool call appears as raw [TOOL_CALL] block in response
  3. Tool executes successfully but UI doesn't render the result properly

Expected behavior

EXPECTED: Tool results should be rendered inline or as formatted output

Actual behavior

ACTUAL: Raw tool call syntax visible in response

UI CHANNELS TESTED:

  • control-ui (web)
  • telegram
  • tui (all show same behavior)

OpenClaw version

  • 2026.4.5 (clean install) - 2026.4.2 (downgrade attempt)

Operating system

cachyos

Install method

npm global

Model

minimax/MiniMax-M2.7

Provider / routing chain

minimax

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

No response

extent analysis

TL;DR

The issue can likely be resolved by updating the rendering logic to handle tool calls correctly, possibly by modifying the UI rendering code to parse and display tool call results inline.

Guidance

  • Verify that the tool call results are being returned correctly by checking the API responses or logs to ensure the data is being sent back as expected.
  • Check the UI rendering code for any recent changes that may have introduced this issue, focusing on how tool calls are handled and displayed.
  • Test the rendering of tool calls in different UI channels (e.g., control-ui, telegram, tui) to see if the issue is consistent across all platforms.
  • Review the documentation for the minimax/MiniMax-M2.7 model and OpenClaw 2026.4.5 to ensure that the tool call syntax and rendering expectations are correctly implemented.

Example

No specific code example can be provided without more details on the rendering logic, but the fix might involve modifying a template or a function responsible for displaying tool call results, ensuring it correctly interprets and formats the output.

Notes

The solution may depend on the specific implementation details of the UI rendering code and how it interacts with the OpenClaw and minimax/MiniMax-M2.7 model. Without access to the codebase or more detailed logs, it's challenging to provide a precise fix.

Recommendation

Apply a workaround by temporarily modifying the UI rendering code to correctly handle and display tool call results until a more permanent solution can be implemented, as the root cause seems related to how tool calls are rendered rather than a version-specific issue that would necessitate an upgrade.

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…

FAQ

Expected behavior

EXPECTED: Tool results should be rendered inline or as formatted output

Still need to ship something?

×6

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

Back to top recommendations

TRENDING