Gemini Enterprise for Customer Experience v1 API - Class ExecuteToolResponse (1.0.0-beta01)

public sealed class ExecuteToolResponse : IMessage<ExecuteToolResponse>, IEquatable<ExecuteToolResponse>, IDeepCloneable<ExecuteToolResponse>, IBufferMessage, IMessage

Reference documentation and code samples for the Gemini Enterprise for Customer Experience v1 API class ExecuteToolResponse.

Response message for [ToolService.ExecuteTool][google.cloud.ces.v1.ToolService.ExecuteTool].

Inheritance

object > ExecuteToolResponse

Namespace

Google.Cloud.Ces.V1

Assembly

Google.Cloud.Ces.V1.dll

Constructors

ExecuteToolResponse()

public ExecuteToolResponse()

ExecuteToolResponse(ExecuteToolResponse)

public ExecuteToolResponse(ExecuteToolResponse other)
Parameter
Name Description
other ExecuteToolResponse

Properties

HasTool

public bool HasTool { get; }

Gets whether the "tool" field is set

Property Value
Type Description
bool

Response

public Struct Response { get; set; }

Required. The tool execution result in JSON object format. Use "output" key to specify tool response and "error" key to specify error details (if any). If "output" and "error" keys are not specified, then whole "response" is treated as tool execution result.

Property Value
Type Description
Struct

Tool

public string Tool { get; set; }

The name of the tool that got executed. Format: projects/{project}/locations/{location}/apps/{app}/tools/{tool}

Property Value
Type Description
string

ToolAsToolName

public ToolName ToolAsToolName { get; set; }

ToolName-typed view over the Tool resource name property.

Property Value
Type Description
ToolName

ToolIdentifierCase

public ExecuteToolResponse.ToolIdentifierOneofCase ToolIdentifierCase { get; }
Property Value
Type Description
ExecuteToolResponseToolIdentifierOneofCase

ToolsetTool

public ToolsetTool ToolsetTool { get; set; }

The toolset tool that got executed.

Property Value
Type Description
ToolsetTool