# Class ClientFunction (0.7.0)

0.7.0 (latest) 0.6.0 0.5.0 0.4.0 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` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-ces/latest/google.cloud.ces_v1.types.Schema` Optional. The schema of the function parameters. |
| `response` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-ces/latest/google.cloud.ces_v1.types.Schema` Optional. The schema of the function response. |