Gemini Enterprise for Customer Experience v1 API - Class ToolCall (1.0.0-beta01)

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

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

Request for the client or the agent to execute the specified tool.

Inheritance

object > ToolCall

Namespace

Google.Cloud.Ces.V1

Assembly

Google.Cloud.Ces.V1.dll

Constructors

ToolCall()

public ToolCall()

ToolCall(ToolCall)

public ToolCall(ToolCall other)
Parameter
Name Description
other ToolCall

Properties

Args

public Struct Args { get; set; }

Optional. The input parameters and values for the tool in JSON object format.

Property Value
Type Description
Struct

DisplayName

public string DisplayName { get; set; }

Output only. Display name of the tool.

Property Value
Type Description
string

HasTool

public bool HasTool { get; }

Gets whether the "tool" field is set

Property Value
Type Description
bool

Id

public string Id { get; set; }

Optional. The unique identifier of the tool call. If populated, the client should return the execution result with the matching ID in [ToolResponse][google.cloud.ces.v1.ToolResponse.id].

Property Value
Type Description
string

Tool

public string Tool { get; set; }

Optional. The name of the tool to execute. Format: projects/{project}/locations/{location}/apps/{app}/tools/{tool}

Property Value
Type Description
string

ToolAsToolName

public ToolName ToolAsToolName { get; set; }

ToolName-typed view over the Tool resource name property.

Property Value
Type Description
ToolName

ToolIdentifierCase

public ToolCall.ToolIdentifierOneofCase ToolIdentifierCase { get; }
Property Value
Type Description
ToolCallToolIdentifierOneofCase

ToolsetTool

public ToolsetTool ToolsetTool { get; set; }

Optional. The toolset tool to execute.

Property Value
Type Description
ToolsetTool