Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::ToolCall.
Request for the client or the agent to execute the specified tool.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#args
def args() -> ::Google::Protobuf::Struct- (::Google::Protobuf::Struct) — Optional. The input parameters and values for the tool in JSON object format.
#args=
def args=(value) -> ::Google::Protobuf::Struct- value (::Google::Protobuf::Struct) — Optional. The input parameters and values for the tool in JSON object format.
- (::Google::Protobuf::Struct) — Optional. The input parameters and values for the tool in JSON object format.
#display_name
def display_name() -> ::String- (::String) — Output only. Display name of the tool.
#id
def id() -> ::String- (::String) — Optional. The unique identifier of the tool call. If populated, the client should return the execution result with the matching ID in ToolResponse.
#id=
def id=(value) -> ::String- value (::String) — Optional. The unique identifier of the tool call. If populated, the client should return the execution result with the matching ID in ToolResponse.
- (::String) — Optional. The unique identifier of the tool call. If populated, the client should return the execution result with the matching ID in ToolResponse.
#tool
def tool() -> ::String-
(::String) — Optional. The name of the tool to execute.
Format:
projects/{project}/locations/{location}/apps/{app}/tools/{tool}Note: The following fields are mutually exclusive:
tool,toolset_tool. If a field in that set is populated, all other fields in the set will automatically be cleared.
#tool=
def tool=(value) -> ::String-
value (::String) — Optional. The name of the tool to execute.
Format:
projects/{project}/locations/{location}/apps/{app}/tools/{tool}Note: The following fields are mutually exclusive:
tool,toolset_tool. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::String) — Optional. The name of the tool to execute.
Format:
projects/{project}/locations/{location}/apps/{app}/tools/{tool}Note: The following fields are mutually exclusive:
tool,toolset_tool. If a field in that set is populated, all other fields in the set will automatically be cleared.
#toolset_tool
def toolset_tool() -> ::Google::Cloud::Ces::V1beta::ToolsetTool-
(::Google::Cloud::Ces::V1beta::ToolsetTool) — Optional. The toolset tool to execute.
Note: The following fields are mutually exclusive:
toolset_tool,tool. If a field in that set is populated, all other fields in the set will automatically be cleared.
#toolset_tool=
def toolset_tool=(value) -> ::Google::Cloud::Ces::V1beta::ToolsetTool-
value (::Google::Cloud::Ces::V1beta::ToolsetTool) — Optional. The toolset tool to execute.
Note: The following fields are mutually exclusive:
toolset_tool,tool. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::Ces::V1beta::ToolsetTool) — Optional. The toolset tool to execute.
Note: The following fields are mutually exclusive:
toolset_tool,tool. If a field in that set is populated, all other fields in the set will automatically be cleared.