Class ClientFunction (0.3.0)

ClientFunction(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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.

Attributes

Name Description
name str
Required. The function name.
description str
Optional. The function description.
parameters google.cloud.ces_v1beta.types.Schema
Optional. The schema of the function parameters.
response google.cloud.ces_v1beta.types.Schema
Optional. The schema of the function response.