Dynamic Resources Wtih AI Agent

Is there a way to handle using dynamic resources with AI agents? I would like to build an agent that can query a specific user's db resource.

As an example you have user 1 who has a mysql resource and user 2 which has their own mysql resource. If these users initiate chat with my AI agent I want it to be able to query their respective resources.

As far as I can tell I can build custom tools for my agent, but the resource that it uses is locked to whichever resource I select in the tool.

1 Like

I don't know why I was convinced you could select dynamic resources in a workflow in the same way you can do it in an app. Definitely something that would be great to incorporate to allow for dynamic selection of resources!

Thanks for the response @MiguelOrtiz.

I also thought this was supported and was surprised to find that it was not achievable as far as I can tell. Being able to pass in a dynamic resource to my agent / workflow would open up so many use cases.