1.1.0 (latest) 1.0.0

    public sealed class RemoteAgentTool : IMessage<RemoteAgentTool>, IEquatable<RemoteAgentTool>, IDeepCloneable<RemoteAgentTool>, IBufferMessage, IMessage

Reference documentation and code samples for the Gemini Enterprise for Customer Experience v1 API class RemoteAgentTool.

Represents a tool that allows the agent to call another remote agent.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> RemoteAgentTool

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[RemoteAgentTool](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.RemoteAgentTool.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[RemoteAgentTool](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.RemoteAgentTool.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[RemoteAgentTool](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.RemoteAgentTool.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Ces.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.md.txt)

## Assembly

Google.Cloud.Ces.V1.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` |   |