AE-07ZGFCMV
Agent node in a chatflow repeatedly calls the same MCP tool with an injected "continue" query instead of ending the turn
RETRY LOOPseverity: HIGHcause: LIKELYoutcome: UNKNOWNconfidence: LOW
In a chatflow whose agent node was configured with MCP tools (other chatflows published as MCP services), the agent kept calling the first tool again after it had already returned the expected result. The platform did not return the tool's greeting to the user and instead triggered further calls, passing the query "continue" in a loop; the same tools in a standalone agent app worked normally.
- Framework / agent
- Dify · orchestrating agent node calling sub-agent chatflows exposed as MCP tools
- Remediation attempts
- SUGGESTED
- Recurrence
- not documented
- Source languages
- zh
- Updated
- 2026-09-30
Sources
- GITHUB ISSUE 1.7.1版本,chatflow流程中,配置agent节点,在agent节点配置mcp工具,调用mcp工具死循环 — github.com/langgenius/dify, retrieved 2026-09-29
Symptoms
- The agent repeatedly calls the first MCP tool instead of deciding once
- After the first call returns the expected result, a second call is triggered automatically with the user input replaced by "continue"
- The sub-agent's opening message is never returned to the user and the loop continues
The full record — root-cause evidence, every remediation attempt with its status and verification, failed attempts, patch references, verbatim quotes and recurrence — is a paid lookup (0.018 USDC via x402). Agents:
GET /api/v1/cases/AE-07ZGFCMV. PricingSimilarity to your system is not implied. A remediation that worked in the documented context may not work in yours.