openclaw - ✅(Solved) Fix Control Dashboard: tool call details do not show request parameters [2 pull requests, 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#49424Fetched 2026-04-08 00:55:24
View on GitHub
Comments
1
Participants
2
Timeline
3
Reactions
0
Author
Timeline (top)
cross-referenced ×2commented ×1

In the OpenClaw Control Dashboard, when viewing a tool call (e.g., sessions_spawn), clicking on the completed tool call entry only shows the tool name and completion status, but does not display the actual request parameters that were sent to the tool.

Root Cause

In the OpenClaw Control Dashboard, when viewing a tool call (e.g., sessions_spawn), clicking on the completed tool call entry only shows the tool name and completion status, but does not display the actual request parameters that were sent to the tool.

Fix Action

Fixed

PR fix notes

PR #49437: fix(control-ui): show tool call arguments in sidebar

Description (problem / solution / changelog)

Fixes #49424.

Shows tool call request arguments in the Control Dashboard sidebar, alongside the tool label, command summary, and output when available.

Adds helper coverage for sidebar payload formatting and a browser regression test covering tool-call argument rendering

Changed files

  • ui/src/ui/chat-markdown.browser.test.ts (modified, +37/-2)
  • ui/src/ui/chat/tool-cards.ts (modified, +10/-14)
  • ui/src/ui/chat/tool-helpers.test.ts (modified, +56/-1)
  • ui/src/ui/chat/tool-helpers.ts (modified, +40/-0)

PR #49450: ui: show tool call request arguments in sidebar

Description (problem / solution / changelog)

Summary

  • show pretty-printed tool call request arguments in the Control UI sidebar for completed tool calls without output
  • add focused UI tests covering tool-call argument extraction and sidebar rendering

Validation

  • node C:/Users/Administrator/.openclaw/workspace/openclaw/node_modules/vitest/vitest.mjs run --config vitest.config.ts src/ui/chat/tool-cards.test.ts src/ui/chat-model-ref.test.ts

Fixes #49424

Changed files

  • ui/src/ui/chat/tool-cards.test.ts (added, +41/-0)
  • ui/src/ui/chat/tool-cards.ts (modified, +31/-8)
RAW_BUFFERClick to expand / collapse

Description

In the OpenClaw Control Dashboard, when viewing a tool call (e.g., sessions_spawn), clicking on the completed tool call entry only shows the tool name and completion status, but does not display the actual request parameters that were sent to the tool.

Expected Behavior

When clicking on a tool call in the dashboard, the request parameters (arguments) should be visible, allowing users to inspect what was actually sent to the tool.

Current Behavior

The tool call entry shows:

  • Tool name (e.g., sessions_spawn)
  • Completion status (✓ Completed)

But the request parameters/arguments are not displayed anywhere in the expanded view.

Steps to Reproduce

  1. Open the OpenClaw Control Dashboard
  2. Navigate to a session with tool calls
  3. Click on a tool call entry (e.g., sessions_spawn)
  4. Observe that no request parameters are shown

Environment

  • OpenClaw version: 2026.3.13 (custom build based on v2026.3.13-1)
  • Dashboard accessed via web browser

extent analysis

Fix Plan

To display the request parameters, we need to modify the dashboard code to include the parameters in the tool call entry view.

Code Changes

We will update the toolCallEntry.html template to include the request parameters:

<!-- toolCallEntry.html -->
<div>
  <h4>Tool Name: {{ toolCall.toolName }}</h4>
  <p>Completion Status: {{ toolCall.completionStatus }}</p>
  <h5>Request Parameters:</h5>
  <ul>
    <li *ngFor="let param of toolCall.requestParameters">{{ param.key }}: {{ param.value }}</li>
  </ul>
</div>

We also need to update the toolCallEntry.ts component to fetch the request parameters:

// toolCallEntry.ts
import { Component, Input } from '@angular/core';
import { ToolCall } from '../models/tool-call';

@Component({
  selector: 'app-tool-call-entry',
  templateUrl: './toolCallEntry.html'
})
export class ToolCallEntryComponent {
  @Input() toolCall: ToolCall;

  ngOnInit(): void {
    this.fetchRequestParameters();
  }

  fetchRequestParameters(): void {
    // Assuming a REST API to fetch request parameters
    this.http.get(`api/tool-calls/${this.toolCall.id}/request-parameters`)
      .subscribe(response => {
        this.toolCall.requestParameters = response;
      });
  }
}

Verification

To verify the fix, follow these steps:

  • Open the OpenClaw Control Dashboard
  • Navigate to a session with tool calls
  • Click on a tool call entry (e.g., sessions_spawn)
  • The request parameters should now be visible in the expanded view

Extra Tips

Make sure to update the backend API to include the request parameters in the response. Additionally, consider implementing pagination or filtering for large lists of request parameters.

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