Class ToolUse (2.0.0)

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

Stores metadata of the invocation of an action supported by a 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
Required. The tool that should be used. Format: projects/.
display_name str
Output only. The display name of the tool.
action str
Optional. Name of the action to be called during the tool use.
input_action_parameters google.protobuf.struct_pb2.Struct
Optional. A list of input parameters for the action.
output_action_parameters google.protobuf.struct_pb2.Struct
Optional. A list of output parameters generated by the action.
data_store_tool_trace google.cloud.dialogflowcx_v3beta1.types.ToolUse.DataStoreToolTrace
Optional. Data store tool trace. This field is a member of oneof_ ToolTrace.
webhook_tool_trace google.cloud.dialogflowcx_v3beta1.types.ToolUse.WebhookToolTrace
Optional. Webhook tool trace. This field is a member of oneof_ ToolTrace.

Classes

DataStoreToolTrace

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

The tracing information for the data store tool.

WebhookToolTrace

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

The tracing information for the webhook tool.