dify - 💡(How to fix) Fix [Feature] Persist Agent Tool Call Details in Logs and Debug Dialog [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
langgenius/dify#35164Fetched 2026-04-15 06:45:43
View on GitHub
Comments
1
Participants
2
Timeline
3
Reactions
3
Author
Participants
Timeline (top)
labeled ×2commented ×1
RAW_BUFFERClick to expand / collapse

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report, otherwise it will be closed.
  • Please do not modify this template :) and fill in all the required fields.

1. Is this request related to a challenge you're experiencing? Tell me about your story.

I'm using Dify to build Agent applications with multiple tool calls.

In the current Logs panel, it only shows the Agent's thinking process, but there are no tool call details. In the Debug dialog, tool call information is only visible during the Agent's thinking phase, and it disappears immediately once the thinking is completed.

This makes it impossible to review tool call parameters, responses, and execution status afterward. When troubleshooting failed tool calls or unexpected results in complex Agent workflows, I have to reproduce the issue again just to see the tool call details, which seriously reduces debugging efficiency.

2. Additional context or comments

First off, huge props to your team—Dify is such an amazing tool that’s made building AI agents so much smoother!

It would be a amazing if full tool call records (params, responses, execution status) could persist in both the Logs panel and debug view, so we can revisit them anytime after a run. This small tweak would make troubleshooting complex agent flows way easier.

Thanks so much for all your incredible work and for considering this request!

3. Can you help us with this feature?

  • I am interested in contributing to this feature.

extent analysis

TL;DR

The user needs a way to persist tool call records in the Logs panel and debug view to improve debugging efficiency for complex Agent workflows.

Guidance

  • Consider modifying the Logs panel to store tool call details beyond the Agent's thinking phase.
  • Enhance the Debug dialog to retain tool call information after the thinking phase is completed.
  • Investigate adding a feature to display full tool call records, including parameters, responses, and execution status, in both the Logs panel and debug view.
  • Evaluate the feasibility of allowing users to revisit tool call details anytime after a run.

Example

No code snippet is provided as the issue lacks specific technical details.

Notes

The requested feature would significantly improve debugging efficiency, but its implementation may require significant changes to the existing logging and debugging mechanisms.

Recommendation

Apply workaround: Implement a temporary solution to store tool call records in a separate log or database, allowing users to access them after the thinking phase is completed. This would provide a stopgap measure until a more permanent solution can be integrated into the Dify platform.

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

dify - 💡(How to fix) Fix [Feature] Persist Agent Tool Call Details in Logs and Debug Dialog [1 comments, 2 participants]