public sealed class ExecuteToolResponse : IMessage<ExecuteToolResponse>, IEquatable<ExecuteToolResponse>, IDeepCloneable<ExecuteToolResponse>, IBufferMessage, IMessageReference 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].
Implements
IMessageExecuteToolResponse, IEquatableExecuteToolResponse, IDeepCloneableExecuteToolResponse, IBufferMessage, IMessageNamespace
Google.Cloud.Ces.V1Assembly
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; }| 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 |
|