About the agent and tools: The tools-server obtains user information. #10179

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

Originally created by @yuanxiang250 on GitHub (Mar 10, 2025).

Self Checks

  • 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.

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

I have configured custom tools using Dify's agent. However, when invoking the tool, the tool's server is unable to determine who the current user is. How can the server corresponding to the tool obtain the current Dify user or a user identifier?

Image

Image

2. Additional context or comments

No response

3. Can you help us with this feature?

  • I am interested in contributing to this feature.
Originally created by @yuanxiang250 on GitHub (Mar 10, 2025). ### Self Checks - [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. ### 1. Is this request related to a challenge you're experiencing? Tell me about your story. I have configured custom tools using Dify's agent. However, when invoking the tool, the tool's server is unable to determine who the current user is. How can the server corresponding to the tool obtain the current Dify user or a user identifier? ![Image](https://github.com/user-attachments/assets/c5f0bf2f-bf0a-40b2-85e6-d083de00ca17) ![Image](https://github.com/user-attachments/assets/a56d975a-4735-4a7a-ac26-8f7bfa695021) ### 2. Additional context or comments _No response_ ### 3. Can you help us with this feature? - [ ] I am interested in contributing to this feature.
yindo added the 🔨 feat:tools label 2026-02-21 18:43:42 -05:00
yindo closed this issue 2026-02-21 18:43:42 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#10179