AI Agent to read api json responses from External REST tool
Summary:
We have configured an AI agent to call OIC integration (App-Driven) through the External REST tool. When the tool is invoked, the AI agent waits for a response from the integration and then responds back to the user. The tool which calls the OIC integration either returns Person Id and Person Number as part of JSON response or does not return any data as part of response. Based on the response, our requirement is to either return the custom message as "Success" when the Person ID and Person Number are coming as part of JSON response and "Failed" when there