We want to achieve below flow :
User will come to https://gemini.google.com/app .
- User will ask user query
- Gemini will decide if Backend Tool API / MCP Tool has to be invoked or will be served without Backend-API/ MCP tool
- If Backend-API/ MCP tool is necessary then Backend-API/ MCP tool will be invoked and it will give response back and rended by Gemini.
- In case of generic queries ( not served by Backend-API/ MCP tool ) , Gemini will provide response.
Note: We don’t want to implement our own chat interface. User Interaction and response rendering needs to be done in https://gemini.google.com/app or Gemini Gems only.
Basically we want our own flavored Gemini which interacts with our backend services / MCP tools.
Any help will be really appreciated.