Custom Tool Becomes Unavailable and Shows Removal Alert After Saving and Refreshing in Agent Tool List #9980

Closed
opened 2026-02-21 18:41:18 -05:00 by yindo · 0 comments
Owner

Originally created by @limoer on GitHub (Mar 9, 2025).

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.0.0

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

I've encountered a bug when using custom tools. I added a custom tool, and it was functional when first introduced into the agent's tool list. However, after saving the settings and refreshing the page, an alert stating "工具已被移除" appeared, and the tool became unavailable.
Here are some screenshots to illustrate the issue:

Image
Image
Image

This problem affects the normal use of custom tools in the system, and it would be great if the relevant technical team could look into it and fix it. Thank you.

✔️ Expected Behavior

No response

Actual Behavior

No response

Originally created by @limoer on GitHub (Mar 9, 2025). ### Self Checks - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.0.0 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce I've encountered a bug when using custom tools. I added a custom tool, and it was functional when first introduced into the agent's tool list. However, after saving the settings and refreshing the page, an alert stating "工具已被移除" appeared, and the tool became unavailable. Here are some screenshots to illustrate the issue: ![Image](https://github.com/user-attachments/assets/0985cd4d-d633-4340-b884-1b603281ca24) ![Image](https://github.com/user-attachments/assets/065e3deb-c9c6-440c-a93f-0e8ca76b317f) ![Image](https://github.com/user-attachments/assets/35aefcdb-23b5-49f9-b04c-5b9b2fbadc31) This problem affects the normal use of custom tools in the system, and it would be great if the relevant technical team could look into it and fix it. Thank you. ### ✔️ Expected Behavior _No response_ ### ❌ Actual Behavior _No response_
yindo added the 🐞 bug label 2026-02-21 18:41:18 -05:00
yindo closed this issue 2026-02-21 18:41:18 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#9980