CHAT_STORE External REST Tool Entering Loop in Fusion
Description:
I have created an External REST tool (CHAT_STORE) in Oracle Fusion to store USER chat history with AI Agent(OOTB/Custom Agent(RAG)) in an ATP database.
Issue:
At times, the tool enters a continuous loop and keeps invoking repeatedly, which results in:
- Duplicate chat records in ATP DB
- Same payload being stored multiple times
- Endless tool execution
I have tried modifying the agent prompt and tool description, but the issue still persists.
Expected Behavior:
The tool should be invoked only once per request-response cycle.
Request:
Please help identify the root cause and suggest a way to prevent repeated/recursive tool invocation.
0