# Class ExecuteToolResponse (0.7.0)

0.7.0 (latest) 0.6.0 0.5.0 0.4.0 0.3.0

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

Response message for
ToolService.ExecuteTool.

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` The name of the tool that got executed. 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` The toolset tool that got executed. This field is a member of `oneof`_ `tool_identifier`. |
| `response` | `google.protobuf.struct_pb2.Struct` The tool execution result in JSON object format. Use "output" key to specify tool response and "error" key to specify error details (if any). If "output" and "error" keys are not specified, then whole "response" is treated as tool execution result. |
| `variables` | `google.protobuf.struct_pb2.Struct` The variable values at the end of the tool execution. |
| `citations` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-ces/latest/google.cloud.ces_v1beta.types.Citations` Citations that provide the source information for the tool's execution. |
| `google_search_suggestions` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-ces/latest/google.cloud.ces_v1beta.types.GoogleSearchSuggestions` The suggestions returned from Google Search as a result of invoking the Google Search Tool during the tool execution. |