Feedback Title
Custom tools are automatically removed when in use
Although it could still be debugged with prompt words when first added. However, after leaving the interface, regardless of whether it was saved or not, returning to the agent orchestration interface would always display a yellow exclamation mark (tool has been removed). After ruling out the reason of the asynchronous detection interface (after leaving the interface, Dify has a logic to asynchronously detect whether the tool can be used, it will ping the interface’s URL itself, if it cannot connect, it will automatically remove the tool), the yellow exclamation mark still persists.
After ruling out communication issues such as firewalls, a blind spot was finally found in the database logic: the tool ID in the database is api_provider.id, which is a UUID type value, while the provider_id for custom tools when added is a string type. After adding a custom tool, when the Python backend attempts to link the two values, it will always return False (even if the values are the same, they cannot match due to different types). The tool provider is determined to be “not found”, and consequently, the system considers the tool’s provider to no longer exist, marks it as deleted_tools, and displays “Tool has been removed” on the frontend. This issue has not been resolved after this update.
Feedback Type
Please select one:
-
Bug Report (something broken on the forum) -
Feature Suggestion (new feature for the forum) -
Design/UI Improvement -
Content Suggestion (categories, guidelines, etc.) -
Question about the forum -
Appreciation/Compliment -
Other feedback
What’s Your Feedback?
[Describe your feedback, suggestion, or issue with the Discourse community]
Screenshots (if applicable)
[Add screenshots to illustrate your point]
Why Is This Important?
[Explain how this would improve the community experience]
Suggested Solution (optional)
[If you have ideas on how to address this, share them here]
Browser/Device (for bug reports)
- Browser:
- Device: [Desktop/Mobile/Tablet]
- Operating System:
Additional Context
[Any other relevant information]
Thank you for helping us improve the Dify Community! ![]()
