Rovo agent in forge app can’t access page content - Any solutions?

Hi everyone,

I’m currently developing a Rovo agent in my Forge app, and I need some help with its functionality. The goal is for the Rovo agent to read the content of the currently viewed Confluence page, but I’m running into issues.

The agent keeps responding that it’s unable to read the content of the page.

So, my question is: Is it even possible for the Rovo agent in a Forge app to access and read content from the current Confluence page?

Thanks in advance for your help.

Best,
Sven

1 Like

Hi Sven,

You could load the page content with another action, before doing your other stuff.

Make sure it’s connected to your agent and prompt. This only works if you open the chat / AI toolbar while being on a page. See https://developer.atlassian.com/platform/forge/manifest-reference/modules/rovo-action/#confluence-page-example

If no page context exists, you may ask the user for a page id and then load the page content via REST API.

Cheers,
paul

1 Like

Hi @SvenHe ,

You may wish to take a look at the Build a Q&A Agent for Confluence tutorial and its related example app code. The app has a fetchContent action which fetches Rovo calls to fetch the content of the current page or blog post such that it can use the content in the context of its AI tasks.

Regards,
Dugald

2 Likes

Perfect. Thank you all for your help!

2 Likes