
Description
The Resolve Tool Action Node sends an answer as the response to a tool call to the AI Agent after completing a tool. When the AI Agent calls a tool to perform an action, the tool is executed. Once the action is completed, the Resolve Tool Action Node sends a response back to the AI Agent, indicating the result of that action. This approach helps the AI Agent process and make decisions based on the results of the toolsโ actions.Restrictions
- When using an Execute Flow Node with a Resolve Tool Action Node, consider the following: The Resolve Tool Action Node returns the interaction to the toolโs AI Agent or LLM Prompt Node. That Node doesnโt preserve the execution order determined by the Execute Flow Node. If the Resolve Tool Action Node is executed in a Flow after an Execute Flow Node, use a Go To Node after the Default child Node of that AI Agent or LLM Prompt Node to switch back to the original Flow.
Parameters
| Parameter | Type | Description |
|---|---|---|
| Answer Text | CognigyScript | Specify the text that is sent to the AI Agent in response to the tool call to inform about the success, failure, or other details of the tool. |
Debug Settings
| Parameter | Type | Description |
|---|---|---|
| Debug Message | Toggle | Enable sending a debug message that displays the tool name and the answer text. |
Advanced
| Parameter | Type | Description |
|---|---|---|
| Maximum Loops | Slider | The maximum number of times an AI Agent can loop back to continue processing after completing a tool action. The parameter allows the AI Agent to perform multi-step reasoning or use multiple tools in sequence while preventing infinite loops that could waste resources or slow down responses. Each Resolve Tool Action Node tracks its own loop count. When the maximum is reached, the AI Agent stops and displays an Infinite Loop Detected error. The default value is 4, and the maximum value is 50. Adjust the value based on the use case complexity:
|