Show / Hide Table of Contents

Class Tool

A tool represents an action that the CES agent can take to achieve certain goals.

Inheritance
object
Tool
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CustomerEngagementSuite.v1beta.Data
Assembly: Google.Apis.CustomerEngagementSuite.v1beta.dll
Syntax
public class Tool : IDirectResponseSchema

Properties

ClientFunction

Optional. The client function.

Declaration
[JsonProperty("clientFunction")]
public virtual ClientFunction ClientFunction { get; set; }
Property Value
Type Description
ClientFunction

ConnectorTool

Optional. The Integration Connector tool.

Declaration
[JsonProperty("connectorTool")]
public virtual ConnectorTool ConnectorTool { get; set; }
Property Value
Type Description
ConnectorTool

CreateTime

object representation of CreateTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
Type Description
object

CreateTimeDateTimeOffset

DateTimeOffset representation of CreateTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

CreateTimeRaw

Output only. Timestamp when the tool was created.

Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type Description
string

DataStoreTool

Optional. The data store tool.

Declaration
[JsonProperty("dataStoreTool")]
public virtual DataStoreTool DataStoreTool { get; set; }
Property Value
Type Description
DataStoreTool

DisplayName

Output only. The display name of the tool, derived based on the tool's type. For example, display name of a ClientFunction is derived from its name property.

Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { get; set; }
Property Value
Type Description
string

ETag

Etag used to ensure the object hasn't changed during a read-modify-write operation. If the etag is empty, the update will overwrite any concurrent changes.

Declaration
[JsonProperty("etag")]
public virtual string ETag { get; set; }
Property Value
Type Description
string

ExecutionType

Optional. The execution type of the tool.

Declaration
[JsonProperty("executionType")]
public virtual string ExecutionType { get; set; }
Property Value
Type Description
string

FileSearchTool

Optional. The file search tool.

Declaration
[JsonProperty("fileSearchTool")]
public virtual FileSearchTool FileSearchTool { get; set; }
Property Value
Type Description
FileSearchTool

GeneratedSummary

Output only. If the tool is generated by the LLM assistant, this field contains a descriptive summary of the generation.

Declaration
[JsonProperty("generatedSummary")]
public virtual string GeneratedSummary { get; set; }
Property Value
Type Description
string

GoogleSearchTool

Optional. The google search tool.

Declaration
[JsonProperty("googleSearchTool")]
public virtual GoogleSearchTool GoogleSearchTool { get; set; }
Property Value
Type Description
GoogleSearchTool

McpTool

Optional. The MCP tool. An MCP tool cannot be created or updated directly and is managed by the MCP toolset.

Declaration
[JsonProperty("mcpTool")]
public virtual McpTool McpTool { get; set; }
Property Value
Type Description
McpTool

Name

Identifier. The unique identifier of the tool. Format: - projects/{project}/locations/{location}/apps/{app}/tools/{tool} for ## standalone tools. projects/{project}/locations/{location}/apps/{app}/toolsets/{toolset}/tools/{tool} for tools retrieved from a toolset. These tools are dynamic and output-only, they cannot be referenced directly where a tool is expected.

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
string

OpenApiTool

Optional. The open API tool.

Declaration
[JsonProperty("openApiTool")]
public virtual OpenApiTool OpenApiTool { get; set; }
Property Value
Type Description
OpenApiTool

PythonFunction

Optional. The python function tool.

Declaration
[JsonProperty("pythonFunction")]
public virtual PythonFunction PythonFunction { get; set; }
Property Value
Type Description
PythonFunction

SystemTool

Optional. The system tool.

Declaration
[JsonProperty("systemTool")]
public virtual SystemTool SystemTool { get; set; }
Property Value
Type Description
SystemTool

ToolFakeConfig

Optional. Configuration for tool behavior in fake mode.

Declaration
[JsonProperty("toolFakeConfig")]
public virtual ToolFakeConfig ToolFakeConfig { get; set; }
Property Value
Type Description
ToolFakeConfig

UpdateTime

object representation of UpdateTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
Type Description
object

UpdateTimeDateTimeOffset

DateTimeOffset representation of UpdateTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

UpdateTimeRaw

Output only. Timestamp when the tool was last updated.

Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
Type Description
string

WidgetTool

Optional. The widget tool.

Declaration
[JsonProperty("widgetTool")]
public virtual WidgetTool WidgetTool { get; set; }
Property Value
Type Description
WidgetTool

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX