Gemini Enterprise for Customer Experience V1BETA API - Class Google::Cloud::Ces::V1beta::ToolCall (v0.1.0)

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
Returns

#args=

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

#display_name

def display_name() -> ::String
Returns
  • (::String) — Output only. Display name of the tool.

#id

def id() -> ::String
Returns
  • (::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
Parameter
  • 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.
Returns
  • (::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
Returns
  • (::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
Parameter
  • 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.

Returns
  • (::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
Returns
  • (::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
Parameter
  • 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.

Returns
  • (::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.