'While using a dialogflow mega-agent, according to a user setting I want to be able to query a specific sub agent at a time

While using a dialogflow mega-agent, according to a user setting I want to be able to query a specific sub agent at a time. I have 3 sub agents. Each subagent has similar training phrases but should request different data. The user should be able to select which sub agent they want to use and the query should only go to the selected subagent



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source