AE Agent Errors
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

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

Similarity to your system is not implied. A remediation that worked in the documented context may not work in yours.