Ask Gemini with your Google account

Send a conversation (with the tools it may call) to a Gemini model on the person's own Google account and get its next message back

Uses the person's connected Google account (connect it with tool:connect-service-google). The conversation is in the chat-completions shape: messages [{ role, content, tool_calls?, tool_call_id? }] and optional tools [{ type: "function", function: { name, description, parameters } }]. Returns the model's reply as the service gives it (choices[0].message).

What it asks for

  • model (Needed, words): The Gemini model to ask, as Google names it
  • messages (Needed, list): The conversation so far
  • tools (Optional, list): Tools the model may call, as functions
  • max_tokens (Optional, number): The longest reply, in tokens

Use it from your AI

Connect the AI you already use to Trillion once. Then ask in your own words; your AI finds this tool by what it does and runs it.

Say to your AI: “Use Trillion to send a conversation (with the tools it may call) to a Gemini model on the person's own Google account and get its next message back”

What your AI calls: run_tool {"tool_id":"tool:ask-google-chat"}