GoogleInteractionsAgent
Namespace: Vercel.AI.Google
public sealed class GoogleInteractionsAgentAn agent to call through the Interactions API: { agent: name } or { managedAgent: name } upstream.
Inheritance: object
Constructors
Section titled “Constructors”GoogleInteractionsAgent(string)
Section titled “GoogleInteractionsAgent(string)”public GoogleInteractionsAgent(string agent)Creates an agent input for a Gemini agent preset such as deep-research-pro-preview-12-2025.
Parameters
| Name | Type | Description |
|---|---|---|
agent |
string |
Properties
Section titled “Properties”public string Agent { get; }The agent name, sent as agent in the request body.
Value: string
Methods
Section titled “Methods”Managed(string)
Section titled “Managed(string)”public static GoogleInteractionsAgent Managed(string managedAgent)Creates an agent input for a managed agent you created on Google’s side.
Parameters
| Name | Type | Description |
|---|---|---|
managedAgent |
string |
Returns: GoogleInteractionsAgent
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product