Dialogflow v3 API - Class ToolUse (3.0.0)

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

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

Stores metadata of the invocation of an action supported by a tool.

Inheritance

object > ToolUse

Namespace

Google.Cloud.Dialogflow.Cx.V3

Assembly

Google.Cloud.Dialogflow.Cx.V3.dll

Constructors

ToolUse()

public ToolUse()

ToolUse(ToolUse)

public ToolUse(ToolUse other)
Parameter
Name Description
other ToolUse

Properties

Action

public string Action { get; set; }

Optional. Name of the action to be called during the tool use.

Property Value
Type Description
string

DisplayName

public string DisplayName { get; set; }

Output only. The display name of the tool.

Property Value
Type Description
string

InputActionParameters

public Struct InputActionParameters { get; set; }

Optional. A list of input parameters for the action.

Property Value
Type Description
Struct

OutputActionParameters

public Struct OutputActionParameters { get; set; }

Optional. A list of output parameters generated by the action.

Property Value
Type Description
Struct

Tool

public string Tool { get; set; }

Required. The [tool][google.cloud.dialogflow.cx.v3.Tool] that should be used. 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