Dialogflow CX V3 API - Class Google::Cloud::Dialogflow::CX::V3::ToolCall (v1.11.0)

Reference documentation and code samples for the Dialogflow CX V3 API class Google::Cloud::Dialogflow::CX::V3::ToolCall.

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#action

def action() -> ::String
Returns
  • (::String) — Required. The name of the tool's action associated with this call.

#action=

def action=(value) -> ::String
Parameter
  • value (::String) — Required. The name of the tool's action associated with this call.
Returns
  • (::String) — Required. The name of the tool's action associated with this call.

#input_parameters

def input_parameters() -> ::Google::Protobuf::Struct
Returns

#input_parameters=

def input_parameters=(value) -> ::Google::Protobuf::Struct
Parameter
Returns

#tool

def tool() -> ::String
Returns
  • (::String) — Required. The tool associated with this call. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/tools/<ToolID>.

#tool=

def tool=(value) -> ::String
Parameter
  • value (::String) — Required. The tool associated with this call. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/tools/<ToolID>.
Returns
  • (::String) — Required. The tool associated with this call. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/tools/<ToolID>.