Get conversation_id in custom tools #5339

Closed
opened 2026-02-21 18:10:29 -05:00 by yindo · 3 comments
Owner

Originally created by @hllshiro on GitHub (Sep 2, 2024).

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.

The tool I'm currently working on needs to bind some data through the conversation_id, such as the user identity, points, etc. I've consulted all the docs and there's no mention of how to get conversation_id in custom tools, I'd like to ask if there is currently such a feature, and if not, is there a plan to implement it?

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 @hllshiro on GitHub (Sep 2, 2024). ### 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. The tool I'm currently working on needs to bind some data through the conversation_id, such as the user identity, points, etc. I've consulted all the docs and there's no mention of how to get conversation_id in custom tools, I'd like to ask if there is currently such a feature, and if not, is there a plan to implement it? ### 2. Additional context or comments _No response_ ### 3. Can you help us with this feature? - [X] I am interested in contributing to this feature.
yindo added the 💪 enhancementstale labels 2026-02-21 18:10:29 -05:00
yindo closed this issue 2026-02-21 18:10:29 -05:00
Author
Owner

@alterxyz commented on GitHub (Sep 9, 2024):

Is that OpenAPI or Workflow as tools or something else?

@alterxyz commented on GitHub (Sep 9, 2024): Is that OpenAPI or Workflow as tools or something else?
Author
Owner

@hllshiro commented on GitHub (Sep 10, 2024):

Something else, a widget developed by yourself, used in as chat bot in wechat. I've circumvented this issue in other ways at the moment. see issue 8054

@hllshiro commented on GitHub (Sep 10, 2024): Something else, a widget developed by yourself, used in as chat bot in wechat. I've circumvented this issue in other ways at the moment. see [issue 8054](https://github.com/langgenius/dify/discussions/8054#discussioncomment-10585330)
Author
Owner

@tyoh-love commented on GitHub (Sep 10, 2024):

I'm having a hard time to get the messages/conversations API working.
the api always gives me below result, even though i had conversation on web app.
{
"limit": 20,
"has_more": false,
"data": []
}

@tyoh-love commented on GitHub (Sep 10, 2024): I'm having a hard time to get the messages/conversations API working. the api always gives me below result, even though i had conversation on web app. { "limit": 20, "has_more": false, "data": [] }
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#5339