Hi all, Im trying out with Forge Rovo and trying to get it call external API when prompted. However, I tried multiple ways to get it to call external API, it is still not working at all.
Example
my attempts with Google Logging API
Attempt to write logs to GCP via google logging client library - Nodejs.
in GCP cloud shell → Success
in my local env → Success
in Rovo agent → Failed
Appreciate if anyone could share more on this. Thanks!
Sharing your code here would definitely help. Have you reviewed Forge Remote for details on how to generally make external API calls from a Forge app?
@Yong Zhu Lai Rovo Agents can’t call external APIs directly. When you’re building with Forge, the agent runs inside a restricted runtime—only Forge Remote or Forge’s built-in fetch with declared permissions can make outbound requests. Local code works because it has open network access; Rovo doesn’t. To call GCP or any external API, you must configure Forge Remote, add the domain to remotes, and use forge.api.fetch.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Yong Zhu Lai - did you ever get this figured out? If not, I ran a workshop on connecting Forge to a remote API last week that might help provide a framework for you: Let's Build A Rovo Agent - Your First Forge Agent. If you check out the Resources tab in that recording you'll find the example code I used for that agent.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.