public sealed class RemoteAgentTool : IMessage<RemoteAgentTool>, IEquatable<RemoteAgentTool>, IDeepCloneable<RemoteAgentTool>, IBufferMessage, IMessageReference documentation and code samples for the Gemini Enterprise for Customer Experience v1beta API class RemoteAgentTool.
Represents a tool that allows the agent to call another remote agent.
Implements
IMessageRemoteAgentTool, IEquatableRemoteAgentTool, IDeepCloneableRemoteAgentTool, IBufferMessage, IMessageNamespace
Google.Cloud.Ces.V1BetaAssembly
Google.Cloud.Ces.V1Beta.dll
Constructors
RemoteAgentTool()
public RemoteAgentTool()RemoteAgentTool(RemoteAgentTool)
public RemoteAgentTool(RemoteAgentTool other)| Parameter | |
|---|---|
| Name | Description |
other |
RemoteAgentTool |
Properties
AgentCard
public AgentCard AgentCard { get; set; }Required. The agent card of the remote agent that this tool invokes.
| Property Value | |
|---|---|
| Type | Description |
AgentCard |
|
ApiAuthentication
public ApiAuthentication ApiAuthentication { get; set; }Optional. Authentication configuration for calling the remote agent.
| Property Value | |
|---|---|
| Type | Description |
ApiAuthentication |
|
Description
public string Description { get; set; }Required. The description of the tool.
| Property Value | |
|---|---|
| Type | Description |
string |
|
InputVariableMapping
public MapField<string, string> InputVariableMapping { get; }Optional. Mapping of input variable names of remote agent to GECX variable names.
| Property Value | |
|---|---|
| Type | Description |
MapFieldstringstring |
|
Name
public string Name { get; set; }Required. The name of the tool.
| Property Value | |
|---|---|
| Type | Description |
string |
|
OutputVariableMapping
public MapField<string, string> OutputVariableMapping { get; }Optional. Mapping of output variable names of remote agent to GECX variable names.
| Property Value | |
|---|---|
| Type | Description |
MapFieldstringstring |
|
StatefulAgent
public bool StatefulAgent { get; set; }Optional. When enabled, the interaction between the CXAS app and the remote agent will share the same context. If the remote agent returns a context_id, it will be persisted for the entirety of the session for this remote agent tool.
| Property Value | |
|---|---|
| Type | Description |
bool |
|