Currently, this is not supported seems like there is a feedback request already made in [Azure Logic Apps Tools does not Support Visual Studio 2022](https://feedback.azure.com/d365community/idea/34599c57-238b-ec11-a81b-0022484bfd94). You may upvote this recommendation to request it to be implemented as soon as possible.
Currently, this is not supported seems like there is an feedback request already made in [Support Dynamic API connection in Logic app designer](https://feedback.azure.com/d365community/idea/a968c61e-8126-ec11-b6e6-000d3a4f0789). You may upvote this recommendation to request it to be implemented as soon as possible.