Class ClientFunction
Represents a client-side function that the agent can invoke. When the tool is chosen by the agent, control is handed off to the client. The client is responsible for executing the function and returning the result as a ToolResponse to continue the interaction with the agent.
Implements
Inherited Members
Namespace: Google.Apis.CustomerEngagementSuite.v1beta.Data
Assembly: Google.Apis.CustomerEngagementSuite.v1beta.dll
Syntax
public class ClientFunction : IDirectResponseSchema
Properties
Description
Optional. The function description.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Name
Required. The function name.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Parameters
Optional. The schema of the function parameters.
Declaration
[JsonProperty("parameters")]
public virtual Schema Parameters { get; set; }
Property Value
| Type | Description |
|---|---|
| Schema |
Response
Optional. The schema of the function response.
Declaration
[JsonProperty("response")]
public virtual Schema Response { get; set; }
Property Value
| Type | Description |
|---|---|
| Schema |