Hello,
I am building Agent using the Vertex Agent Builder. I would like to invoke REST API from it. How to do it?
Hi @Magulan,
Welcome to the Google Cloud Community!
Integrating REST APIs into agents built with Vertex AI Agent Builder helps expand their features and connect them with external systems, enabling smarter and more dynamic solutions.
Here’s general steps to invoke a REST API from an agent using Vertex AI Agent Builder:
Was this helpful? If so, please accept this answer as “Solution”. If you need additional assistance, reply here within 2 business days and I’ll be happy to help.
@MJaneI went through them. It is confusing. I need help in the following
1. How to invoke Vertex Agent Builder via API from Postman? It works with the Chat Code Snippet. I would like to test it via REST API.
2. How to invoke 3rd party application APIs(For example, Salesforce REST API) from Vertex Agent Builder?
I was able to do it using Salesforce successfully.
https://www.infallibletechie.com/2025/03/invoke-google-vertex-ai-agent-from-salesforce-apex.html