Dialogflow v3 API - Class ToolCall (3.0.0)

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

Reference documentation and code samples for the Dialogflow v3 API class ToolCall.

Represents a call of a specific tool's action with the specified inputs.

Inheritance

object > ToolCall

Namespace

Google.Cloud.Dialogflow.Cx.V3

Assembly

Google.Cloud.Dialogflow.Cx.V3.dll

Constructors

ToolCall()

public ToolCall()

ToolCall(ToolCall)

public ToolCall(ToolCall other)
Parameter
Name Description
other ToolCall

Properties

Action

public string Action { get; set; }

Required. The name of the tool's action associated with this call.

Property Value
Type Description
string

InputParameters

public Struct InputParameters { get; set; }

Optional. The action's input parameters.

Property Value
Type Description
Struct

Tool

public string Tool { get; set; }

Required. The [tool][google.cloud.dialogflow.cx.v3.Tool] associated with this call. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/tools/<ToolID>.

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