Class ToolUse (1.36.0)

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

Stores metadata of the invocation of an action supported by a tool.

Attributes

Name Description
tool str
Required. The tool that should be used. Format: projects/.
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.