In such cases, a loop structure can be used to repeatedly execute specific modules, enabling gradual information refinement and continuous optimization of results.
Usage Example
loop: Declares a loop block, indicating that the enclosed steps will be executed multiple times.times: Specifies the maximum number of iterations.steps: Defines the sequence of tool invocations within each iteration.
If you wish to dynamically control loop termination conditions, you can combine the Branch Structure (branch) with the Router Server. See Branch Structure for details.