agent-strategies: Failed to invoke the workflow tool, error reported: tool invoke error: 'str' object has no attribute 'type' #381

Closed
opened 2026-02-16 10:19:13 -05:00 by yindo · 1 comment
Owner

Originally created by @304883563 on GitHub (Jun 17, 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 Dify issues & Dify Official Plugins, 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

Dify 1.3.0

Plugin version

agent-strategies 0.0.16

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

Create any workflow and publish it as a tool.
Then, create a chatflow containing the official agent-strategies to call this tool.
The agent-strategies will fail to call the tool.
If the agent agent-strategies version is rolled back to 0.0.15, the call will work normally.

✔️ Error log

{
"output": {
"llm_response": "",
"tool_responses": [
{
"tool_call_id": "call_0_c68838cf-a464-4bfb-83c3-083302b2cfbc",
"tool_call_input": {},
"tool_call_name": "getCurrentTime",
"tool_response": "tool invoke error: 'str' object has no attribute 'type'"
}
]
}
}

Originally created by @304883563 on GitHub (Jun 17, 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 [Dify issues](https://github.com/langgenius/dify/issues) & [Dify Official Plugins](https://github.com/langgenius/dify-official-plugins/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 Dify 1.3.0 ### Plugin version agent-strategies 0.0.16 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce Create any workflow and publish it as a tool. Then, create a chatflow containing the official agent-strategies to call this tool. The agent-strategies will fail to call the tool. If the agent agent-strategies version is rolled back to 0.0.15, the call will work normally. ### ✔️ Error log { "output": { "llm_response": "", "tool_responses": [ { "tool_call_id": "call_0_c68838cf-a464-4bfb-83c3-083302b2cfbc", "tool_call_input": {}, "tool_call_name": "getCurrentTime", "tool_response": "tool invoke error: 'str' object has no attribute 'type'" } ] } }
yindo added the bug label 2026-02-16 10:19:13 -05:00
yindo closed this issue 2026-02-16 10:19:13 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Aug 18, 2025):

Hi, @304883563. I'm Dosu (https://dosu.dev), and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale.

Issue Summary:

  • You reported a regression in Dify 1.3.0 with agent-strategies plugin version 0.0.16 causing a "'str' object has no attribute 'type'" error.
  • Downgrading to version 0.0.15 of the plugin resolves the issue.
  • This suggests a bug introduced in the latest plugin release.
  • No further comments or updates have been provided since the initial report.

Next Steps:

  • Please let me know if this issue is still relevant with the latest version of the dify-official-plugins repository by commenting here.
  • If I don’t hear back from you within 5 days, I will automatically close this issue.

Thank you for your understanding and contribution!

@dosubot[bot] commented on GitHub (Aug 18, 2025): Hi, @304883563. I'm Dosu (https://dosu.dev), and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale. **Issue Summary:** - You reported a regression in Dify 1.3.0 with agent-strategies plugin version 0.0.16 causing a "'str' object has no attribute 'type'" error. - Downgrading to version 0.0.15 of the plugin resolves the issue. - This suggests a bug introduced in the latest plugin release. - No further comments or updates have been provided since the initial report. **Next Steps:** - Please let me know if this issue is still relevant with the latest version of the dify-official-plugins repository by commenting here. - If I don’t hear back from you within 5 days, I will automatically close this issue. Thank you for your understanding and contribution!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#381