public sealed class ToolUse : IMessage<ToolUse>, IEquatable<ToolUse>, IDeepCloneable<ToolUse>, IBufferMessage, IMessageReference documentation and code samples for the Dialogflow v3 API class ToolUse.
Stores metadata of the invocation of an action supported by a tool.
Namespace
Google.Cloud.Dialogflow.Cx.V3Assembly
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; }| Property Value | |
|---|---|
| Type | Description |
ToolName |
|