Class FunctionCall (1.90.0)

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

A predicted [FunctionCall] returned from the model that contains a string representing the [FunctionDeclaration.name] and a structured JSON object containing the parameters and their values.

Attributes

Name Description
id str
Optional. The unique id of the function call. If populated, the client to execute the function_call and return the response with the matching id.
name str
Required. The name of the function to call. Matches [FunctionDeclaration.name].
args google.protobuf.struct_pb2.Struct
Optional. Required. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details.

Methods

FunctionCall

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

A predicted [FunctionCall] returned from the model that contains a string representing the [FunctionDeclaration.name] and a structured JSON object containing the parameters and their values.