Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1 API class Google::Cloud::Ces::V1::AgentTool.
Represents a tool that allows the agent to call another agent.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#description
def description() -> ::String
Returns
- (::String) — Optional. Description of the tool's purpose.
#description=
def description=(value) -> ::String
Parameter
- value (::String) — Optional. Description of the tool's purpose.
Returns
- (::String) — Optional. Description of the tool's purpose.
#name
def name() -> ::String
Returns
- (::String) — Required. The name of the agent tool.
#name=
def name=(value) -> ::String
Parameter
- value (::String) — Required. The name of the agent tool.
Returns
- (::String) — Required. The name of the agent tool.
#root_agent
def root_agent() -> ::String
Returns
-
(::String) — Optional. The resource name of the root agent that is the entry point of
the tool. Format:
projects/{project}/locations/{location}/agents/{agent}
#root_agent=
def root_agent=(value) -> ::String
Parameter
-
value (::String) — Optional. The resource name of the root agent that is the entry point of
the tool. Format:
projects/{project}/locations/{location}/agents/{agent}
Returns
-
(::String) — Optional. The resource name of the root agent that is the entry point of
the tool. Format:
projects/{project}/locations/{location}/agents/{agent}