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
- (::Google::Protobuf::Struct) — Optional. The action's input parameters.
#input_parameters=
def input_parameters=(value) -> ::Google::Protobuf::Struct
Parameter
- value (::Google::Protobuf::Struct) — Optional. The action's input parameters.
Returns
- (::Google::Protobuf::Struct) — Optional. The action's input parameters.
#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>.