# Class ToolCall (0.7.0)

0.7.0 (latest) 0.6.0 0.5.0 0.4.0 0.3.0

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

Request for the client or the agent to execute the specified
tool.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `tool` | `str` Optional. The name of the tool to execute. Format: `projects/{project}/locations/{location}/apps/{app}/tools/{tool}` This field is a member of `oneof`_ `tool_identifier`. |
| `toolset_tool` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-ces/latest/google.cloud.ces_v1beta.types.ToolsetTool` Optional. The toolset tool to execute. This field is a member of `oneof`_ `tool_identifier`. |
| `id` | `str` Optional. The unique identifier of the tool call. If populated, the client should return the execution result with the matching ID in ToolResponse. |
| `display_name` | `str` Output only. Display name of the tool. |
| `args` | `google.protobuf.struct_pb2.Struct` Optional. The input parameters and values for the tool in JSON object format. |